Homework 2, Media Player.
Short Description:
Create an object oriented design for a media player.
This assignment is worth 20 points.
Goals
When you finish this homework, you should have:
- Created an object oriented design for a project.
- Used UML to create diagrams for your design.
Formal Description
You have been asked to design a media player. This player should allow the user to :
- Maintain a database of media (songs, movies, books, ...)
- Create, maintain and employ playlists.
You may assume
- you will be using external software to "play" your media.
- you do not need to create a mp3 player, a text reader, ...
- all media will be stored in a file and the user can supply the correct file name.
- A text based interface. The user will type commands like "play playlist", "add x to playlist y", ...
Build your document using this template.
Begin by documenting the specifications for your media player.
- What exactly can it do?
- What interface is needed to support this specification.
- What external software would you need to support your media player.
Format these specifications in a resonable way and place them at the beginning of the document.
Next design the objects that make up your media player. You may not know the C++ to implement this design at this point, don't worry about that.
- Draw a UML diagram for each class showing the members ( properties and behaviors). Please place this UML diagram with the documentation for the class.
- Draw a UML diagram for related classes showing the relationships, do not include the behaviors and properties. These UML diagrams should be at the beginning of the document. There can be multiple diagrams in this section.
- Using the template, document the algorithms for the methods.
- You should provide a design for any ADT's (lists, arrays, ...) you will need as well.
Finally, specify any main algorithm needed by your project.
Required Files
A single word document.
Submission
Submit your document to the D2L Assignment folder Homework 2 by the due date.