Write a program to keep track of a cd or dvd collection.

Assignment Help Database Management System
Reference no: EM13163616

 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 represented 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 provide a menu for the user to be able to add, delete, update and display the information in a CD/DVD.

 

 

Reference no: EM13163616

Questions Cloud

You are a bank manager and you are helping : You are a bank manager and you are helping a new bank teller understand the kind of accounts the bank offers. If a customer comes in asking to open a new savings account, the teller needs to ask what kind of account-passbook savings or certificate..
Achieve these two important features : Java TM is a portable language, and being an object-oriented programming language, it also encourages component reusability. How does Java TM achieve these two important features
Define a class called plot that has private members of lengt : Define a class called Plot that has private members of length and width. Include a constructor and a public function that calculates the area and the length of the boundary of the field.
With replacement order matters : Given an alphabet of size N=9. Write a c++ program that compares the number of possible sequences of the length L that can be generated inder the following assumptions: With replacement order matters, without replacement order matters, and without..
Write a 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. The data will be stored ina file. The data from the file will be stored ina text file as records. Eac..
Consider a 2-dimensional mesh : Consider a 2-dimensional mesh with n^2 nodes. The shortest distance that a message travels in the mesh is 1 link; the longest distance is 2(n-1) link
Convert meters to feet and inches. : 1. Write a program that can be used to convert meters to feet and inches. Allow the user to enter a metric meter value in a method .
Consider a queue data structure : Consider a queue data structure, where the two operations of interest are enqueue (at the back of the queue) and dequeue (from the front of the queue). A queue is thus a FIFO (first in-first out) structure. Suppose we implement a queue by using tw..
Find all irreducible polynomials : Find all irreducible polynomials

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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