Program to keep track of a cd or dvd collection

Assignment Help Programming Languages
Reference no: EM13713794

Question - You have to write a program to keep track of a CD or DVD collection. This can only work exclusively with either CDs or DVDs since some of the data is different.

The data will be stored ina file. The data from the file will be stored ina text file as records.

Each CD/DVD in the collection will be shown as a class, so you will have one class that is the CD/DVD.

- The CD class will be limited to 5 songs on that CD. So the class will need to keep an array of 5 strings for the song titles. It should also maintain the length of each song and the total length of the CD. the class will also have the artist name.

- The DVD class will have data members for the title of the movie, the length of the movie, the year of the movie and the names of two of the main actors in the movie.

- There will be a class that maintains the list of CD/DVDs. This list can be limited to just 5 CD/DVDs. The list provides methods to add a CD/DVD, remove a CD/DVD, and update a CD/DVD.

The program should add a menu for the user to be able to add, update, delete and display the information in a CD/DVD. Illustrate the output of each stage as a list.

Reference no: EM13713794

Questions Cloud

What do these two indexes represent : What do these two indexes represent - what are the limits for each one of these indexes?
The reasons that back titration is preferred to direct : The discussion section states that one of the reasons that back titration is preferred to direct titration is becuase of the limited solubility of carbonates in water. Why does this make direct titration difficult and why does back titration tend ..
Write a program to perform stack operations : Write a program to perform stack operations - pus, pop, display.
What is the best way to honor a patient autonomy : What's the best way to honor a patient's autonomy in a nursing home and what (or how) will you decides. How are differences of opinion handled in a group determine the best way to preserve autonomy.
Program to keep track of a cd or dvd collection : Write a program to keep track of a CD or DVD collection. This can only work exclusively with either CDs or DVDs since some of the data is different.
Explain the acid to be tritrated has low solubility in water : Suggest experimental modifications you could make if the acid to be tritrated has low solubility in water.
Define how many gaseous molecules does the flask contain : An open flask sitting in a lab fridge looks empty, but we know that actually it is filled with a mixture of gases called air. If the flask volume is 4.00 L, and the air is at standard temperature and pressure, how many gaseous molecules does the f..
Calculate the new midpoint : Assume a midpoint of $32,000 per year and a 40% range spread. The individual is currently being paid at an 83% compa-ratio. Calculate the new midpoint, minimum, and maximum as of January 1, 2015.
Write balanced chemical equations for the reactions : Question- Using the activity series, write balanced chemical equations for the following reactions. If not reaction occurs, simply write NR.

Reviews

Write a Review

Programming Languages Questions & Answers

  Op-codes-add microcode to overlapping address ranges

Bmov a,b,n. This Block Move instruction moves n bytes of data from location a in memory to location b. Deal correctly with case of overlapping address ranges.

  Write function concatenation of two strings as its input

Assume f is function which returns result of reversing string of symbols given as its input, and g is function which returns concatenation of two strings given as its input.

  Program to display only unique values which user entered

Program to display only the unique values which the user entered. Give for the "worst case" in which all 20 numbers are different. use smallest possible array to solve this problem.

  Confi gure the repository and define the repository

Configure the repository and define the repository usernames and passwords - Install the subversion package.

  Which of the following is not included in a pseudocode

Which of the following is not included in a pseudocode program?

  Write a method named maxelement

Write a method named maxElement, which returns the largest value in an array that is passed as an argument. The method should use recursion to find the largest element. Demonstrate the method in a program.

  In this assignment you will analyze supply chains for

in this assignment you will analyze supply chains for various products to determine the impacts of the designs of the

  Evaluates and prints the value of the polynomial

Write a program that evaluates and prints the value of the polynomial ax2 + bx + c, given user inputs for a, b, c, and x using integers and floats.

  Produce a project plan

Produce a project plan and an interim description of the project development

  Recognize all the potential security threats on a personal

computer security is not an issue for organizations alone. anyone whose personal computer is connected to a network or

  Develop two single dimension arrays-floating-point numbers

Develop two single dimension arrays which contain 10 floating-point numbers in each array. Develop third single dimension array to hold sum.

  Prompt user to enter two integer and read them from keyboard

Create a loop, and inside of it replace the larger integer with the difference between the larger integer and the smaller integer (if the integers are equal you may choose either one as the "larger")

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