UML/Information System Modelling Flashcards
What basic notations are present in a use case diagram? (5)
A title
An actor
Use case
Association line
(opt.) Automation bounday
What is a use case diagram? (5 key facts)
It is one of the 12 UML models
Shows the behaviour of a system
Easy for end-users to interpret
Shows actors (end-users) and their association with use cases (functions of the system)
Shows the functional requirements of the system
What is not modelled in a use case diagram? (2 key things to remember)
A use case diagram does not model the time order of use cases, and does not show functional requirements
Two techniques for identifying use cases are… (2)
- The user goal technique - begins by identifying end users called actors and asking what specific goals they have when interacting with the system
- The event decomposition technique - begins by identifying events that occur requiring the system to respond
What are the three types of events shown in use cases? (3)
External, temporal, and state events
What is a domain class diagram?
A domain class diagram is a UML diagram developed to model object-oriented information systems, it models relationships between classes defined by associations. These classes are used to develop classes within an object-oriented system.
UML Notation for Multiplicity:
- 0..1
- 1..*
- *
- 0..1 = Zero or One (optional)
- 1..* = One or More (mandatory)
- or 0..* = Zero or More (optional)
UML Notation for Multiplicity:
- Zero or more (optional)
- One and only one (mandatory)
- 0..* or *
- 1 or 1..1
What are classes in object-oriented programming?
A class is instantiated as an object, which describes the objects in a system. Including their parameters and functions
What is an association class in a domain class diagram?
An association class in a class diagram is an association between entities treated as a class in a many to many association because it has attributes that need to be remembered (such as grade between Course and Student)
What is meant by generalisation/specialisation in class relationships?
Generalisation/specialisation refers to a hierarchical relationship where subordinate classes are special types of the superior classes. This is called inheritance hierarchy in OOP
What is the key difference between a domain and design class diagram?
A design class diagram is an elaborated version of the domain class diagram, it is different in that it is more detailed and can be used to generate programme code
What are the 9 UML models we covered called?
Class diagram, Use case diagram, Sequence diagram, Activity diagram, Deployment diagram, Component diagram, State machine diagram, Communication diagram, Package diagram.
What is UML?
UML stands for Unified Modelling Language, it is a standardised language used to help developers visualise, construct, and document information systems models.