Keep track of a cd or dvd collection

Assignment Help Basic Computer Science
Reference no: EM132003038

This is my course project, the internet at my house went out due to storms and I need some help getting this done.

CD/DVD Collection

This program will allow the user 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-your choice. Each CD/DVD in the collection will be represented as a class, so you will have one class that is a single CD/DVD.

The CD class will use a vector to keep track of the titles of the songs on the CD; this will allow each CD to have a different number of songs. It should also maintain the length of each song thus another vector. The class will also keep track of the total length of the CD. The class will also have a data member for the artist name and the name of the CD.

The DVD class will have data members for the title of the movie, the length of the movie, and the year the movie was released. The class will have a vector which is used to store the name of the actors and actresses in the movie. Another vector will be used to maintain the character names that the actor/actress played in the movie. These two vectors must work in parallel, meaning the first actor/actress in the list must correspond to the first character in the other vector.

The program will maintain a list of CD/DVDs. This list will be a vector of that class type (CD or DVD). The program must provide methods (functions) to add a CD/DVD, remove a CD/DVD and update a CD/DVD. There should also be a function that displays the entire list of CDs/DVDs. The output must be a table format, with heading.

For the DVDs:

  • Movie Title
  • Length of Movie
  • Year Released
  • Actors/Actresses
  • Characters

Note: the movie title, length of movie and year released should only appear once while the actors/actresses and characters will have several lines. So the other columns must be displayed with blanks.

For the CDs:

  • Artist
  • CD Name
  • Length of CD
  • Song Title
  • Song Length

Note: the artist name, CD name and length of CD should only appear once while the song title and length will have several lines. So the other columns must be displayed with blanks.

Reference no: EM132003038

Questions Cloud

Describe the program development cycle : Describe the program development cycle and explain each step in the process. In your opinion, are all steps in the program development cycle equally important
Why was t hall singled out for scrutiny : Why was T. Hall singled out for scrutiny? How did T. Hall's neighbors respond to the gossip that this person's sex was unclear?
Questions to students and takes answer : Write program that asks questions to students and takes answer, like a live training application.
Allocation and dynamic memory allocation : What are the differences between static memory allocation and dynamic memory allocation?
Keep track of a cd or dvd collection : This program will allow the user to keep track of a CD or DVD collection. This can only work exclusively with either CDs or DVDs since some of the data
Cpmare practices of flower divination of and prescriptions : Compare and contrast the purpose and practices of flower divination of and prescriptions for achieving cukam (see Daniel, Ch. 5) with the purpose.
Currency format for all money outputs : Note: Use the Currency Format for all money outputs and assume that the tax rate is 8.75%.
Explain three ways that these riots supported the myth : This action set off a chain reaction that led to draft riots, which demonstrated Northern racism and casualties between blacks and whites.
Write program that generates an array filled : Write program that generates an array filled up with random positive integer number ranging from 15 to 20, and display it on the screen.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Proponents of government-subsidized managed care

The proponents of government-subsidized managed care in the U.S. want a plan that would be a single-payer universal health system

  Operating in different market and industry structures

Analyze the economic implications of operating in different market and industry structures.

  Derive laplace’s equation for polar coordinates

Find the conjugate harmonic function associated with u(r,θ) = ln r. Sketch some constant u and v lines.

  Takes non-negative integer

Then implement function drawLevy() so it takes non-negative integer n as input and draws the levy curve Ln using instructions obtained from function levy(). Don't forget doc strings and comments.

  Knowledge about the programming language c

The above segment descriptor describes a memory segment in terms of its start address, its size and whether it is ALLOCATED or FREE. This descriptor is part of a list (contains a pointer to next segment descriptor). Initially, there is only one se..

  Option-economic analysis of a firm

For this project, conduct an economic analysis of the firm you selected. Include the following:

  Write a program that shows what linux does in this case

If both a realtime and a standard signal are pending for a process, SUSv3 leaves it unspecified which is delivered first. Write a program that shows what Linux does in this case.

  Calculation of opportunity cost

Show the calculation of opportunity cost in your answer, and show how much revenue your solution brings. Assume that everyone will work a shift.

  Example organizational buying process

Exhibit 3.1 describes an example organizational buying process. In your own words, describe the selling process for each step. In any given company, what persons or departments may be involved in the purchasing process?

  What are the time and space efficiencies of your algorithm

Find the maximum total sale price that can be obtained by cutting a rod of n units long into integer-length pieces if the sale price of a piece i units long is pi for i = 1, 2, . . . , n. What are the time and space efficiencies of your algorithm?

  How you will ensure the security of your valuable data

This laptop is always with you at home, at school, and at work. Describe how you will ensure the security of your valuable data.

  Create two child classes

Then create two child classes, one "digitalWatch," one "analogWatch," that have different methods of setting the time.

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