MIS 20
One big difference between an Internet based system and a Client/Server system is that an Internet system maintains state information.
F
One tenet of Agile philosophy is that while analysis models may be useful, it generally is not necessary to develop design models.
F
Software systems can generally be divided into three types of systems: single-user systems, enterprise-level systems, and Web-based systems.
F
The controller object is usually part of view layer.
F
The most important model in object-oriented detailed design is a class diagram.
F
The objective of object-oriented analysis is to identify the objects that must work together to carry out each use case.
F
"Just in time" systems design is a popular technique used in adaptive approaches to projects.
T
Detailed Object-oriented design (OOD) is done on a use case-by-use case basis.
T
In object-oriented design, the design models are extensions of the analysis models
T
The objective of object-oriented detailed design is to identify and specify all the objects that must work together to carry out each use case.
T
The primary difference between Web based systems and non-Internet systems is in how the view layer interacts with the domain and data access layers.
T
The primary difference between a design class symbol and a problem domain class symbol is the addition of method signatures.
T
17. Which of the following is correct UML notation for an attribute in a design class? a. visibility name:type-expression = initial-value{property} b. visibility class-name:type-expression {property} c. visibility name:initial-value(property) d. visibility name:type-expression initial-value (property)
a
An input window class is an example of a(n) ____ design class type. a. boundary c. entity b. control d. persistent
a
In a design class diagram, navigation visibility is identified by ____. a. a solid arrow between the classes, pointing to the visible class b. a solid arrow between the classes, initiating from the visible class c. a dashed arrow between the classes, pointing to the visible class d. a solid line between the classes
a
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
a
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 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
a
Which of the following is a general guideline for designing navigation visibility? a. A superior/subordinate relationship is usually navigated from the superior to the subordinate class b. A superior/subordinate relationship is usually navigated from the subordinate to the superior class c. Relationships in which objects in one class cannot exist without objects of another class are usually navigated from the more dependent class to the more independent class d. Navigation arrows should not be modified during the design process
a
A representation of a period during which a method of an object is alive and executing is called its _______.
activation lifeline
A(n) ____ class acts as a switchboard between the view layer and the domain layer. a. boundary c. entity b. control d. persistent
b
CRC stands for what? a. Collaboration responsibility card c. class relationship collaboration b. Class responsibility collaboration d. collaboration relationship class
b
Developing a(n) ____ diagram is a multistep process of determining which objects work together and how they work together. a. design class c. state machine b. interaction d. package
b
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 c. perfect solution assumption b. perfect memory assumption d. perfect design assumption
b
UML provides a technique to extend the standard UML notation to include new symbols. This technique is called ________. a. extending c. prototyping b. stereotyping d. externalizing
b
User interface objects in a sequence diagram often are labeled with the stereotype ____. a. entity c. control b. view or boundary d. persistent
b
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 c. dash b. colon d. dot
b
Which diagram is directly used to write programming code for object-oriented systems? a. Sequence diagram c. Package diagram b. Design class diagram d. State-machine diagram
b
Which of the following is the best coupling choice for an input window, domain, and database object in a system? a. The input window is coupled to both the domain and database objects. b. The input window is coupled to the domain and the domain is coupled to the database. c. The input window and the domain are both coupled to the database object. d. All objects are coupled to each other.
b
High coupling ____ in a system. a. is easier to maintain b. reduces ripple effects in a system when changes occur c. adds complexity d. decreases visibility between classes
c
If you are doing detailed design for the use case Create New Order, which class should receive the first input? a. OrderTransaction c. OrderHandler b. Order d. Customer
c
In Unified Modeling Language (UML) notation, a stereotype is indicated by ____. a. parentheses c. guillemets b. brackets d. underline
c
System designers frequently create a class called a ____ that can serve as a collection point for incoming messages. a. switchboard c. use case controller b. message controller d. message collector
c
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
c
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 c. interaction b. package d. design class
c
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
c
Which analysis model serves as an input model to a design class diagram? a. Use case diagram c. Domain model class diagram b. Activity diagram d. System sequence diagram (SSD)
c
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
c
Which of the following is true of class-level methods? a. They depend on the existence of a particular object. b. They cannot access data across all objects. c. They are executed by the class instead of a specific object of the class. d. There can only be one class method per class.
c
Which of the following is usually NOT included in a first-cut design class diagram? a. Initial value information for attributes c. Method signatures b. Attribute types d. Navigation visibility arrows
c
Which of the following is valid Unified Modeling Language (UML) notation for a method signature? a. visibility name:type-expression {parameter list} b. name:class-name (parameter list):type-expression c. visibility name(parameter list):type-expression d. visibility class-name:name:type-expression {parameter list}
c
The term "_______" is a measure of the focus or unity of purpose within a single class.
cohesion
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
A class that can be instantiated with objects of its type being created is called a(n) ______
concrete class
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
After completing a use-case design using CRC cards, the next step is to _______. a. add required utility classes c. program the use case b. select another use case d. update the design class diagram
d
Given two classes, customer and order, which class would probably have navigational visibility to which class? a. Cannot determine based on the information provided b. Bidirectional -- each has visibility to the other c. Order to Customer d. Customer to Order
d
In design class notation, the ____ of an attribute is enclosed in curly braces {}. a. visibility c. initial-value b. type-expression d. property
d
Ports and sockets are used to show the interface in what kind of UML diagram? a. Deployment diagram c. Package diagram b. Network diagram d. Component diagram
d
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
d
Which of the following is NOT a valid technique to return data from an input message? a. A return object name c. A return value on an input message b. A return message d. A return condition name
d
Which of the following is NOT one of the categories of difference between networked based systems and Internet based systems. a. State configuration c. Server configuration b. Client configuration d. Connectivity configuration
d
Which of the following is NOT part of a multilayer object-oriented design (OOD)? a. Database access c. User input form b. Problem domain object d. Functional module
d
Which of the following is included in the top compartment of a design class? a. Attributes c. Type-expression b. Parameter list d. Stereotype name
d
Which two models are the primary models in object-oriented detailed design? a. Design class diagram and component diagram b. Package diagram and CRC cards c. Sequence diagram and state machine diagram d. Sequence diagram and design class diagram
d
A(n) ____________________ class is a class that is used to retrieve data from a database.
data access
The main purpose of a(n) ____________________ diagram is to document and describe the programming classes that will be built for the new system.
design class
Standard design techniques and templates that are recognized as good practice are called _________________.
design patterns
Design class diagrams and interaction diagrams should be developed independent of each other.
f
Developers do not typically add more classes to design class diagrams than were originally defined in the domain model.
f
It is usually a bad idea to try to include user-interface classes to a CRC design.
f
Since updating a design class diagram is done after the use case realization is complete, visibility information is no longer necessary.
f
The activation lifeline is depicted by a vertical dashed line under an object.
f
The first-cut DCD includes method signatures.
f
The first-cut sequence diagram contains view layer and business layer
f
The perfect memory assumption means that there is always adequate memory to execute the program
f
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.
f
The ________________ DCD usually contains no method signatures, but does contain navigation visibility
first-cut
What term is used to describe a design principle in which an intermediate class is placed between two classes to decouple them but still link them?
indirection
The creation of a programming object based on the template provided by the class definition is called _______.
instantiation
A labeled arrow between lifelines on a sequence diagram is called a(n) _______________.
message
What do we call the notation that shows all the information required to call or invoke a method?
method signature
A design principle in which objects are responsible for carrying out system processing is called ______.
object responsibility
A(n) _______ class is one where its objects exist after the system is turned off.
persistent
Problem domain classes that must be remember between program execution are called ______ classes.
persistent
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
A type of interaction diagram that emphasizes the order of the messages between objects for a specific use case is called a(n) ________ diagram.
sequence
A loop or repeating message or messages in a sequence diagram is depicted by a rectangle box.
t
Adding a use case controller to a sequence diagram is an example of applying a design pattern.
t
Separation of responsibilities is a design principle which dictates that reading a database should not be done in a problem domain class.
t
The best technique for accessing the database when multiple objects are needed is just to let the data access object instantiate objects.
t
The perfect technology assumption means not to worry about issues such as user security.
t
The starting point for the detailed design of a use case is always the SSD.
t
What is the term used to define the characteristic of an object attribute that describes whether it can be directly accessed by another object -- denoted by + or - ?
visibility