Search Header Logo

UML Sequence Diagrams Quiz

Authored by Dr. Pal

Computers

12th Grade

UML Sequence Diagrams Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of gates in UML sequence diagrams?

To specify the concrete sender and receiver for every message

To represent the duration of an execution

To show a runtime constraint on the participants of the interaction

To allow the use of another interaction

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a lifeline represent in a UML sequence diagram?

An individual participant in the interaction

A moment in time at the beginning or end of a message

A named element representing the most general interaction unit

A period in the participant's lifetime when it is executing a unit of behavior

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does an occurrence specification represent in UML sequence diagrams?

An occurrence which represents sending and receiving of signals or invoking or receiving of operation calls

An interaction fragment which represents a runtime constraint on the participants of the interaction

A message occurrence which represents the destruction of the instance described by the lifeline

A moment in time at the beginning or end of a message or at the beginning or end of an execution

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of an interaction use in UML sequence diagrams?

To specify a runtime constraint on the participants of the interaction

To represent the duration of an execution

To relate a message outside of an interaction fragment with a message inside the interaction fragment

To use (or call) another interaction and simplify large and complex sequence diagrams

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How is a state invariant represented in a UML sequence diagram?

As a wider labeled rectangle representing the execution specification

As a thin grey or white rectangle on the lifeline

As a combined fragment with operator ref

As a constraint in curly braces on the lifeline

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers