UML Sequence Diagrams MCQs - - Software Design Question and Answers

1.

What is the Interaction diagram?

   A.) Interaction diagrams are the UML notations for dynamic modeling of collaborations
   B.) Interaction diagrams are a central focus of engineering design
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'C'

All of the mentioned

2.

What are the different interaction diagram notations does UML have?

   A.) A sequence diagram
   B.) A communication diagram
   C.) A communication diagram
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned

3.

What is a sequence diagram?

   A.) A diagram that shows interacting individuals along the top of the diagram and messages passed among them arranged in temporal order down the page
   B.) A diagram that shows messages superimposed on a diagram depicting collaborating individuals and the links among them
   C.) A diagram that shows the change of an individual’s state over time
   D.) All of the mentioned

Answer: Option 'A'

A diagram that shows interacting individuals along the top of the diagram and messages passed among them arranged in temporal order down the page

4.

Which of the following is true about Sequence frames?

   A.) A sequence diagram has a frame consisting of a rectangle with a pentagon in its upper left-hand corner
   B.) The pentagon is its name compartment; the interaction is represented inside the rectangle
   C.) The string in the name compartment has the form sd interaction Identifier where interaction Identifier is either a simple name or an operation specification with the same format as in a class diagram
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned

5.

What is a lifeline?

   A.) It is a frame consisting of a rectangle with a pentagon in its upper left-hand corner
   B.) It is a rectangle containing an identifier with a dashed line extending below the rectangle
   C.) It is a name compartment; the interaction is represented inside the rectangle
   D.) None of the mentioned

Answer: Option 'B'

It is a rectangle containing an identifier with a dashed line extending below the rectangle

6.

What does a message mean?

   A.) It Passes all communications from one object to another and are represented by message arrows in sequence diagrams
   B.) The message goes from the sending object’s lifeline to the receiving object’s lifeline
   C.) It is a rectangle containing an identifier with a dashed line extending below the rectangle
   D.) All of the mentioned

Answer: Option 'A'

It Passes all communications from one object to another and are represented by message arrows in sequence diagrams

7.

What are the three different types of message arrows?

   A.) Synchronous, asynchronous, asynchronous with instance creation
   B.) Self, Multiplied, instance generator
   C.) Synchronous, Asynchronous, synchronous with instance creation
   D.) None of the mentioned

Answer: Option 'C'

Synchronous, Asynchronous, synchronous with instance creation

8.

Which of these are true with respect to the message arrows?

   A.) The synchronous message arrow is used when a sending individual continues execution after sending the message
   B.) The asynchronous message arrow is used when a sending individual suspends execution after sending the message
   C.) The dashed arrow is used either to show the return of control from a synchronous message or to create a new entity
   D.) All of the mentioned

Answer: Option 'C'

The dashed arrow is used either to show the return of control from a synchronous message or to create a new entity

9.

When is the operation executing, suspended and active?

   A.) An operation is executing when some process is actually running its code
   B.) An operation is suspended when it sends a synchronous message and it is waiting for the message to return
   C.) An operation is active when it is either executing or suspended
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned

10.

What is the interaction fragments?

   A.) A fragment which is a rectangular frame with a pentagonal operation compartment in the upper left-hand corner
   B.) A fragment which has a marked part of an interaction specification
   C.) The regions resulting from these divisions will not hold the interaction fragment operations
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned


UML Sequence Diagrams MCQs Download Pdf

Recent Posts