CPlusOOP
SiteMap
OO Analysis
Problem Analysis
Problem Analysis
«Prev
Next»
OO-Design
Problem Analysis
Review PLC
Purpose Scope Analysis
Problem Domain Classes
Identify Classes Objects
Class Diagram Notation
Diagram Associations
Basic Object Modeling
Multiplicity OO Modeling
Define Constraints
Modeling Aggregation
Modeling Composition
Modeling Generalization
Advanced Associations
Qualifiers Reduce Multiplicity
Many to ManyAssociations
Problem Analysis Conclusion
Sequence Diagrams
Sequence Diagram Notation
Applying Sequence Diagram
Applying Sequence Diagram-Quiz
Modeling Sequences Scenarios
Mapping Events Objects
Interfaces, events ,operations
Discover Attribute Information
Sequence Diagram - Conclusion
Interaction Diagram - Quiz
Model Reconciliation
Reconcile Sequence Diagrams
Test Interfaces
Model Refinement
Refactoring Patterns
Encapsulation Principles
Cohesion Coupling Defined
Attribute Responsibility Allocation
Class Description Operations
Refining Object Conclusion
UML Modeling Composition - Exercise
Course project: Modeling Aggregation and Composition
Objective:
Model aggregation and composition based on excerpts from the course project problem statement.
Exercise scoring:
This exercise is worth 10 points.
Background/overview:
This is the third exercise in the course project.
Download files:
No downloadable files are required to complete this exercise.
Instructions
Given the course project problem statement excerpts below, diagram the relationships using aggregation or composition:
Identify the classes involved (leave the event planner out for now).
Identify the associations between the classes.
Draw the associations and apply the proper icon to represent either aggregation or composition.
Assign multiplicity to each end of each association.
Add constraints where needed to account for all the rules documented in the problem statement.
Problem statement
Excerpt 1
The auditorium is made up of a number of seats arranged in a floor plan. There is only one floor plan for the auditorium. All possible seat locations are accounted for on this plan.
Excerpt 2
Pricing is done using a pricing plan. A pricing plan consists of a set of price tiers. Each price tier defines prices for one or more price types:, adult, senior, student, and child. The event planner may also add one or more discounts to the pricing plan to try to improve sales.
Submitting your exercise
To submit the exercise, follow the steps below:
Step 1
Step 2
In the text area below, type a) Course project, part 3
In addition, you can include any questions or comments you have about the exercise. When you're ready to submit the exercise, click the
Submit
button.
Submit