Quiz 6 Flashcards

(10 cards)

1
Q

Inheritance is not supported by Java and C++.

A

False

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

If a module performs multipule, completely unrelated actions, the module should be broken into separate modules, each performing one task.

A

True

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

________ refers to the ability of a function to be applied to different argument types, or an object to refer to instances of various classes at run-time.

A

Polymorphism

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

Polymorphism and dynamic binding can have a negative impact on maintenance

A

True

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

Among the following cohesion types, which of them should be preferred (promotes reuse)?

A

Informational Cohesion

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

Among the following coupling types, which of them should be preferred (promotes reuse)?

A

Data Coupling

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

The object-oriented paradigm gives overall equal attention to data and operations

A

True

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

Two modules are ___________ coupled if they have write access to global data.

A

Common

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

Two modules are ___________ coupled if a data structure is passed as a parameter, but the called module operates on some but not all of the individual components of the data structure.

A

Stamp

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

An instance of a superclass inherits all attributes of its subclass.q

A

False

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