GATE|GATE-CS-2014 PAPER-03|Question7
In the context of modular software design which one of the following combinations is desirable?
(A) High cohesion and lower coupling.
(B) High cohesion and low coupling.
(C) Low cohesion and high coupling.
(D) Low cohesion and low coupling.
Answer (B)
Cohesion is a measure of internal strength within a module,whereas coupling is a measure of inter dependency among the modules.So in the context of modular software design there should be high cohesion and low coupling.
Different type of cohesion
Coincidental
Logical
Temporal
Procedural
communicational
sequential
functional
Different type of coupling
No direct coupling
Data coupling
Stamp coupling
Control coupling
Common coupling
Content coupling
Coupling is a property of a collection of modules.
Cohesion is a property or characteristic of an individual module.
0 Comments