Explain how low coupling and high cohesion enables modular d
Explain how low coupling and high cohesion enables modular design.
Solution
Coupling is the defined as the degree which determine how much modules related to each other.Its a measure that defines how strongly functionality of diffferent pieces/modules is related.
Cohesion is defined as the degree which determines that how much elements of one single module is connected to one anothher.
Now if we have low coupling then the software would be easily maitainable, testable and readable.
If the modules are loosly coupled then we have the opportunity to make changes in one module independently without affecting functionality of other or very less. And high cohesion make sure that changes are reflected properly within one module. And with high cohesion and low coupling we can achieve modular design becuase of maintainability, testability, readability feature.
