UML Sequence Diagrams MCQs - - Software Design Question and Answers

1.

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

2.

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
 

3.

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

4.

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

5.

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

UML Sequence Diagrams MCQs Download Pdf

Recent Posts