- The cohesion of a module represents how tightly the internal element of the module is bonded to one other.
- Cohesion is the strength of different elements within a module.
- A module is said to highly cohesive when the different elements of a module are tightly bonded within the module.
- A module is said to be loosely cohesive when the elements are weakly bonded within the module.
- A good design should have highly cohesive modules.
This is a module and the element in this module
is tightly bonded with each other.
In this module, the elements are loosely bounded with each other.
The type of cohesion are:-
- Function cohesion
- Sequential cohesion
- Communicational cohesion
- Procedural cohesion
- Temporal cohesion
- Logical cohesion
- Coincidental cohesion
Post a Comment
Post a Comment