Quiz 6 Flashcards
(10 cards)
T/F
If a module performs multiple, completely unrelated actions, the module should be broken into separate modules, each performing one task.
True
T/F
The object-oriented paradigm gives overall equal attention to data and operations.
True
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.
Stamp
Control
Common
Content
Stamp
Among the following coupling types, which of them should be preferred (promotes reuse)?
Content Coupling
Control Coupling
Common Coupling
Data Coupling
Data Coupling
_______________ 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.
Polymorphism
Data Encapsulation
Cohesion
Information hiding
Polymorphism
T/F
Inheritance is not supported by Java and C++.
False
T/F
An instance of a superclass inherits all attributes of its subclass.
False
T/F
Polymorphism and dynamic binding can have a negative impact on maintenance.
True
Two modules are ________________ coupled if they have write access to global data.
Stamp
Common
Content
Control
Common
Among the following cohesion types, which of them should be preferred (promotes reuse)?
Coincidental Cohesion
Informational Cohesion
Temporal Cohesion
Logical Cohesion
Informational Cohesion