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

  16-bit 1''s complement numbe

Convert the following numbers to 16-bit 1's complement numbers (display results in hexadecimal)

  Describe how all the processess could be completed

a system that is in an unsafe state is not necessarily deadlocked. explain why this is true. give an example of such a system ( in an unsafe state) and describe how all the processess could be completed without causing deadlock to ocur

  Solve the following problems using linearity of expectation.

Solve the following problems using linearity of expectation. . (For each problem you will want to think about what the appropriate random variables should be and define them explicitly.)

  Explaining quasi-legal activities over internet

Online gambling and buying of pharmaceutical drugs over the Internet are quasi-legal activities which can only take place as Internet allows the parties offering gambling.

  What would programs have to do for each type of hardware

If an applications' requests for data did not go through the OS, what would programs have to do for each type of hardware?

  Transform g to an equivalent g'' that has no

Let G be a context free grammar with productions S->ABAC , A->aA|? , B->bB|? , C->d Transform G to an equivalent G' that has no ? productions and no unit productions

  Swot analysis results of the new ict service

Compare the SWOT Analysis results of the current ICT service with the SWOT Analysis results of the new ICT service.

  The contenders are tortoise and hare

The contenders are Tortoise and Hare, and they begin race as investors at "tile 1" of 70 tiles The finish line is at 70 the tile. With each tick of the clock

  Write a program to find the nth busalem number

write a program to find the nth BuSalem number. You must use functions.

  Determine features of ram to include in web server

Determine the features and capacities (RAM, disk storage, processor speed) that Amy should include in the Web server computer that she will need for her site.

  Create a console-based program and a gui application

create a console-based program and a GUI application, which justifies the following conditions: The Main() method prompts the user for an integer value and, in turn, passes the value to a method that squares the number and a method that cubes the ..

  Explaining paper on reconnaissance planning

Write a paper on reconnaissance planning. The paper is explaining the network and reconnaissance plan.

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