Lecture 4: Use Case Realisation Flashcards

1
Q

What are use case realisations?

A

The model shows how analysis classes realises the behaviour specified by the use case

• Each use case has exactly one realisation

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

What are the 4 UC Elements?

A
  1. Analysis Class Diagram
    - Show the relationship of the analysis class and use case
  2. Interaction diagram
    - Show how objects realises a use case known as “snapshots”
  3. Special requirements
    - UC may uncover new requirements to be captured in a use case
  4. Use Case refinement
    - Discovers new information during the realisation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is an interaction?

A
  • Is the behaviour between the classifier
    - shows the behaviour by the use case being realised
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What two interactions does the diagram capture?

A
  1. Lifelines
    What a single participant is as a interaction that represents an instance of an specific classifier
  2. **Messages **
    Communicates between lifelines
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does a lifeline contain?

A
  1. Name used in interaction
  2. Selector, Boolean condition
  3. Type of classifier
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does a lifeline looklike? What is the syntax from the textbook?

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

How many realisation does a use cases have?

A

Every ues case has only ONE use case realisation

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

What does a lifeline/interaction represent?

A

Represents a single participant in the interaction

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

What two ways can a asynchronous message be used?

A
  • A process/thread SENDS‘go to sleep’
  • A process defines a call back’ operation by the transport message is delivered
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Name the 4 interaction diagrams

A
  1. Sequence diagram
    - Interacts by sending message in a time sequence
    - Rich diaragm, expensive
  2. Communication diagram
    - Relationships between lifelines
    - Uses communication diagrams to make other relationships
  3. Interaction diagrams
    - Complex behaviour is realised by a set of simplier interactions
  4. Time diagrams
    - Uses timing aspects
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does self-delegation do?

A

Self-delegation is when a lifeline sends a message to itself

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

What does self-delegation create?

A

Nested activation

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

What are combined fragments?

A
  • Sequence diagrams can be divided into areas called the interaction fragments
  • Operands as combined fragments “groups”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a communication diagram?

A

<!--[if !supportLists]-->

· Structural aspects of an interaction, how lifelines connect

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

What is branching?

A

<!--[if !supportLists]-->

· <!--[endif]-->Modelled by prefixing the sequence number with a guard condition

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

What is the interaction overview diagram?

A

<!--[if !supportLists]-->

· <!--[endif]-->Model high level flow of control between interactions

<!--[if !supportLists]-->

· <!--[endif]-->Shows interactions and occurrences

17
Q

What is an operator and guard condition?

A

Operator: HOW its operand executes
Guard Condition: WHETHER their opperands execute condition