Computer Science Homework Solutions
Problem
#192347

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

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 pseudocode for each of the classes.
• Draw a GUI that will create the objects and provide access to each object’s processing
methods.
Here is the example
Class Cube
Side As Real
Volume As Real
Subprogram SetSide(NewSide)
Set Side = NewSide
End Subprogram
Subprogram ComputeVolume()
Set Volume = Side ^ 3
End Subprogram
Function GetVolume() As Real
Set GetVolume = Volume
End Function
Function GetSide() As Real
Set GetSide = Side
End Function
End Class
Class SquareBox As Cube
Height As Real
Subprogram SetHeight(NewHeight)
Set Height = NewHeight
End Subprogram
Function GetHeight() As Real
Set GetHeight = Height
End Function
Subprogram ComputeVolume()
Set Volume = Side ^ 2 * Height
End Subprogram
End Class


Solution Summary

An object-oriented design for a system that keeps tracks of your CD and DVD
collection is generated.

Solution
What is this?
By OTA - Overall OTA Rating
Purchase Cost Now
$2.19 CAD (was ~$23.94)
Included in Download
  • Plain text response
  • Attached file(s):
    • CD_DVD_Collection_2.doc
$2.19 Instant Download
Add to Cart
Why you can trust BrainMass.com
  • Your Information is Secure
  • Best Online Academic Help Service
  • Students find real academic Success
Related Solutions
Browse