1Z0-804J Free Dumps Study Materials
Question 5: 次 があ りま す:
どれが 正し いで すか 。
A. 従業員 はコ ンポ ジシ ョ ンを利 用し てい ます 。
B. 従 業員 はメ ール を「持 ってい ます 」 。
C. 従業 員は レタ ープ リン タ「で す」 。
D. 従業 員は コヒ ージ ョン を持っ てい ます 。
Correct Answer: D
Explanation:
The relationship between Employee and e-mail is poorly implemented here.
There is low cohesion.
Note:
Low cohesion is associated with undesirable traits such as being difficult to maintain,
difficult to test, difficult toreuse, and even difficult to understand.
Cohesion is decreased if:
The functionalities embedded in a class, accessed through its methods, have little in
common. Methods carryout many varied activities, often using coarsely-grained or
unrelated sets of data. Disadvantages of lowcohesion (or"weak cohesion") are:
Increased difficulty in understanding modules.
Increased difficulty in maintaining a system, because logical changes in the domain affect
multiple modules,and because changes in one module require changes in related modules.
Increased difficulty in reusing amodule because most applications won't need the random
set of operations provided by a module.Reference:Cohesion (computer science)