Related Questions:
1. (a) (i) UML provides notation and diagrams (e.g. Use Case diagram) to support a User View/Perspective of a software system. Identify two other Views/Perspectives of a software system that UML provides for. [4 Marks] (ii) For each of the two additional views identified in (i) above, outline the main goal of the view and identify one diagram that could be developed to support its goal. [6 Marks] (b) A software system can be accessed by / interact with many users/systems. Illustrate, using example diagrams of your choice, the notation used to model different types of users and how they interact with the system. [7 Marks] (c) Discuss what is meant by Generalisation and Specialisation in terms of modelling user interaction with the system. [6 Marks] (d) Discuss what is meant by a Use Case Extended Description. In your answer, provide an example of your choice that illustrates the modelling of a normal flow and alternate flows. [10 Marks]
Sure, I'll break down the information you requested in a structured manner.
Question: Identify two other Views/Perspectives of a software system that UML provides for.
Question: For each of the two additional views, outline the main goal of the view and identify one diagram that could be developed to support its goal.
Structural View:
Behavioral View:
Question: Illustrate, using example diagrams of your choice, the notation used to model different types of users and how they interact with the system.
Example: Use Case Diagram
Example Diagram:
+----------------------+
| System |
| |
| (Use Case A) <----> |<----+ (Actor 1)
| |
| (Use Case B) <----> |<----+ (Actor 2)
|______________________|
Question: Discuss what is meant by Generalisation and Specialisation in terms of modelling user interaction with the system.
Generalisation: This refers to the abstraction of common features from multiple use cases or actors to create a generalized use case or actor. It allows the model to show shared functionality between elements, promoting reusability and simplification.
Specialisation: This is the process where specific use cases or actors are derived from a more general element. It allows representing specialized behaviors or functionalities that extend their parent elements.
Question: Discuss what is meant by a Use Case Extended Description. Provide an example illustrating the modelling of a normal flow and alternate flows.
Example: Use Case "Withdraw Money"
Normal Flow:
Alternate Flows:
Invalid PIN: 1a. User enters wrong PIN. 2a. System prompts error and asks to re-enter PIN. - (Repeat up to 3 times, then capture the card if failed).
Insufficient Funds:
This example delves into both normal and alternate scenarios, portraying the thoroughness of a use case extended description.
If you need more illustrations or deeper explanations, feel free to ask!
Answered By