Midterm Study - UML Sequence Flashcards

1
Q

What is a sequence (interaction) diagram?

A

Sequence diagrams show the explicit sequencing of messages. Showing the interactions between objects and flow of events in a single use case. It focuses on message details, used more frequently in industry. It is a depiction of the interaction among objects during certain periods of time.

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

What does activation mean in a sequence diagram?

A

Activation is the time period during which an object performs an operation, represented by a thin rectangle on the lifeline of the object.

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

What are messages in a sequence diagram?

A

Messages are means by which objects communicate with each other. Messaging is one of the defining features of the object oriented approach. Messages may hold value for objects to act upon.

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

What are the three message types?

A

Synchronous Message: A type of message in which the caller (sender) has to wait for the receiving object to finish executing the called operation before it can resume execution itself Asynchronous Message: sender does not have to wait for receiver to complete called operation Simple Message: A message that transfers control from the sender to the recipient without describing the details of the communication

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

What are the proper steps in developing a system sequence diagram?

A
  1. Begin with detailed description of use case from fully developed form or activity diagrams. 2. Identify input messages 3. Describe message from external actor to system using message notation 4. Identify and add any special conditions on input message, including iteration and true/false conditions 5. Identify and add output return messages
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does a first-cut sequence diagram look like?

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

What does a partial three layer design look like?

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

What does a complete three layer design look like?

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

What are the 5 steps to draw a sequence diagram?

A

Step1: Define who will initiate the interaction

Step2: Draw the first message to a sub-system

Step3: Draw message to other sub-systems

Step4: Draw return message to actor

Step5: Send/Respond to anonymous actors

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