CH13 Flashcards

Object-Oriented Design

1
Q

___________ is a type of interaction diagram which emphasizes the sequence of messages involved in a use case.

A

Sequence diagram

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

__________ is a type of interaction diagram which emphasizes the set of objects involved in a use case.

A

Communication diagram

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

__________ is the process of elaborating the detailed design for a particular use case using interaction diagrams.

A

Use Case Realization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

CRC Cards focuses on the _______, also known as problem domain layer of classes

A

business logic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

__________ is the switchboard between user-interface classes and domain layer classes.

A

Use case controller class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Controller class reduces _______ betweeen view and domain layer.

A

coupling

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

T/F: Several controllers can be combined together for a group of related use cases.

A

T, a controller can be created for each use case and several can be combined together…

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A controller class is a completely ________ class

A

artificial

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Message syntax in a communication diagram:

A

[true/false condition] sequence-number: return-value: = message-name (parameter-list)

Every element of a message is optional

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

In OOD, we use _______ for simples use cases.
________ for moderately complex use cases.
and _________ for complex use cases.

A

CRC Cards
Communication Diagrams
Sequence Diagrams

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

In _________, we determine resoinsibilites and collaborations following the First-cut DCD

A

CRC Cards

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

In Communication diagrams and Sequence diagrams, we identify ________, define ______, and add multilayer _______.

A

messages, parameters, objects

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

In a First-cut DCD, we identify ______, elaborate ______, and identify _______.

while in Final DCD, we add and elaborate ______, and finalize ___________.

A

classes, attributes, navigation.

methods, navigation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

We configure packages with classes and determine dependencies in ________ diagram.

A

package

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

__________ is the vertical box on a lifeline which indicates the time period when the object is executing based on the message.

A

Activation lifeline

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

In a sequence diagram, messages have origins and destinations which maybe on lifeline or on _______ box.

A

object

17
Q

T/F: In a sequence diagram, Return values may be dashed message arrow, or on same message.

A

True.

18
Q

No logon or other technical issue, describes the _________ assumption.

A

Perfect technology

19
Q

No need to read or write data, describes the ___________ assumption.

A

Perfect memory

20
Q

No exception conditions, no error handling, describes the __________ assumption.

A

Perfect Solution

21
Q

we add a view layer and data layer for ___________ diagrams.

A

Multilayer Sequence

22
Q

________ digrams can be used to define formal packages such as subsystems.

A

Package

23
Q

T/F: Package diagrams can be used informally to group classes together for understanding.

A

True.

24
Q

A relationship between packages or classes within a package in which a change of the (independent/dependent) component may require a change in the (independent/dependent) component.

A

independent, dependent

(View layer depends on data access layer)