0
257views
Explain differentiation between Compare coupling and cohesion.
1 Answer
written 24 months ago by |
Solution:
Cohesion | Coupling |
---|---|
Cohesion represents the relationship within a module. | Coupling represents the relationships between modules. |
Known as the intra-module concept. | Known as the inter-module concept. |
Tells about the relative functional strength of the module. | Tells about the independence of two modules related to each other. |
Cohesion shows the module's relative functional strength. | Cohesion shows the module's relative functional strength. Coupling shows the relative independence between the modules. |
The best software is given when the loose coupling is used. | The best software is received by high cohesion |
While creating you should aim for high cohesion, i.e., a cohesive component/ module focuses on a single function (i.e., singlemindedness) with little interaction with other modules of the system. | While creating, you should aim for low coupling, i.e., dependency among modules should be less. |