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

  Website for a labview program

A Labview program that measures a lot of different things such as voltage, current , temperature , watt, etc - you need to have a website that displays these data for an easier access.

  Executes the program to find the representation

Executes the program to find the representation a 19,2014 md 50000 for all of the p values that the function allows. Show the results in a table.

  Make the class employee to initializes three data members

Make the class called Employee which comprises three pieces of information as data membersa first name (type string), last name (type string) and monthly salary (type int).

  Explaining risk in fixed-price contracts

It is recognized that fixed-price contracts offer obvious advantages to buyer organizations because they transfer almost all of the risk to the contractor.

  Write program to calculate how much person earns

Write a program that calculates how much a person earns in a month if the salary is one penny the first day, two pennies the second day.

  Write down pseudo code to find sentinel value

The total of both types have to be printed at end. Suppose 50 as sentinel value. Write down Pseudo Code to perform this function.

  Program to overload addition operator

The class should also provide the following overloaded operator capabilities: Overload the addition operator (+) to add two Polynomials.

  Build your own maze

Build your own maze and make it so easy so i can understand it. try to use for while statement. it is an easy task so please do not make it complicated and follow the instructions that im going to post. another thing do not use the maze that in th..

  Falling letters game

Generic queue in the first project and generic list in the second project - In the second project, the player clicks the mouse on any falling letter to remove that letter from the window.

  Write statement to call calculate interest method

Write the statement(s) necessary to call the calculate interest method with an account balance of $2300.00 and an interest rate of 5%.

  Write a report of about 900 words that- identifies at least

write a report of about 900 words that- identifies at least 3 users of hr services internal to your organisation and

  Write unix shell script to check file in current directory

Write Unix shell script (one program) called Project1_lastname (your lastname). This script will do the following tasks: Using "if" statement checks for a file called "student.txt" in current directory.

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