MIS 552- Chapter 13
Which of the following is NOT a valid technique to return data from an input message?
A return condition name
Which of the following is an example of an interaction diagram?
Communication diagram
What is the least cohesive approach in creating use case controllers in a system?
Define a single controller for all use cases.
Which of the following is NOT a component of the design pattern template?
Description of when the pattern does not apply
Which is the correct notation for a message label on a sequence diagram?
* [true/false]RetVal := name (param)
The following notation "anOrd:Order" can be interpreted as follows:
Order is an object. anOrd is the reference to that object
____ diagrams partition a design class diagram into related functions.
Package
What is the first step in constructing a first-cut sequence diagram from the elements of the system sequence diagram (SSD)?
Replace the :System object with all the objects that must collaborate
Given the following code, identify the pattern. Class MyBuilder { static MyBuilder builder = null; { if builder == null {builder = new MyBuilder( ); return builder; }
Singleton Pattern
What is the correct syntax notation for a message on a communication diagram?
[t/f condition] seq-numb: ret-value := msg-name (para-list)
When a message is sent from an originating object to a destination object it means that ______.
a method is being invoked on the destination object
When a use case controller receives the initial request for an inquiry when the data access layer is added, it first ____.
begins the process to initialize the necessary data access objects in memory
When denoting a specific object in a sequence diagram, a ____ serves as the divider between the object name and the specific object identifier.
colon
Developing a(n) ____ diagram is a multistep process of determining which objects work together and how they work together.
interaction
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.
interaction
The perfect technology assumption implies that _______.
issues related to technology are ignored
The final step in the object-oriented design (OOD) process consists of developing the ____.
package diagrams
In a sequence when one assumes that the objects are already available to receive messages, that is considered to be the _______.
perfect memory assumption
Domain layer classes should ____.
prepare persistent classes for storage to the database
Which design model provides information for a design class diagram?
Interaction diagram
___ methods must be included in a design class diagram.
Use case specific
Data access layer classes should ____.
contain Structure Query Language (SQL) statements
The Sales subsystem needs to instantiate a new cart object. How should this be done?
Let the customer object do it.
Which of the following symbols is used in a communication diagram, but not in a sequence diagram?
Link
View layer classes should do all of the following EXCEPT _______.
create problem domain classes
The primary models used for OO detailed design are ____ diagrams.
design class and interaction
Communication diagrams indicates the order of the messages with ____.
sequence numbers
System designers frequently create a class called a ____ that can serve as a collection point for incoming messages.
use case controller
User interface objects in a sequence diagram often are labeled with the stereotype ____.
view or boundary
A different implementation of a function is required in an existing system. The best way to integrate this function into the system is ______
with the adapter pattern