Top 80+ Solved Unified Modeling Language (UML) MCQ Questions Answer
Q. Which of the following is true about Sequence frames?
a. a sequence diagram has a frame consisting of a rectangle with a pentagon inits 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
Q. What is a lifeline?
a. it is a frame consisting of a rectangle with a pentagon inits 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
Q. 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. 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
Q. 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
Q. 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
Q. 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
Q. 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
Q. What are the heuristics which 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