Quiz 7 Flashcards

(10 cards)

1
Q

T/F
There is as yet no systematic way to determine when and how to apply design patterns.

A

True

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

Which of the following design patterns allows you to decouple an abstraction from its implementation.

Iterator
Adapter
Bridge
Abstract Factory

A

Bridge

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

T/F
A computer program is said to be portable if there is very low effort required to make it run on different platforms.

A

True

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

T/F
Reusable parts are constructed first in the systematic (deliberate) reuse, and then, products are built using these parts.

A

True

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

T/F
A useful technique for increasing the portability of system software is to use levels of abstraction.

A

True

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

T/F
Only design patterns can be reused in software development.

A

False

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

Which of the following design patterns solves the implementation incompatibilities?

Adapter
Bridge
Iterator
Abstract Factory

A

Adapter

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

T/F
Reuse does not have an effect on maintenance.

A

False

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

Which of the following design patterns allows you to traverse elements of a collection without exposing its underlying representation?

Abstract Factory
Bridge
Iterator
Adapter

A

Iterator

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

T/F
Software developed in one context needs to be retested when integrated into another context.

A

True

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