Q20. What is modularity? What benefits does it offer?
Ans. Modularity is the property of a system that has been decomposed into a set of cohesive and loosely coupled modules.
Following are the benefits offered by modularity:
- It reduces program’s complexity to some degree.
- It creates a number of well-defined, documented boundaries within the program.