On This Page

This set of Unified Modeling Language (UML) Multiple Choice Questions & Answers (MCQs) focuses on Unified Modeling Language Uml Set 3

Q1 | What are the three different types of message arrows?
  • synchronous, asynchronous, asynchronous with instance creation
  • self, multiplied,instance generator
  • synchronous, asynchronous, synchronous with instance creation
  • none of the mentioned
Q2 | Which of these are true with respect to the message arrows?
  • the synchronous message arrow is used when a sending individual continues execution after sending the message
  • the asynchronous message arrow is used when a sending individual suspends execution after sending the message
  • the dashed arrow is used either to show the return of control from a synchronous message or to create a new entity
  • all of the mentioned
Q3 | When is the operation executing, suspended and active?
  • an operation is executing when some process is actually running its code
  • an operation is suspended when it sends a synchronous message and it is waiting for the message to return
  • an operation is active when it is either executing or suspended
  • all of the mentioned
Q4 | What is break fragment?
  • 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
  • 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
  • a fragment which has a single operand that may or may not have a guard
  • none of the mentioned
Q5 | What are the heuristics which sequencing diagram follows?
  • put pairs of lifelines that interact heavily next to one another
  • position lifelines to make message arrows as short as possible
  • position lifelines to make message arrows go from left to right
  • all of the mentioned