ch.11

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Which is the correct notation for a message label on a sequence diagram?

* [true/false]RetVal := name (param)

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? b Data access 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

True or False : Design class diagrams and interaction diagrams should be developed independent of each other.

False

True or False: Dependency relationships cannot exist between classes within packages.

False

True or False: Design class diagrams and interaction diagrams should be developed independent of each other.

False

True or False: Since updating a design class diagram is done after the use case realization is complete, visibility information is no longer necessary.

False

True or False: The activation lifeline is depicted by a vertical dashed line under an object.

False

True or False: The controller object is usually part of view layer.

False

True or False: The first-cut sequence diagram contains view layer and business layer.

False

True or False: The perfect memory assumption means that there is always adequate memory to execute the program.

False

True or False: 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.

False

Which design model provides information for a design class diagram?

Interaction diagram

The customer relationship system needs to instantiate a new customer object. How should this be done?

Let the controller object do it.

Which of the following symbols is used in a communication diagram, but not in a sequence diagram?

Link

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

24 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

True or False: A loop or repeating message or messages in a sequence diagram is depicted by a rectangle box.

True

True or False: Adding a use case controller to a sequence diagram is an example of applying a design pattern.

True

True or False: The best technique for accessing the database when multiple objects are needed is just to let the data access object instantiate objects.

True

True or False: The perfect solution assumption means that we do not worry about exception conditions.

True

True or False: The perfect technology assumption means not to worry about issues such as user security.

True

True or False: The starting point for the detailed design of a use case is always the SSD.

True

____ methods must be included in a design class diagram.

Use case specific

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

A representation of a period during which a method of an object is alive and executing is called its _______.

activation lifeline

The _____________ pattern can be used to connect two disparate systems.

adapter

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 objects in memory

A type of interaction diagram that does not have activation lifelines is called a ____________ diagram.

communication

A type of interaction diagram that emphasizes the objects that send and receive messages for a specific use case is called a(n) _______ diagram.

communication

Data access layer classes should ____.

contain Structure Query Language (SQL) statements

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.

controller

View layer classes should do all of the following EXCEPT _______.

create problem domain classes

A dashed arrow represents a(n) _______ relationship in a package diagram.

dependency

_________________________ are relationships among elements that indicate which elements affect other elements in a system.

dependency relationships

The primary models used for OO detailed design are ____ diagrams.

design class and interaction

Standard design techniques and templates that are recognized as good practice are called _________________.

design patterns

The ________________ DCD usually contains no method signatures, but does contain navigation visibility.

first cut

The ___________________ sequence diagram only contains problem domain objects.

first cut

Developing a(n) ____ diagram is a multistep process of determining which objects work together and how they work together.

interaction

The perfect technology assumption implies that _______.

issues related to technology are ignored

In a communication diagram, a(n) ____________________ is used to show that two items share a message.

link

A labeled arrow between lifelines on a sequence diagram is called a(n) _______________.

message

Problem domain classes that must be remember between program execution are called ______ classes.

persistent

Domain layer classes should ____.

prepare persistent classes for storage to the database

Use case ____________________ is the process of detail design for a particular use case by elaborating the messages that are necessary to execute the use case.

realization

______________________________ is a design principle in which analysts divide or segregate classes into several highly cohesive classes.

separation of responsibilities

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

The _____________ layer contains the user interface classes.

view

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


संबंधित स्टडी सेट्स

AP Bio Ch 1-3 quiz study guide (CHAPTER 3)

View Set

Unit 5 - Alternative Investments and Other Assets

View Set

Unit 2: Structures and Functions of Government Vocabulary

View Set

AP Psych Mini Quiz Questions (All Units)

View Set