

McqMate
These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Bachelor of Science in Information Technology TY (BSc IT) , Bachelor of Science in Information Technology (BSc IT) , Bachelor of Science in Computer Science (BSc CS) .
51. |
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» C. synchronous, asynchronous, synchronous with instance creation | |
Explanation: three different types of message arrows are- synchronous, asynchronous, synchronous with instance creation. |
52. |
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» C. the dashed arrow is used either to show the return of control from a synchronous message or to create a new entity | |
Explanation: the asynchronous message arrow is used when a sending individual continues execution after sending the message and the synchronous message arrow is used when a sending individual suspends execution after sending the message. |
53. |
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» D. all of the mentioned | |
Explanation: all of the mentioned statements are true and respond to operations executing, suspended and active states. |
54. |
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» 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 | |
Explanation: a break fragment has a single operand that is performed instead of the remainder of the enclosing fragment or diagram if the operand guard is true. |
55. |
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 |
Answer» D. all of the mentioned | |
Explanation: sequencing diagram follows all the mentioned heuristics. |
Done Studing? Take A Test.
Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.