Question 1: Sequence Diagram
Define sequence diagram in UML. Draw sequence diagram for UCs in Question 1 and Question 2 of Assignment 1.
Question 2: Communication Diagram and Operations Contract
Describe the basic differences of communication diagram with sequence diagram. Using use case Start Line run, draw communication diagrams for operations getRunDetails and Write Operations contract for LineRun.start()
Question 3: Class diagram
Create a design class diagram from the seven interaction diagrams created in Question 1 and 2. Remember to show generalisation and inheritance classes. Only show class diagram features that can be derived from the objects shown in your diagrams.
Question 4: Discuss Grasp Patterns
Discuss the following Grasp patterns that have been used to construct the interaction diagrams in your solution -
Expert
Creator
Low Coupling
High Cohesion
Controller
Discuss one good application of the pattern from the interaction diagrams under a heading for each
pattern. Submit your discussion with the pattern heading, followed by your 3 - 5 lines of discussion.
Online submission via Turnitin is required for this assignment.
Rationale
This assignment is assesses your object modelling concept and understanding of the design techniques and processes contained in this subject. It has been designed to ensure that you are engaging with the subject content on a regular basis.
More specifically it seeks to assess your ability to:
create class diagrams and dynamic models (sequence, collaboration, state and activity diagrams) with UML notation
compare the syntax, semantics and pragmatics of UML.
design the system design with different design patterns; and
perform modelling of various aspects of systems of a quality that would make it useful in a system development project.