Deck 13: Object-Oriented Design: Use Case Realization

Full screen (f)
exit full mode
Question
​The starting point for identifying messages in detailed design of a use case is always the SSD.
Use Space or
up arrow
down arrow
to flip the card.
Question
​The activation lifeline is depicted by a vertical dashed line under an object.
Question
​Adding a use case controller to a sequence diagram is an example of applying a design pattern.
Question
​The true/false condition on a message indicates whether the method on the destination object will execute.
Question
​Since updating a design class diagram is done after the use case realization is complete,visibility information is no longer necessary.
Question
​The perfect technology assumption means not to worry about issues such as user security.
Question
​The code "if (someObject == null)" is part of the factory pattern.
Question
​A loop or repeating message or messages in a sequence diagram is depicted by a rectangle box.
Question
​The first-cut DCD includes method signatures.
Question
​Dependency relationships cannot exist between classes within packages.
Question
​The perfect memory assumption means that there is always adequate memory to execute the program.
Question
​An interaction diagram is a subclass of a sequence diagram.
Question
​The controller object is usually part of view layer.
Question
​A timeline on a communication diagram indicates the sequence of the messages.
Question
​Links on communication diagram simple show the flow of messages and are not the associations between classes.
Question
​There are two preferred methods to accessing the database. One is to have newly instantiated object call the data access object. The other is to let the controller access the data access object.
Question
​Design class diagrams and interaction diagrams should be developed independent of each other.
Question
​The perfect solution assumption means that we do not worry about exception conditions.
Question
​The best technique for accessing the database when multiple objects are needed is just to let the data access object instantiate objects.
Question
​The initial version of a communication diagram contains view layer and business layer.
Question
​It is better to have the data access object create a new object when multiple objects may be created.
Question
​What is the least cohesive approach in creating use case controllers in a system?

A)Define a single controller for all use cases.
B)​Define several controllers, each with a specific set of responsibilities
C)Create a single controller for a single subsystem
D)​Create one controller per use case
Question
​A return value in an interaction diagram is often a named object.
Question
​On a sequence diagram constructor messages are always sent directly to the object itself.
Question
​Which is the correct notation for a message label on a sequence diagram?

A)* [true/false]RetVal := name (param)
B)​[true/false]RetVal == name (param)
C)[true/false]seq# RetVal := name (param)
D)​*[true/false] seq# Retval := name (param)
Question
​The adapter pattern facilitates changing the API method names in a system.
Question
​Detailed design of use cases using communication diagrams requires that each input message is analyzed and extended.
Question
​A singleton pattern is a type of factory pattern.
Question
​On a communication diagram a common method to indicate a return value is with a dashed arrow.
Question
​A lifeline indicates when a method is executing for a destination object.​
Question
​The realization of a use case-determining what objects collaborate by sending messages to each other to carry out the use case-is done through the development of a(n)____ diagram.

A)system sequence
B)​package
C)interaction
D)​design class
Question
​System designers frequently create a class called a ____ that can serve as a collection point for incoming messages.

A)switchboard
B)​message controller
C)use case controller
D)​message collector
Question
​On a sequence diagram,view layer objects send messages to the controller.
Question
​Messages on communication diagrams use the same syntax as messages from on sequence diagrams.
Question
​When a message is sent from an originating object to a destination object it means that ______.

A)data is being passed from the origin object to the destination object
B)​a transition is occurring between the objects
C)a method is being invoked on the originating object
D)​a method is being invoked on the destination object
Question
​On a sequence diagram activation lifelines are attached to lifelines.
Question
​Which of the following is NOT a valid technique to return data from an input message?

A)A return object name
B)​A return message
C)A return value on an input message
D)​A return condition name
Question
​Message names should be given to indicate the service requested from the destination object.
Question
​On a sequence diagram the messages are numbered to indicate the order of firing.
Question
​Messages are comprised of five elements,all of which are optional except the method name.
Question
​The perfect technology assumption implies that _______.

A)the equipment will work without any problems
B)​the users understand the technology
C)issues related to technology are ignored
D)​issues related to scalability (high volumes) are ignored
Question
​Data access layer classes should ____.

A)process all business rules with appropriate logic
B)​accept input data
C)display data fields
D)​contain Structure Query Language (SQL) statements
Question
​The following notation "anOrd:Order" can be interpreted as follows:

A)Order is a class. anOrd is the identifier of an object in the class
B)​Order is an object. anOrd is the identifier for that order
C)Order is a class.  anOrd is an object in that class
D)​Order is an object.  anOrd is the reference to that object
Question
​Communication diagrams indicates the order of the messages with ____.

A)sequence numbers
B)​activation lifelines
C)arrows
D)​links
Question
​Which design model provides information for a design class diagram?

A)Deployment diagram
B)​Interaction diagram
C)Statechart diagram
D)​Package diagram
Question
​____ methods must be included in a design class diagram.

A)Constructor
B)​Use case specific
C)Getter
D)​Setter
Question
​Which of the following is NOT a component of the design pattern template?

A)Problem that requires a solution
B)​Example of the pattern
C)Description of when the pattern does not apply
D)​Consequences of the pattern
Question
​In a sequence when one assumes that the objects are already available to receive messages,that is considered to be the _______.

A)perfect technology assumption
B)​perfect memory assumption
C)perfect solution assumption
D)​perfect design assumption
Question
​When denoting a specific object in a sequence diagram,a ____ serves as the divider between the object name and the specific object identifier.

A)double colon
B)​colon
C)dash
D)​dot
Question
​Which of the following symbols is used in a communication diagram,but not in a sequence diagram?

A)Message arrow
B)​Object
C)Activation lifeline
D)​Link
Question
​View layer classes should do all of the following EXCEPT _______.

A)capture clicks and data entry
B)​start and shut down the system
C)create problem domain classes
D)​display forms
Question
​The final step in the object-oriented design (OOD)process consists of developing the ____.

A)attributes of the design classes
B)​method names of the design classes
C)interaction diagrams
D)​package diagrams
Question
​The primary models used for OO detailed design are ____ diagrams.

A)design class and statechart
B)​package and statechart
C)package and deployment
D)​design class and interaction
Question
​When a use case controller receives the initial request for an inquiry when the data access layer is added,it first ____.

A)begins the process to initialize the necessary data access objects in memory
B)​sends a message to the database to see if it is available
C)sends a message to the appropriate data access object to retrieve the data
D)​sends a return message to the view layer
Question
​Developing a(n)____ diagram is a multistep process of determining which objects work together and how they work together.

A)design class
B)​interaction
C)state machine
D)​package
Question
​Which of the following is an example of an interaction diagram?

A)Design class diagram
B)​Data access diagram
C)Package diagram
D)​Communication diagram
Question
​What is the first step in constructing a first-cut sequence diagram from the elements of the system sequence diagram (SSD)?

A)Determine which messages must be sent
B)​Create a use case controller
C)Replace the :System object with all the objects that must collaborate
D)​Select an input message from the use case
Question
​User interface objects in a sequence diagram often are labeled with the stereotype ____.

A)entity
B)​view or boundary
C)control
D)​persistent
Question
​Domain layer classes should ____.

A)prepare persistent classes for storage to the database
B)​start up and shut down the system
C)edit and validate input data
D)​establish and maintain connections to the database
Question
​____ diagrams partition a design class diagram into related functions.

A)Statechart
B)​Sequence
C)Interaction
D)​Package
Question
​A dashed arrow represents a(n)_______  relationship in a package diagram.
Question
​The ________  ________ DCD usually contains no method signatures,but does contain navigation visibility.
Question
​What is the process of detail design for a particular use case by elaborating the messages that are necessary to execute the use case?
Question
​The Sales subsystem needs to instantiate a new cart object.How should this be done?

A)Let the factory object do it.
B)​Let the view layer object do it.
C)Let the controller object do it.
D)​Let the customer object do it.
Question
​A representation of a period during which a method of an object is alive and executing is called its ______ ______.
Question
​A type of interaction diagram that does not have activation lifelines is called a ____________ diagram.
Question
​A labeled arrow between lifelines on a sequence diagram is called a(n)_______________.
Question
​A type of interaction diagram that emphasizes the order of the messages between objects for a specific use case is called a(n)________  diagram.
Question
​What is the correct syntax notation for a message on a communication diagram?

A)[t/f condition] seq-numb: ret-value := msg-name (para-list)
B)​[t/f condition] ret-value := msg-name (para-list)
C)[t/f condition] seq-numb: ret-value = msg-name (para-list)
D)​[t/f condition] seq-numb  ret-value = msg-name (para-list)
Question
​The _________________ pattern is a based on a class that helps to decouple the view layer from the business logic layer by receiving all input messages.
Question
​In a communication diagram,a(n)____________________ is used to show that two objects share a message.
Question
​A type of interaction diagram that emphasizes the objects that send and receive messages for a specific use case is called a(n)_______ diagram.
Question
​_____________   ____________ are relationships among elements that indicate which elements affect other elements in a system.
Question
Given the following code, identify the pattern. Class MyBuilder
{ static MyBuilder builder = null;
{ if builder == null {builder = new MyBuilder( );
Return builder;
}

A)Factory Pattern
B)​Singleton Pattern
C)Factory Method Pattern
D)​Adapter Pattern
Question
​A type of diagram that is used to define groups of classes as a subsystem is called a _______________ diagram.
Question
​Standard design techniques and templates that are recognized as good practice are called _________  ________.
Question
​Which of the following figures is NOT correct?
<strong>​Which of the following figures is NOT correct?  </strong> A)A B)​B C)C D)​D <div style=padding-top: 35px>

A)A
B)​B
C)C
D)​D
Question
​A different implementation of a function is required in an existing system. The best way to integrate this function into the system is ______

A)to write the code in a new class
B)​to write the code in an existing class
C)with the factory pattern
D)​​with the adapter pattern
Question
​The ______ ______ classes contain the user interface classes.
Question
​The _____________ pattern can be used to connect two disparate systems.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/93
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 13: Object-Oriented Design: Use Case Realization
1
​The starting point for identifying messages in detailed design of a use case is always the SSD.
True
2
​The activation lifeline is depicted by a vertical dashed line under an object.
False
3
​Adding a use case controller to a sequence diagram is an example of applying a design pattern.
True
4
​The true/false condition on a message indicates whether the method on the destination object will execute.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
5
​Since updating a design class diagram is done after the use case realization is complete,visibility information is no longer necessary.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
6
​The perfect technology assumption means not to worry about issues such as user security.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
7
​The code "if (someObject == null)" is part of the factory pattern.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
8
​A loop or repeating message or messages in a sequence diagram is depicted by a rectangle box.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
9
​The first-cut DCD includes method signatures.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
10
​Dependency relationships cannot exist between classes within packages.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
11
​The perfect memory assumption means that there is always adequate memory to execute the program.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
12
​An interaction diagram is a subclass of a sequence diagram.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
13
​The controller object is usually part of view layer.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
14
​A timeline on a communication diagram indicates the sequence of the messages.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
15
​Links on communication diagram simple show the flow of messages and are not the associations between classes.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
16
​There are two preferred methods to accessing the database. One is to have newly instantiated object call the data access object. The other is to let the controller access the data access object.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
17
​Design class diagrams and interaction diagrams should be developed independent of each other.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
18
​The perfect solution assumption means that we do not worry about exception conditions.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
19
​The best technique for accessing the database when multiple objects are needed is just to let the data access object instantiate objects.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
20
​The initial version of a communication diagram contains view layer and business layer.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
21
​It is better to have the data access object create a new object when multiple objects may be created.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
22
​What is the least cohesive approach in creating use case controllers in a system?

A)Define a single controller for all use cases.
B)​Define several controllers, each with a specific set of responsibilities
C)Create a single controller for a single subsystem
D)​Create one controller per use case
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
23
​A return value in an interaction diagram is often a named object.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
24
​On a sequence diagram constructor messages are always sent directly to the object itself.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
25
​Which is the correct notation for a message label on a sequence diagram?

A)* [true/false]RetVal := name (param)
B)​[true/false]RetVal == name (param)
C)[true/false]seq# RetVal := name (param)
D)​*[true/false] seq# Retval := name (param)
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
26
​The adapter pattern facilitates changing the API method names in a system.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
27
​Detailed design of use cases using communication diagrams requires that each input message is analyzed and extended.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
28
​A singleton pattern is a type of factory pattern.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
29
​On a communication diagram a common method to indicate a return value is with a dashed arrow.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
30
​A lifeline indicates when a method is executing for a destination object.​
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
31
​The realization of a use case-determining what objects collaborate by sending messages to each other to carry out the use case-is done through the development of a(n)____ diagram.

A)system sequence
B)​package
C)interaction
D)​design class
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
32
​System designers frequently create a class called a ____ that can serve as a collection point for incoming messages.

A)switchboard
B)​message controller
C)use case controller
D)​message collector
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
33
​On a sequence diagram,view layer objects send messages to the controller.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
34
​Messages on communication diagrams use the same syntax as messages from on sequence diagrams.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
35
​When a message is sent from an originating object to a destination object it means that ______.

A)data is being passed from the origin object to the destination object
B)​a transition is occurring between the objects
C)a method is being invoked on the originating object
D)​a method is being invoked on the destination object
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
36
​On a sequence diagram activation lifelines are attached to lifelines.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
37
​Which of the following is NOT a valid technique to return data from an input message?

A)A return object name
B)​A return message
C)A return value on an input message
D)​A return condition name
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
38
​Message names should be given to indicate the service requested from the destination object.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
39
​On a sequence diagram the messages are numbered to indicate the order of firing.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
40
​Messages are comprised of five elements,all of which are optional except the method name.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
41
​The perfect technology assumption implies that _______.

A)the equipment will work without any problems
B)​the users understand the technology
C)issues related to technology are ignored
D)​issues related to scalability (high volumes) are ignored
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
42
​Data access layer classes should ____.

A)process all business rules with appropriate logic
B)​accept input data
C)display data fields
D)​contain Structure Query Language (SQL) statements
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
43
​The following notation "anOrd:Order" can be interpreted as follows:

A)Order is a class. anOrd is the identifier of an object in the class
B)​Order is an object. anOrd is the identifier for that order
C)Order is a class.  anOrd is an object in that class
D)​Order is an object.  anOrd is the reference to that object
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
44
​Communication diagrams indicates the order of the messages with ____.

A)sequence numbers
B)​activation lifelines
C)arrows
D)​links
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
45
​Which design model provides information for a design class diagram?

A)Deployment diagram
B)​Interaction diagram
C)Statechart diagram
D)​Package diagram
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
46
​____ methods must be included in a design class diagram.

A)Constructor
B)​Use case specific
C)Getter
D)​Setter
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
47
​Which of the following is NOT a component of the design pattern template?

A)Problem that requires a solution
B)​Example of the pattern
C)Description of when the pattern does not apply
D)​Consequences of the pattern
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
48
​In a sequence when one assumes that the objects are already available to receive messages,that is considered to be the _______.

A)perfect technology assumption
B)​perfect memory assumption
C)perfect solution assumption
D)​perfect design assumption
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
49
​When denoting a specific object in a sequence diagram,a ____ serves as the divider between the object name and the specific object identifier.

A)double colon
B)​colon
C)dash
D)​dot
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
50
​Which of the following symbols is used in a communication diagram,but not in a sequence diagram?

A)Message arrow
B)​Object
C)Activation lifeline
D)​Link
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
51
​View layer classes should do all of the following EXCEPT _______.

A)capture clicks and data entry
B)​start and shut down the system
C)create problem domain classes
D)​display forms
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
52
​The final step in the object-oriented design (OOD)process consists of developing the ____.

A)attributes of the design classes
B)​method names of the design classes
C)interaction diagrams
D)​package diagrams
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
53
​The primary models used for OO detailed design are ____ diagrams.

A)design class and statechart
B)​package and statechart
C)package and deployment
D)​design class and interaction
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
54
​When a use case controller receives the initial request for an inquiry when the data access layer is added,it first ____.

A)begins the process to initialize the necessary data access objects in memory
B)​sends a message to the database to see if it is available
C)sends a message to the appropriate data access object to retrieve the data
D)​sends a return message to the view layer
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
55
​Developing a(n)____ diagram is a multistep process of determining which objects work together and how they work together.

A)design class
B)​interaction
C)state machine
D)​package
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
56
​Which of the following is an example of an interaction diagram?

A)Design class diagram
B)​Data access diagram
C)Package diagram
D)​Communication diagram
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
57
​What is the first step in constructing a first-cut sequence diagram from the elements of the system sequence diagram (SSD)?

A)Determine which messages must be sent
B)​Create a use case controller
C)Replace the :System object with all the objects that must collaborate
D)​Select an input message from the use case
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
58
​User interface objects in a sequence diagram often are labeled with the stereotype ____.

A)entity
B)​view or boundary
C)control
D)​persistent
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
59
​Domain layer classes should ____.

A)prepare persistent classes for storage to the database
B)​start up and shut down the system
C)edit and validate input data
D)​establish and maintain connections to the database
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
60
​____ diagrams partition a design class diagram into related functions.

A)Statechart
B)​Sequence
C)Interaction
D)​Package
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
61
​A dashed arrow represents a(n)_______  relationship in a package diagram.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
62
​The ________  ________ DCD usually contains no method signatures,but does contain navigation visibility.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
63
​What is the process of detail design for a particular use case by elaborating the messages that are necessary to execute the use case?
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
64
​The Sales subsystem needs to instantiate a new cart object.How should this be done?

A)Let the factory object do it.
B)​Let the view layer object do it.
C)Let the controller object do it.
D)​Let the customer object do it.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
65
​A representation of a period during which a method of an object is alive and executing is called its ______ ______.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
66
​A type of interaction diagram that does not have activation lifelines is called a ____________ diagram.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
67
​A labeled arrow between lifelines on a sequence diagram is called a(n)_______________.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
68
​A type of interaction diagram that emphasizes the order of the messages between objects for a specific use case is called a(n)________  diagram.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
69
​What is the correct syntax notation for a message on a communication diagram?

A)[t/f condition] seq-numb: ret-value := msg-name (para-list)
B)​[t/f condition] ret-value := msg-name (para-list)
C)[t/f condition] seq-numb: ret-value = msg-name (para-list)
D)​[t/f condition] seq-numb  ret-value = msg-name (para-list)
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
70
​The _________________ pattern is a based on a class that helps to decouple the view layer from the business logic layer by receiving all input messages.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
71
​In a communication diagram,a(n)____________________ is used to show that two objects share a message.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
72
​A type of interaction diagram that emphasizes the objects that send and receive messages for a specific use case is called a(n)_______ diagram.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
73
​_____________   ____________ are relationships among elements that indicate which elements affect other elements in a system.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
74
Given the following code, identify the pattern. Class MyBuilder
{ static MyBuilder builder = null;
{ if builder == null {builder = new MyBuilder( );
Return builder;
}

A)Factory Pattern
B)​Singleton Pattern
C)Factory Method Pattern
D)​Adapter Pattern
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
75
​A type of diagram that is used to define groups of classes as a subsystem is called a _______________ diagram.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
76
​Standard design techniques and templates that are recognized as good practice are called _________  ________.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
77
​Which of the following figures is NOT correct?
<strong>​Which of the following figures is NOT correct?  </strong> A)A B)​B C)C D)​D

A)A
B)​B
C)C
D)​D
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
78
​A different implementation of a function is required in an existing system. The best way to integrate this function into the system is ______

A)to write the code in a new class
B)​to write the code in an existing class
C)with the factory pattern
D)​​with the adapter pattern
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
79
​The ______ ______ classes contain the user interface classes.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
80
​The _____________ pattern can be used to connect two disparate systems.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 93 flashcards in this deck.