Sequence diagrams Flashcards

(12 cards)

1
Q

What are sequence diagrams?

A

Sequence diagrams visually represent the interactions between objects or components in a system over time in chronological order

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

What are sequence diagrams used for?

A
  • Represent and analyse use cases
  • Provide an intuitive way to convey behaviour
  • Reflect visually dynamic behaviour
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are actors?

A

A type of role where it interacts with the system and its objects. Always out of scope of the system we aim to model.

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

What are lifelines?

A

Named element that depicts an individual participants in a sequence diagram. Each instance in a sequence diagram is represented by a lifeline

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

What are messages?

A

Communication between objects.

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

What are reply messages?

A
  • Reply messages are represented with a dotted line
  • Show messages being sent from the receiver to the sender.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are found messages?

A

Messages sent where we do not know the source of the message. Represented with a dot and and an arrow out of it to the lifeline.

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

What are lost messages?

A

Lost messages represent messages to where the receiver is not known by the system. Represnted by O—>

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

What are guards?

A

Guard conditions are used when we need to restrict the flow of messages on the pretext of a condition being met.

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

What is alt?

A

Alternative operators or alt represents an if-then-else statement in a sequence diagram. Only runs with guard condition tests true.

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

What is opt?

A

Optional operator or opts, represents the logic of a standard if statement, if the guard conditional is failed then it is ignored.

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

What is a loop?

A

Loop operator, indicates the section that will run repeatedly the number of times it runs is determined by the minint and maxint params of the operator

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