Quiz 1 (Past Questions) Flashcards

1
Q

Class level method is also known as :
A. Instance method
B. Static method

A

B. Static method

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

Interaction Diagram focuses only on the business logic
A. False
B. True

A

A. False

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

A controller class between Ul classes and problem domain classes is an example of:
A. Indirection
B. Protection from Variations

A

A. Indirection

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

An interaction diagram that emphasizes the set of objects involved in a use case
A. Communication diagram
B. Sequence diagram

A

A. Communication diagram

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

Entity class is:
A. Persistent data
B. Temporary data

A

A. Persistent data

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

Start and shut down the system is the responsibility of:
A. Data Access Layer
B. View Layer

A

B. View Layer

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

Class that can’t be instantiated is:
A. Concrete class
B. Abstract class

A

c. Abstract class

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

In CRC, the first card to design is for
A. The class that gets the first message from the controller
B. The class that send the first message to the controller

A

A. The class that gets the first message from the controller

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

Class level attribute should be written:
A. Underline
B. Italics

A

A. Underline

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

In a sequence diagram, massages between object should always be on lifeline:
A. True
B. False

A

B. False

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

In the Interaction diagram the relationship between communication Diagram class and Link class is :
A. Aggregation
B. Composition

A

B. Composition

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

The Design pattern class that create a utility class called:
A. Adapter
B. Factory

A

B. Factory

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

In the first cut CD we add and elaborate the methods
A. True
B. False

A

B. False

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

A quantitative measure of the focus or unity of purpose within a single class is :
A. Cohesion
B. Coupling

A

A. Cohesion

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

Dependency relationship is A relationship that means
A. A change of the independent component may require a change in the dependent component
B. A change of the dependent component may require a change in the independent component

A

A. A change of the independent component may require a change in the dependent component

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