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