Purchase Solution

Object Oriented Design of a CD/DVD system

Not what you're looking for?

Ask Custom Question

Generate an object-oriented design for a system that keeps tracks of your CD and DVD collection.

? Identify each of the classes, associated data, and operations for the classes.

? Generate the pseudo code for each of the classes of objects

Purchase this Solution

Solution Summary

Generates an object-oriented design for a system that keeps tracks of your CD and DVD collection.

? Identifies each of the classes, associated data, and operations for the classes.

? Generates the pseudo code for each of the classes of objects

Solution Preview

First, I have thought of a Media class as an ancestor class for CD and DVD classes. Since, both of them share some data and functions as follows:
1. Media
Data
? totalItems
? Name
? Serial
Operations
? AddItem
? getName
? getSerial
? getTotalItems
? setName
? setSerial
? setTotalItems

CD has additional features and slightly different is DVD
2. CD is a Media
Data
? Album
? Artist
? Volume
Operations
? getAlbum
? getArtist
? getVolume
? setAlbum
? setArtist
? setVolume

3. DVD is a Media
Data
? Movie
? Artist
? Volume
Operations
? getMovie
? getArtist
? getVolume
? setMovie
? setArtist
? setVolume

Notice the differences in Album and Movie. You will ...

Purchase this Solution


Free BrainMass Quizzes
Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

C# variables and classes

This quiz contains questions about C# classes and variables.

C++ Operators

This quiz tests a student's knowledge about C++ operators.