Object Oriented Analysis and Design - Part2
Object Oriented Analysis and Design - Part2
Q. 1 Which statement is true about elements within the subsystem and public
visibility?
A. Only the subset of elements that define the subsystems API should have public
visibility.
B. Only the subsystem proxy class should have public visibility.
C. No elements inside the subsystem should have public visibility.
D. Only the elements that reference external classes should have public visibility.
Q. 2 What are the two types of dependency that can be used from a subsystem?
(Choose two.)
A. <<uses>> dependency to a subsystem interface
B. an <<import>> dependency to a package containing used classes
C. a <<manifest>> relationship to a node in the Deployment model
D. a <<realize>> relationship to one or more collaboration occurrences
Q. 8 What is a gate?
A. a parameter that represents a message that crosses the boundary of an interaction or
interaction fragment
B. a defined protocol for accessing the internals of a subsystem
C. a decision point in a state machine that has more than two alternatives
D. a set of checkpoints each subsystem design must satisfy before it can be assigned for
implementation
A. fork
B. initial state
C. decision
D. transition
E. final state
F. event
G. state
H. guard condition
A. fork
B. initial state
C. decision
D. transition
E. final state
F. event
G. state
H. guard condition
Q. 30 Which entity has a well-defined boundary and identity that encapsulates state
and behavior?
A. class
B. object
C. component
D. package
Q. 32 In a dependency, through what reference does the client class gain visibility to
the supplier?
A. local reference
B. parameter reference
C. global reference
D. field reference
A. fork
B. initial state
C. decision
D. transition
E. final state
F. event
G. state
H. guard condition
Q. 44 Defining the network configuration is the _____ step of the Describe the
Distribution activity.
A. final
B. first
C. second
D. fifth
A. fork
B. initial state
C. decision
D. transition
E. final state
F. event
G. state
H. guard condition
Q. 71 Why would you use subsystem interfaces rather than subsystem instances on
sequence diagrams?
A. to make it easier to model subsystems during Subsystem Design
B. to make use-case realizations easier to change
C. to ease sequence diagram maintenance when message signatures change
D. to reduce the number of classes needed to implement the subsystem
A. fork
B. initial state
C. decision
D. transition
E. final state
F. event
G. state
H. guard condition
Q. 80 Which entity has a well-defined boundary and identity that encapsulates state
and behavior?
A. class
B. object
C. component
D. package
Q. 81 Supplemental sequence diagram documentation, in the form of notes and
scripts, is commonly used for _____. (Choose three.)
A. describing required timing between messages
B. providing details about conditional behavior
C. specifying the attributes for objects that appear in the diagram
D. correlating extension points in the use case with specific locations in the sequence
diagrams
Q. 83 What are the two types of dependency that can be used from a subsystem?
(Choose two.)
A. <<uses>> dependency to a subsystem interface
B. an <<import>> dependency to a package containing used classes
C. a <<manifest>> relationship to a node in the Deployment model
D. a <<realize>> relationship to one or more collaboration occurrences
A. forks
B. initial states
C. decisions
D. transitions
E. final states
F. events
G. states
H. guard conditions
Q. 89 Which statement is true about elements within the subsystem and public
visibility?
A. Only the subset of elements that define the subsystems API should have public
visibility.
B. Only the subsystem proxy class should have public visibility.
C. No elements inside the subsystem should have public visibility.
D. Only the elements that reference external classes should have public visibility.
Q. 93 Defining the network configuration is the _____ step of the Describe the
Distribution activity.
A. final
B. first
C. second
D. fifth
A. fork
B. initial state
C. decision
D. transition
E. final state
F. event
G. state
H. guard condition
Q. 98 Which is a device?
A. database server
B. web server
C. virtual private network
D. handheld computer
Q. 104 Which 4+1 view is the focus of the Describe Distribution activity?
A. Logical View
B. Deployment View
C. Use Case View
D. Implementation View
Q. 105 Click on the exhibit button
Given information provided in the diagram, which statement is true?
Q. 106 With respect to persistence, what are two functions of transactions? (Choose
two.)
A. ensure that a set of operations is performed either in total, or not at all
B. enable a designer to selectively define operations that will be executed with priority
when there is a shortage of system resources
C. ensure that sets of objects move from one consistent state to another
D. simplify design work, so that persistence does not need to be explicitly considered
during Use Case Design
E. simply design work, by providing standardized approaches for representing persistent
objects in UML
Q. 110 Which three activities are elements of Class Design? (Choose three.)
A. identify classes and relationships that support implementation of an architecture
B. identify and analyze state transitions in objects of state-controlled classes
C. identify classes that model the problem domain
D. refine relationships, operations and attributes
A. fork
B. initial state
C. decision
D. transition
E. final state
F. event
G. state
H. guard condition
Q. 112 In a dependency, through what reference does the client class gain visibility
to the supplier?
A. local reference
B. parameter reference
C. global reference
D. field reference
Q. 113 Given the following configuration: Package A, which contains class aClass is
in the presentation layer. Package B, which contains a class bClass and an interface
bInterface is in the business layer. Package C, which contains cClass is in the data
layer. Which is a poor practice?
A. aClass calls a method in bClass.
B. aClass has an attribute of type cClass.
C. aClass realizes bInterface.
D. bClass realizes bInterface.
A. fork
B. initial state
C. decision
D. transition
E. final state
F. event
G. state
H. guard condition
Q. 115 How many physical nodes should be identified in order to perform the
Describe Distribution activity?
A. zero nodes only
B. one node only
C. zero nodes or one node
D. more than one node
Q. 117 When identifying design elements, a simple analysis class will map to
a(n)_____.
A. active class
B. interface
C. design class
D. subsystem
A. forks
B. initial states
C. decisions
D. transitions
E. final states
F. events
G. states
H. guard conditions
Q. 132 In a dependency, through what reference does the client class gain visibility
to the supplier?
A. local reference
B. parameter reference
C. global reference
D. field reference
Q. 133 In which Analysis and Design activity are subsystems mapped to analysis
classes?
A. Architectural Analysis
B. Identify Design Elements
C. Identify Subsystems
D. Incorporate Existing Design Elements
A. fork
B. initial state
C. decision
D. transition
E. final state
F. event
G. state
H. guard condition
Q. 135 In the diagram, what is B?
A. fork
B. initial state
C. decision
D. transition
E. final state
F. event
G. state
H. guard condition
Q. 139 The Describe Distribution activity is where the processes defined in the
Describe the Run-time Architecture activity are allocated to _____.
A. physical nodes
B. components
C. classes
D. activities
Q. 140 Which entity has a well-defined boundary and identity that encapsulates
state and behavior?
A. class
B. object
C. component
D. package
Q. 141 Why would you use subsystem interfaces rather than subsystem instances on
sequence diagrams?
A. to make it easier to model subsystems during Subsystem Design
B. to make use-case realizations easier to change
C. to ease sequence diagram maintenance when message signatures change
D. to reduce the number of classes needed to implement the subsystem
Q. 143 Given the following configuration: Package A, which contains class aClass is
in the presentation layer. Package B, which contains a class bClass and an interface
bInterface is in the business layer. Package C, which contains cClass is in the data
layer. Which is a poor practice?
A. aClass calls a method in bClass.
B. aClass has an attribute of type cClass.
C. aClass realizes bInterface.
D. bClass realizes bInterface.
Q. 144 When identifying design elements, a simple analysis class will map to
a(n)_____.
A. active class
B. interface
C. design class
D. subsystem
Q. 145 Which statement is true about elements within the subsystem and public
visibility?
A. Only the subset of elements that define the subsystems API should have public
visibility.
B. Only the subsystem proxy class should have public visibility.
C. No elements inside the subsystem should have public visibility.
D. Only the elements that reference external classes should have public visibility.
Q. 151 How many physical nodes should be identified in order to perform the
Describe Distribution activity?
A. zero nodes only
B. one node only
C. zero nodes or one node
D. more than one node
Q. 155 Additional subsystems can be discovered during Use Case Design by noting
_____.
A. common subflows between objects on several sequence diagrams
B. similar objects on several sequence diagrams
C. a consistent series of state transitions for multiple classes involved in a use-case
realization
D. the same design classes involved in more than one use-case realization
Q. 158 What are three purposes of Use Case Design? (Choose three)
A. to refine use-case realizations in terms of interactions
B. to ensure the completeness of the View of Participating Classes diagrams for each use-
case realization
C. to refine requirements on the operations of design classes
D. to refine requirements on the operations of design subsystems and/or their interfaces
Q. 163 Which 4+1 view is the focus of the Describe Distribution activity?
A. Logical View
B. Deployment View
C. Use Case View
D. Implementation View
Q. 168 With respect to persistence, what are two functions of transactions? (Choose
two.)
A. ensure that a set of operations is performed either in total, or not at all
B. enable a designer to selectively define operations that will be executed with priority
when there is a
shortage of system resources
C. ensure that sets of objects move from one consistent state to another
D. simplify design work, so that persistence does not need to be explicitly considered
during Use Case Design
E. simply design work, by providing standardized approaches for representing persistent
objects in UML
Q. 171 What are the two types of dependency that can be used from a subsystem?
(Choose two.)
A. <<uses>> dependency to a subsystem interface
B. an <<import>> dependency to a package containing used classes
C. a <<manifest>> relationship to a node in the Deployment model
D. a <<realize>> relationship to one or more collaboration occurrences