Site MapHelpFeedbackMultiple Choice Quiz
Multiple Choice Quiz
(See related pages)



1

Which of the following is true?
A)Identifying what messages are passed between objects is a straightforward process.
B)Message passing is a metaphor used to describe object interaction.
C)Message passing is only concerned with query operations.
2

Which of the following is true about boundary objects?
A)The identification and specification of boundary objects is purely a design activity.
B)The identification and detailed specification of boundary objects is part of requirements specification.
C)The identification and specification of boundary objects is considered in both analysis and design but in different ways.
3

What is meant by the term collaboration in context of interaction modelling?
A)A collaboration describes the messages between objects.
B)A collaboration describes objects that share functionality.
C)A collaboration describes the structure and links between a group of instances playing roles in a behaviour.
4

What is meant by the term interaction?
A)An interaction describes any communication between two lifelines.
B)An interaction describes a group of lifelines that share functionality.
C)An interaction defines the message passing between lifelines (e.g. objects) within the context of a collaboration to achieve a particular behaviour.
5

An interaction sequence diagram drawn during analysis differs from one drawn during design in which of the following ways?
A)The former normally does not include design objects or detailed specifications of message signatures.
B)The former normally does not include boundary objects.
C)The former normally does not include control objects.
6

On the following figure which of the symbols labelled 1, 2 or 3 represents an activation on a sequence diagram? <a onClick="window.open('/olcweb/cgi/pluginpop.cgi?it=gif::Mcq_Ch09_q6::/sites/dl/free/0077110005/315096/mcq09_06.gif','popWin', 'width=NaN,height=NaN,resizable,scrollbars');" href="#"><img valign="absmiddle" height="16" width="16" border="0" src="/olcweb/styles/shared/linkicons/image.gif">Mcq_Ch09_q6 (7.0K)</a>Mcq_Ch09_q6
A)Symbol 1
B)Symbol 2
C)Symbol 3
7

Which of the arrows labelled 1, 2 or 3 is pointing to an interaction constraint? <a onClick="window.open('/olcweb/cgi/pluginpop.cgi?it=gif::MCQ_Ch09_q07::/sites/dl/free/0077110005/315096/mcq09_07.gif','popWin', 'width=NaN,height=NaN,resizable,scrollbars');" href="#"><img valign="absmiddle" height="16" width="16" border="0" src="/olcweb/styles/shared/linkicons/image.gif">MCQ_Ch09_q07 (5.0K)</a>MCQ_Ch09_q07
A)Arrow 1
B)Arrow 2
C)Arrow 3
8

Which of the labelled symbols in the following diagram represents a synchronous message? <a onClick="window.open('/olcweb/cgi/pluginpop.cgi?it=gif::Mcq_Ch09_q08::/sites/dl/free/0077110005/315096/mcq09_08.gif','popWin', 'width=NaN,height=NaN,resizable,scrollbars');" href="#"><img valign="absmiddle" height="16" width="16" border="0" src="/olcweb/styles/shared/linkicons/image.gif">Mcq_Ch09_q08 (3.0K)</a>Mcq_Ch09_q08
A)Symbol 1
B)Symbol 2
C)Symbol 3
9

What is meant by the term ‘thread of control’ in the context of concurrent behaviour?
A)A thread of control is a weak part of the control system.
B)A thread of control is the mechanism that controls concurrent behaviour.
C)A thread of control is an execution pathway that may occur simultaneously with other execution pathways.
10

Which of the following statements about sequence diagrams is true?
A)A sequence diagram containing an interaction fragment may be referenced by only one sequence diagram.
B)A sequence diagram containing an interaction fragment may be referenced by one or more sequence diagrams.
C)A sequence diagram containing an interaction fragment may never be referenced by another sequence diagram.
11

Which of the following is an appropriate way of hiding complex behaviour in an interaction sequence diagram?
A)A group of objects and their interactions can be represented by a single lifeline which references an interaction fragment.
B)Some messages are omitted to reduce the complexity.
C)Some objects are omitted from the diagram to reduce the complexity.
12

Which of the following is an appropriate way of modelling a part of an interaction that appears in several other interactions?
A)Model the common part of the interaction as an ‘alt’ combined fragment.
B)Model the common part of the interaction using a communication diagram.
C)Model the common part of the interaction as an interaction fragment in a separate sequence diagram.
13

Interaction sequence diagrams should be consistent with other diagrams and models that relate to the same group of objects or subsystems. Which of the following statements is true?
A)A sequence diagram must show all the messages that are consistent with the state machines for each of the lifelines in the sequence diagram and be consistent with the class diagram.
B)A sequence diagram must be consistent with the class diagram or with the state machines for lifelines in the sequence diagram.
C)A sequence diagram must be consistent all other diagrams or models that include or relate to the lifelines in the sequence diagram.
14

Which of the following accurately describes an asynchronous message?
A)An asynchronous message does not cause the invoking operation to halt execution while it awaits the return of control.
B)An asynchronous message has the same effect as a blocking call.
C)An asynchronous message is a reply to a synchronous message.
15

Communication diagrams differ from interaction sequence diagrams in the following way?
A)Communication diagrams cannot show the design detail that can be shown on a sequence diagram.
B)Communication diagrams only show the collaboration and not the sequence of the messages.
C)Communication diagrams show the links between the objects.
16

In a communication diagram one message has the sequence number 5.1.1. Which of the following sequence numbers indicates the message that must be the immediate successor?
A)A message with the sequence number 5.1.2.
B)A message with the sequence number 5.1.1.1.
C)A message with the sequence number 5.2.1.
17

Which of the following is a disadvantage of communication diagrams?
A)A communication diagram can only be used during analysis.
B)A communication diagram cannot include guard conditions.
C)A communication diagram is difficult to read if there are many messages between two objects.
18

An interaction diagram should be consistent with the associated class diagram in various ways. Which of the following statements is true?
A)It is always correct to show a message between two objects if there is an association between their classes.
B)The sending object must have the object reference of the receiving object before sending a message to that object.
C)A message should not be shown between two objects if there is no association between their classes.
19

Which of the following statements is correct about interaction overview diagrams?
A)An interaction overview diagram may not have decision nodes.
B)An interaction overview diagram may only have interaction occurrences, initial pseudostates and final pseudostates as nodes in the diagram.
C)An interaction overview diagram may include in-line sequence diagrams.
20

Timing diagrams are used to show how timing constraints affect interactions between lifelines. Which of the following statements is true?
A)A lifeline may only have two alternative states.
B)When a state change is being modelled that takes significant (from the application’s perspective) time it is shown by a slanting line.
C)Messages are not shown on timing diagrams.







O-O Systems Analy, Bennett, 3eOnline Learning Center

Home > Chapter 9 > Multiple Choice Quiz