UML Sequence Diagrams MCQs - - Software Design Question and Answers

1.

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

2.

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

3.

What is break fragment?

   A.) An fragment which has one or more guarded operands whose guards are mutually exclusive—that is, at most one of them can be true at any time
   B.) A fragment which has a single operand that is performed instead of the remainder of the enclosing fragment or diagram if the operand guard is true
   C.) A fragment which has a single operand that may or may not have a guard
   D.) None of the mentioned

Answer: Option 'B'

A fragment which has a single operand that is performed instead of the remainder of the enclosing fragment or diagram if the operand guard is true
 

4.

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

5.

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

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 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

8.

Which of the following is true for optional fragments?

   A.) An optional fragment is a portion of an interaction that may be done
   B.) The fragment operator name is opt
   C.) Optional fragments have only a single operand, which must contain a guard
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned

9.

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

10.

What are the heuristics which the sequencing diagram follows?

   A.) Put pairs of lifelines that interact heavily next to one another
   B.) Position lifelines to make message arrows as short as possible
   C.) Position lifelines to make message arrows go from left to right
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned

11.

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

12.

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

13.

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