Module 7 - Sequence Diagrams Part 1 Flashcards
purpose of a sequence diagram is to define what kind of behaviors ?
interactions
T/F execution is instance of a defined behavior
True
7 common elements in a sequence diagram
- lifeline
- event occurrences
- Messages
- execution specification
- constraint
- combined fragment
7 _________ uses
interaction uses
Lifeline
is the ____ in the interaction behavior in a sequence diagram
participant
time travels down the ________
lifeline
what does the tail of a lifeline represent
a relative order of events / passage of time
is it legal for an interaction to be owned by a block ?
yes
a lifeline commonly corresponds to a part property or _________ of a block .
reference property
lifeline corresponds to a property of an owning block
each lifeline represents a single instance of its type.. never multiple ____
instances
a selector expression names a specific instance that the lifeline _________
represents
an instance specification [fc s/n 111] was assigned to be a selector __________
selector expression
the instance specification might not be nested in the same location as the interaction or owning block
behavior execution start and behavior execution termination is a kind of what ?
event occurrence
message send and message receive occurrence is a kind of
event occurrence
six kinds of event occurrences are
1. behavior execution start
2. behavior execution termination
3. Message sent
4. Message received
5 lifeline ______
6 lifeline ______
lifeline creation
lifeline destruction
where would you find a message send occurrence ?
look at the tail end of a message
where the tail end touches the lifeline
where would you find a message receive occurrence ?
look at the arrow end of a message
where the arrow end touches the lifeline
where would you find a lifeline creation event occurrence ?
at the arrow head end of a create event occurrence where there would be a new lifeline
where would you find a lifeline destruction event occurrence ?
end of a lifeline with an x
which means the end of a lifelines instance
what is the thin green line sitting on top of the lifeline ?
behavior execution
behavior starts executing at the top and bottom of the rectangle the behavior execution comes to an end