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



1

Which of the following types of class stereotype is always found in the presentation layer?
A)Boundary.
B)Control.
C)Entity.
2

Which of the following elements of the Model–View–Controller architecture is essentially part of the presentation layer?
A)Model.
B)View.
C)Controller.
3

Which of the following is not a reason for separating the display of instances of business classes from the business classes themselves?
A)For classes to be reusable they should not be tied to a particular way of displaying the attribute values of instances.
B)The state behaviour of the interface is modelled using state machines.
C)There is no one standard layout for the attributes of business objects, so the display is better handled by separate classes.
4

What is the presentation layer concerned with?
A)Presenting the attribute values of objects to the user and other systems.
B)Storing the data represented by the attribute values of objects.
C)Acting as an interface between the tiers of the three-tier architecture.
5

Which of the following is not a kind of prototype?
A)Horizontal.
B)Vertical.
C)Lateral.
6

Which of the following best describes a horizontal prototype?
A)A horizontal prototype deals only with the user interface.
B)A horizontal prototype deals with a single layer of a layered architecture.
C)A horizontal prototype takes one subsystem and develops it across all the layers.
7

Which of the following best describes a vertical prototype?
A)A vertical prototype is discarded after it has been used to test out some aspect of the design.
B)A vertical prototype deals with a single layer of a layered architecture.
C)A vertical prototype takes one subsystem and develops it across all the layers.
8

Which of the following best describes a throwaway prototype?
A)A throwaway prototype is discarded after it has been used to test out some aspect of the design.
B)A throwaway prototype takes one subsystem and develops it across all the layers.
C)A throwaway prototype is used to test the design of object deletion mechanisms.
9

Which of the following is not a reason for using prototyping in the design of the user interface?
A)Alternative approaches to the interface of a use case can be tried out.
B)Guidelines for the design of the interface can be tested.
C)Visual development environments can be used to blur the distinction between the interface and the business logic.
10

Which of the following is the stereotype for a boundary class?
A)<a onClick="window.open('/olcweb/cgi/pluginpop.cgi?it=jpg::Figure10.1::/sites/dl/free/0077110005/315085/Fig10_1.JPG','popWin', 'width=NaN,height=NaN,resizable,scrollbars');" href="#"><img valign="absmiddle" height="16" width="16" border="0" src="/olcweb/styles/shared/linkicons/image.gif">Figure10.1 (2.0K)</a>Figure10.1
B)<a onClick="window.open('/olcweb/cgi/pluginpop.cgi?it=jpg::Figure 10.2::/sites/dl/free/0077110005/315085/Fig10_2.JPG','popWin', 'width=NaN,height=NaN,resizable,scrollbars');" href="#"><img valign="absmiddle" height="16" width="16" border="0" src="/olcweb/styles/shared/linkicons/image.gif">Figure 10.2 (2.0K)</a>Figure 10.2
C)<a onClick="window.open('/olcweb/cgi/pluginpop.cgi?it=jpg::Figure 10.3::/sites/dl/free/0077110005/315085/Fig10_3.JPG','popWin', 'width=NaN,height=NaN,resizable,scrollbars');" href="#"><img valign="absmiddle" height="16" width="16" border="0" src="/olcweb/styles/shared/linkicons/image.gif">Figure 10.3 (2.0K)</a>Figure 10.3
11

Boundary classes will usually have a dependency on classes in some kind of user interface package, such as the Java Abstract Windowing Toolkit or the Microsoft Foundation Classes. What kind of dependency is this likely to be?
A)«realize».
B)«import».
C)«include».
12

What notation is used in a sequence diagram to show that an object instance is created by a message?
A)The arrow head of the message points at the object at the top of the lifeline, the arrow head is open and the line is dashed.
B)The stereotype «construct» is shown alongside the message arrow.
C)A large ‘C’ for ‘Constructor’ is shown on the object lifeline.
13

What notation is used in a sequence diagram to show that an object instance is destroyed as a result of receiving a message?
A)A large ‘X’ is shown on the lifeline.
B)The arrow head of the message arrow is open.
C)A large ‘D’ for ‘Destructor’ is shown on the lifeline.
14

Which of the following statements best describes the excerpt from a class diagram shown below?

<a onClick="window.open('/olcweb/cgi/pluginpop.cgi?it=jpg::Figure 14::/sites/dl/free/0077110005/315085/Fig14.JPG','popWin', 'width=NaN,height=NaN,resizable,scrollbars');" href="#"><img valign="absmiddle" height="16" width="16" border="0" src="/olcweb/styles/shared/linkicons/image.gif">Figure 14 (64.0K)</a>Figure 14

A)CheckCampaignBudgetUI inherits its behaviour from ClientLister. ListClients contains one or more ClientListers.
B)ListClients inherits its behaviour from ClientLister. CheckCampaignBudgetUI is a user interface class because of its relationship with ClientLister.
C)CheckCampaignBudgetUI implements the ClientLister interface. ListClients uses the operations of the interface when sending messages to CheckCampaignBudgetUI.
15

Which of the following is meant by the rectangle in the diagram below with the label loop in the top left-hand corner?

<a onClick="window.open('/olcweb/cgi/pluginpop.cgi?it=jpg::Figure 15::/sites/dl/free/0077110005/315085/Fig15.JPG','popWin', 'width=NaN,height=NaN,resizable,scrollbars');" href="#"><img valign="absmiddle" height="16" width="16" border="0" src="/olcweb/styles/shared/linkicons/image.gif">Figure 15 (48.0K)</a>Figure 15

A)The messages within the rectangle result in the destruction of the :ListClients object.
B)The messages in the rectangle are repeated.
C)The messages in the rectangle are all sent by the same object.
16

Which of the objects in the diagram below would need to implement the ItemListener interface in order to respond to the itemStateChanged(evt) message?

<a onClick="window.open('/olcweb/cgi/pluginpop.cgi?it=jpg::Figure 16::/sites/dl/free/0077110005/315085/Fig16.JPG','popWin', 'width=NaN,height=NaN,resizable,scrollbars');" href="#"><img valign="absmiddle" height="16" width="16" border="0" src="/olcweb/styles/shared/linkicons/image.gif">Figure 16 (57.0K)</a>Figure 16

A)clientChoice:Choice.
B)CheckCampaignBudgetUI.
C)CheckCampaignBudget.
17

Why are state machines used to model the user interface?
A)To model the permitted states of the user interface and the events that cause the user interface to change state.
B)To model the lifetime of all the user interface classes beyond the existence of a particular instance of the interface.
C)To show the sequential view of the user working through the user interface from top to bottom.
18

Which of the following can be achieved by modelling the state of the user interface?
A)Passing responsibility for all validation to the controller class.
B)Constraining the behaviour of the interface to prevent users making errors.
C)Describing the high-level requirements and main user tasks.
19

Which of the following is the notation for the deep history indicator in a state machine?
A)H in a circle.
B)H* in a circle.
C)«history» in a round-cornered rectangle.
20

What is recorded in an event–action table?
A)The actions that objects can carry out and the events that take place as a result of those actions.
B)Events that objects can respond to and the actions that take place in response to those events.
C)Current states, events that can occur in each state, the actions associated with the combination of state and event, and the next states after the actions have taken place.







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

Home > Chapter 17 > Multiple Choice Quiz