HOME | Overview | Syllabus | Instructor | Lectures | Laboratories | Readings | Assignments | Resources | Other Links
CS 1713 Major Assignment 4:
CD Manager [Due December 8, 1999]

This is one of the major individual assignments that you are required to complete in this class. You MUST design and code this project on your own. You can ask for debugging help, particularly from the tutors, TA or instructor, but this project is to be your own work.

RealAudiophonic Inc. produces software to manage the playing of music CDs on computers. You have been hired to produce two of the classes needed for the RealAudiophonic CD Manager.

Part 1:

Design a class that can be used to represent a song on a CD. The class should contain the following information about the song.

The class should have:

Write a client program that tests all of the methods for your class. You must print out and hand in the source for this part of the assignment separately from Part II to receive credit. This part is worth 10 points.

Part 2:

Design a class that can be used to represent a CD. Your class should take a filename and read the information from a file in the following format:

An example appears below.
10
Take It Easy
Eagles
3
29
Witchy Woman
Eagles
4
10
Lyin Eyes
Eagles
6
21
Already Gone
Eagles
4
13
Desperado
Eagles
3
33
One of These Nights
Eagles
4
51
Tequila Sunrise
Eagles
2
52
Take It to the Limit
Eagles
4
48
Peaceful, Easy Feeling
Eagles
4
16
Best of my Love
Eagles
4
35

The CD class uses the song class developed above and should contain methods to accomplish the following:

Design a client program that will test the methods in your class. Print out the source and hand it in separately from Part I to receive credit. This part is worth 20 points.


Last revision: November 23, 1999 at noon