UML - Sequence Diagrams

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/14

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

15 Terms

1
New cards

What are the two types of UML diagrams?

  • Structural (Static): Emphasizes the system's structure, focusing on objects, attributes, operations, and relationships.
  • Behavioral (Dynamic): Emphasizes the system's behavior, showing object collaborations and state changes.
2
New cards

What is a sequence diagram?

A sequence diagram shows the dynamic behavior of elements in a system, illustrating the order in which events occur and the interactions over time.

3
New cards

What are the elements of a sequence diagram?

  • Lifeline: Represents actors, classes, or objects
  • Entity: System data
  • Boundary: System boundaries like user interfaces
  • Control: Manages interactions between boundaries and entities
4
New cards

What is a synchronous message in a sequence diagram?

A synchronous message requires a response before the interaction can continue.

5
New cards

What is an asynchronous message in a sequence diagram?

An asynchronous message doesn’t need a reply to continue the interaction, and the reply is indicated with a dotted line.

6
New cards

What is the communication label syntax in a sequence diagram?

The syntax is: [guard]*[iteration] sequence_number : return_variable := operation_name (argument_list).

7
New cards

What are creation and deletion messages in a sequence diagram?

Objects can be created or destroyed during the sequence of events based on messages sent.

8
New cards

What are found and lost messages in a sequence diagram?

  • Found: The sender is unknown
  • Lost: The receiver is unknown
9
New cards

What is a reflexive message in a sequence diagram?

A reflexive message occurs when an object sends a message to itself or calls itself.

10
New cards

What is an alternative fragment in a sequence diagram?

An alternative fragment is used to show a choice between two or more message sequences.

11
New cards

What is an option combination fragment in a sequence diagram?

An option combination fragment is used to represent a sequence that occurs only under a certain condition.

12
New cards

What is a loop fragment in a sequence diagram?

A loop fragment represents a repetitive sequence of events.

13
New cards

What is a parallel fragment in a sequence diagram?

A parallel fragment represents parallel execution of interactions.

14
New cards

What is an interaction use in a sequence diagram?

An interaction use refers to a fragment that calls or uses another interaction to simplify large and complex diagrams.

15
New cards

What is the purpose of activation in a sequence diagram?

Activation shows when an object is active or executing during an interaction. It’s depicted as a thin rectangle over the lifeline.