Essentials of Interaction Diagrams Flashcards

1
Q

UML Interaction Diagram Examples

A

Sequence Diagrams
Collaboration Diagrams

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

UML Interaction Diagrams

A

Allow us to record how objects interact to perform a task at hand.

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

Collaborations

A

The objects which interact to perform some task, showing objects, links and actors.

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

Sequence Diagrams

A

Represents objects and actors which take part in a collaboration.
Essentially shows a sequence of actions.

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

Sub-collaborations

A

Subset of the object, together with the links connecting those objects.

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

Dynamic Representations

A

Collaboration -> {new} and {destroyed} objects
Sequence -> represented partway down the page.

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

Sequence v Collaboration

A

Sequence diagrams allow passage of time.

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

Activity Diagrams

A

Describe how activities are coordinated (like how an operation could be implemented).
Can record activities that happen in parallel or sequentially.
Another name for them can be state diagrams.

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

Activity Diagram Features

A

Activity -> record like the notation for a state
Activity edge -> an arrow which indicates where to move in the diagram after an activity finishes.
Synchro bar -> thick horizontal bar describing the coordination of activities which all must be complemented before moving on.
Decision diamond -> show decisions
Stop/start markers -> used in same way as state diagram (initial/final states)

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