CPlusOOP
SiteMap
OO Analysis
Problem Analysis
Sequence Diagram
«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
Discovering Attributes and extending the Sequence Diagram - Exercise
Discovering Attributes - Exercise
Course project: extend a sequence diagram
Objective:
Extend a sequence diagram to add data sources.
Exercise scoring
This exercise is worth 10 points.
Background/overview
This is the eighth exercise in the course project.
Download files
Click the link below to download the file you will need to complete this exercise.
Module 3 Lesson 7 - Download
Instructions
View the Image below to review the initial sequence diagram for this exercise.
Initial Sequence Diagram for Exercise consisting of 1) Customer, 2) Purchase, 3) ShowSeat, 4) Ticket, and 5) PriceTier.
Task 1:
Find a new parameter and its source.
Problem: The ticket has to print the location of the seat.
Goal: Find out which object owns the seat location and get it. Update the sequence diagram accordingly.
Task 2:
Find a new return value and its source.
Problem: The purchase requires a discount value.
Goal: Find out which object owns the discount value and get it.
(To simplify the solution, assume that the total number of tickets and their value have been computed by the Purchase object and are ready to be used as parameter values when the discount is needed.)
Update the sequence diagram accordingly.
Submitting your exercise
To submit the exercise, follow the steps below:
Step 1
In the Subject field, type OOA 2- Course project, part 2- Module 3
Presnet this specific text in the Subject field to match the exercise to the person who created it.
Include your answers to the questions above in the Text field of your email.
Attach your file. Make sure your file is named discovering-attributes-exercise.gif
Each email program has a slightly different way of attaching files. Please check your program's documentation for full instructions.
Step 2
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
Submit
button.
Submit