Write a complete interactive menu-driven program

Assignment Help Basic Computer Science
Reference no: EM13337514

Write a complete interactive, menu-driven program using the binary file built previously and your primary and secondary indexes in memory. It is your choice whether your console-based enu is number-based or letter-based, but your program MUST be able to handle all of the standard ASCII characters. The fields in the data file are:

title (char[35] - primary index)
artist (char[25])
type (char[12] - secondary index)
year (int)
price (int)
count (int)

In most places in your program, strings can be used, however, when reading/writing records from the binary file, char arrays MUST be used.
Items that will cost you all credit for this assignment (and if it isn't explicitly listed, ask to avoid problems):

1) NO BINARY FILE
2) NO PRIMARY INDEX
3) NO SECONDARY INDEX
4) Storing all data in memory and NOT SAVING ANY OF IT (or saving it in ONE sequential file)
5) Of the 7 files required, all are lacking a comment with your name in it. One file may lack your name unless it is the one selected for printing, then you will have a problem (like 50% point loss or more)

Reference no: EM13337514

Questions Cloud

What is the lorentz factor for the comet : An astronomer observes a comet and measures the wavelength of the H? line to be at 486.2 nm. In the lab, the line is found to be at 486.1 nm. What is the Lorentz factor for the comet
Discuss the risks of having a single root user : Discuss the risks of having a single root user and how more limited management abilities can be given to others users on Linux/UNIX systems. Include a sample generic policy for a limited user from which a configuration could be written. (500 words..
The wearing of blue jeans becomes less fashionable among : Given the products below and the events that affect them, indicate what happens to demand or supply, and the equilibrium price and quantity. Identify the determinant of demand or supply that causes the shift.
Explain the degradation products that would be formed : Discuss the conditions under which DNA will be degraded to their constituent components by heating. Write the names of the degradation products that would be formed
Write a complete interactive menu-driven program : Write a complete interactive, menu-driven program using the binary file built previously and your primary and secondary indexes in memory.
Define why dna double stands separate by heating : explain why DNA double stands separate by heating without degradation of the stands to their component molecules.
What criterion could you use to determine whether a small : What explains that marginal cost increases as production of a product increases? inreasing cost law decreasing average cost property diminishing marginal product property law of increasing marginals thats just a sample this is not the test jeeff
How long time t should quarterback wait before throwing ball : If the reciever that he is trying to throw the ball to runs at 8 m/s, how long a time t should the quarterback wait before throwing the ball to complete the pass at his maximum rang
Calculate peak-rms and average currents through resistor : A sine wave with amplitude 20V is connected to a 10K resistor. Calculate the peak, rms, and average currents through the resistor. What power rating should the resistor have

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Consider the procedure described in adaptive playout delay

Consider the procedure described in "Adaptive Playout Delay" for estimating average delay di. Let r1 - t1 be the most recent sample delay, let r2 - t2 be the next most recent sample delay.

  Write a one-page paper describing these new activities

Propose three to five additional activities you think should be added to a Gantt chart to help you estimate resources and durations. Write a one-page paper describing these new activities.

  Explain the uses and advantages of the chips

Explain the uses and advantages of the chips. Mention likely privacy objections and refute them - making a presentation to a large retail chain to convince them to buy the chips to install in their products.

  Write single statement print message first is followed first

Write a single statement that will print the message "first is " followed by the value of first, and then a space, followed by "second = ", followed by the value of second.

  Categorize each of them into the area

During the Sarbanes-Oxley audit of a financial services company, you note the following issues. Categorize each of them into the area to which they belong: IT change management, logical access to data, and IT operations.

  Explain format for storing-laying out objects on page

Describe the format for storing, laying out, and managing the objects on a page. Explain the advantages to the use of this format over other formats, such as that used by HTML.

  Discuss how determining milestones might add additional

Remember that milestones normally have no duration, so you must have tasks that will lead to completing the milestone.

  How many memory banks are needed

How many memory banks are needed so that a stream of loads can, on average, require only one cycle per load?

  Examine graph which compares segment sequence numbers

Why does Segment Sequence Number remain unchanged (indicated by the horizontal line in graphs) with every drop in congestion window?

  Design a scheme to prevent messages from being modified

Random J. Protocol-Designer has been told to design a scheme to prevent messages from being modified by an intruder.

  Explaining laws dealing with computer crimes

Write and explain three recent laws dealing with computer crimes.

  Describing online services provided by selected companies

Identify and briefly describe the online services provided by the selected companies (e.g. online catalogue search, online information search.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd