Question: If you would need to insert another class or change an existing class, then specify this. Create a simple class diagram for the following classes.

If you would need to insert another class or change an existing class, then
specify this.
Create a simple class diagram for the following classes. Add superclasses as
necessary, and feel free to change the names of the following classes. Add
necessary attributes.
a) Part of a system for managing musical instruments. This one will
mostly be a pure class hierarchy.
Classes include: Drum, Violin, Piano, Organ, Trumpet, Trombone,
Cello, Electric Guitar, Acoustic Guitar; attributes include isElectronic,
highestDote, lowestNote, typicalWeight. Think of some other attributes
that would distinguish the classes.
b) A system for tracking recipes. This one will ask you to add some
basic associations.
Recipe (a list of ingredients and a list of instruction steps, plus a
description)
FoodType
Ingredient (a food type and an amount)
Instruction step (text, plus a list of ingredients to add in this step)
 If you would need to insert another class or change an

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!