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

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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