UML/Information System Modelling Flashcards

1
Q

What basic notations are present in a use case diagram? (5)

A

A title
An actor
Use case
Association line
(opt.) Automation bounday

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a use case diagram? (5 key facts)

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is not modelled in a use case diagram? (2 key things to remember)

A

A use case diagram does not model the time order of use cases, and does not show functional requirements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Two techniques for identifying use cases are… (2)

A
  1. The user goal technique - begins by identifying end users called actors and asking what specific goals they have when interacting with the system
  2. The event decomposition technique - begins by identifying events that occur requiring the system to respond
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the three types of events shown in use cases? (3)

A

External, temporal, and state events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a domain class diagram?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

UML Notation for Multiplicity:

  1. 0..1
  2. 1..*
  3. *
A
  1. 0..1 = Zero or One (optional)
  2. 1..* = One or More (mandatory)
    • or 0..* = Zero or More (optional)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

UML Notation for Multiplicity:

  1. Zero or more (optional)
  2. One and only one (mandatory)
A
  1. 0..* or *
  2. 1 or 1..1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are classes in object-oriented programming?

A

A class is instantiated as an object, which describes the objects in a system. Including their parameters and functions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is an association class in a domain class diagram?

A

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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is meant by generalisation/specialisation in class relationships?

A

Generalisation/specialisation refers to a hierarchical relationship where subordinate classes are special types of the superior classes. This is called inheritance hierarchy in OOP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the key difference between a domain and design class diagram?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the 9 UML models we covered called?

A

Class diagram, Use case diagram, Sequence diagram, Activity diagram, Deployment diagram, Component diagram, State machine diagram, Communication diagram, Package diagram.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is UML?

A

UML stands for Unified Modelling Language, it is a standardised language used to help developers visualise, construct, and document information systems models.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly