Explore BrainMass

Explore BrainMass

    Object Oriented Design of a CD/DVD system

    Not what you're looking for? Search our solutions OR ask your own Custom question.

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    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

    © BrainMass Inc. brainmass.com March 4, 2021, 7:25 pm ad1c9bdddf
    https://brainmass.com/computer-science/pseudocode/object-oriented-design-of-a-cd-dvd-system-99889

    Attachments

    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 ...

    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

    $2.49

    ADVERTISEMENT