1/12
5/12/2014
Correct!
The degree of interaction within a module is known as cohesion. Schach S7.1 p170
http://www.mhhe.com/cgi-bin/netgrader.pl
2/12
5/12/2014
11. Why can't the Object-Oriented paradigm be directly implemented in classical languages such
as C, COBOL and FORTRAN?
No response was registered by the student.
http://www.mhhe.com/cgi-bin/netgrader.pl
3/12
5/12/2014
14. The relationship of some kind between two apparently unrelated classes is referred to as a(n):
Your response: A. specialisation
Incorrect.
The relationship of some kind between two apparently unrelated classes is referred to as an
association. Schach S7.7 p199
15. The relationship between a derived class (or subclass) and base class is referred to as:
Your response: A. association
Incorrect.
Association refers to a relationship between two apparently unrelated classes. Schach S7.7
p199
4/12
5/12/2014
18. Why can polymorphism and dynamic binding have a negative impact on inheritance?
Your response: A. This statement is not true. Like all object-oriented concepts
polymorphism and dynamic binding make modules more cohesive and lower coupling.
Incorrect.
Polymorphism and dynamic binding make the object harder to understand as there are
multiple possibilities for a specific method. Schach S7.8 p203
19. Myers (1978) identifies seven levels of cohesion. Which level of cohesion may be defined as
followed; "the output from one element in the component serves as input for some other element"?
Your response: A. None of these
Incorrect.
In communicational cohesion the output from one element in the component serves as input
for some other element. Schach C7.2.5 p174
20. Myers (1978) identifies seven levels of cohesion. Which of the following is the strongest form of
cohesion?
Your response: A. Functional cohesion
Incorrect.
In the structured paradigm , the optimal level of cohesion is functional. Schach C7.2 Fig 7.4,
p 171
5/12
5/12/2014
23. Myers (1978) identifies seven levels of cohesion. Which of the following cohesion levels has
the highest strength?
Your response: A. Procedural cohesion
Incorrect.
Communicational (also known as Sequential) cohesion has the highest strength compared to
other cohesion levels except functional and informational. Schach C7.2.5
http://www.mhhe.com/cgi-bin/netgrader.pl
6/12
5/12/2014
25. Of the following the strongest level of cohesion in software design is:
Your response: A. Sequential
Incorrect.
The levels of cohesion from weakest to strongest are: Coincidental, Logical, Temporal,
Procedural, Communicational, Functional/Informational. Schach C7.2 Fig 7.4, p 171
27. Object-oriented languages are so effective for rapid prototyping because ___
Your response: A. fewer Lines Of Code (LOC) are required to produce a Function Point
(FP) than for other comparable languages.
Incorrect.
Object-oriented languages are so effective for rapid prototyping because the components
can be readily adapted by creating new (sub-) components that inherit the atrtibutes and
operations of the original component. Only attributes and operations that need to be changed
have to be modified.
7/12
5/12/2014
You should aim to maximize the interaction within a module and minimize the interaction
between modules. Schach C7.1 p170.
29. Cohesion is a measure of how closely the parts of a component relate to each other and
Coupling is a measure of the strength of component interconnections.
Designers should aim to produce:
Your response: A. Strongly cohesive designs
Incorrect.
You should aim to maximize the interaction within a module and minimize the interaction
between modules. Schach C7.1 p170.
30. The two main design strategies are known as functional design and object-orientated design.
Which of the following statements is false?
Your response: A. In an object-orientated design the system state is decentralised and
each object manages its own state information.
Incorrect.
The same design approach must be used in the design of different system components to
ensure consistency, especially for large software systems. Schach C7.10 p204-207.
31. Which of the following levels of component cohesion strength is the lowest?
Your response: A. Procedural cohesion.
Incorrect.
The levels of cohesion from weakest to strongest are: Coincidental, Logical, Temporal,
Procedural, Communicational, Functional/Informational. Schach C7.2 Fig 7.4, p 171
http://www.mhhe.com/cgi-bin/netgrader.pl
8/12
5/12/2014
32. The measure of the closeness between components of any module is known as cohesion. The
cohesion in which the components are NOT related but are simply bundled is known as:
Your response: A. Temporal cohesion.
Incorrect.
In coincidental cohesion there is no relationship between the components. Schach C7.2 p
171
33. Which of the following is NOT one of the seven levels of cohesion?
Your response: A. Procedural cohesion
Incorrect.
There are seven levels of cohesion and object cohesion is not one of them. Schach C7.2 p
171
35. Experience of object-oriented programming has shown that the inheritance network must be
periodically reviewed and restructured ____________ .
Your response: A. to increase it's coupling and decrease its cohesion.
Incorrect.
http://www.mhhe.com/cgi-bin/netgrader.pl
9/12
5/12/2014
Experience of object-oriented programming has shown that the inheritance network must be
periodically reviewed and restructured to reduce its complexity and functional duplication.
Schach C7.10 p204-207.
36. Which of the following levels of cohesion, as identified by Myers (1978), allows components to
perform similar functions such as input and error handling to be put together into a single
component?
Your response: A. Temporal cohesion
Incorrect.
The cohesion of a component is a measure of the closeness of the relationships between
components. Schach C7.2 p 171
http://www.mhhe.com/cgi-bin/netgrader.pl
10/12
5/12/2014
39. If one module directly references the contents of another they are said to be _______ coupled.
Your response: A. content
Correct!
Two modules are content coupled if one module directly references the contents of another.
Schach C7.3.1 p178
40. If a data structure is passed as an argument, but the called module operates on only some of
the individual components of that data structure then they are said to be _______ coupled.
Your response: A. content
Incorrect.
Two modules are stamp coupled if a data structure is passed as an argument, but the called
module operates on only some of the individual components of that data structure. Schach
C7.3.4 p180
41. If every argument is either a simple argument or a data structure in which all elements are used
by the called module then they are said to be _______ coupled.
Your response: A. content
Incorrect.
Two modules are data coupled if all arguments are homogeneous data elements. That is,
every argument is either a simple argument or a data structure in which all elements are used
by the called module. Schach C7.3.5 p182
11/12
5/12/2014
The three types of abstraction (data, procedural and iteration) are all instances of the more
general concept of information hiding. Schach C7.6 p195
43. The problem that once a class has been implemented, any change to an existing class directly
affects all is descendents in the inheritance hierarchy is known as:
Your response: A. the fragile base class problem
Correct!
The affected elements have to be at least recompiled and sometimes recoded. Schach
C7.10 p206
Your Score:
Correctly answered 6 out of 43 total questions or 14.0% correct.
Click here to retake quiz.
http://www.mhhe.com/cgi-bin/netgrader.pl
12/12