Identify Classes Objects
Purpose Scope Analysis
Problem Domain Classes
Class Diagram Notation
Modeling Sequences Scenarios
Sequence Diagram - Conclusion
Interaction Diagram - Quiz
Applying Sequence Diagram-Quiz
Reconcile Sequence Diagrams
Class Diagram Not Enough
Object Modeling Constraints (Identify) - Exercise
Basic Object Modeling Constraints using Class Diagram
Course project: modeling basic associations
Draw class diagrams based on excerpts from the course project problem statement.
This exercise is worth a total of 10 points.
This is the second exercise in the course project.
Given the two excerpts below from the course project problem statement, create a class diagram for each of the two excerpts. Be sure to:
Identify the classes involved.
Identify the associations between the classes.
Draw and name the associations.
Assign multiplicity to each end of each association.
Add constraints where needed to account for all the rules documented in the problem statement.
It is valid for there to be more than one association between the same pair of classes.
Use a verb or verb phrase. Try to use the active form whenever possible.
Remember to watch for how the time frame can effect your multiplicity choices. Sometimes a combination of multiplicity and constraints is required to clarify the rules.
The event floor plan defines the layout for all the shows for the same event. All the show seating charts for the same event must refer to the same event floor plan.
(Focus on the event floor plan and the show seating chart for now. In later lessons, we will add the events and shows.)
Customers may hold seats while they try to figure out which ones they want to purchase. This prevents more than one customer from attempting to purchase a seat at the same time. Customers may also return the seats and get their money back.
Submitting your exercise
In the text area below, type Course project, part 2
In addition, you can include any questions or comments you have about the exercise.
When you are ready to submit the exercise, click the