Homework 8, A Class to Holds Songs.

Short Description:

Design a class to hold songs in a music database.

This assignment is worth 5 points.

Goals

When you finish this homework, you should have:

Formal Description

In the music database project we will need to store song information. The purpose of this assignment is to design that class that will hold songs.

A song consist of a title, a song id, an artist id and the number of up votes and down votes the song has received.

The database will need to load songs from a file on startup. The user will be able to query the data base to perform actions like:

Your job for this assignment is to design the song class (SongT) not the entire project. Do not worry about array operations, just the song class.

Please note, your song class should not perform any I/O. You will write auxiliary functions to perform these tasks.

You should do the following:

  1. Perform a basic analysis of the problem
  2. Based on your analysis use software such as umletino to produce an UML design for your class.
  3. Document your work using the design template.
  4. Design a set of test routines for your SongT

Required Files

A single word document containing your design.

Submission

Submit the word document to the d2l folder Homework 8 by the due date.