Which of the following is/are desirable properties in modular programming?
2022
Which of the following is/are desirable properties in modular programming?
- A.
Low coupling and low cohesion
- B.
Low coupling and high cohesion
- C.
High coupling and low cohesion
- D.
High coupling and high cohesion
Attempted by 109 students.
Show answer & explanation
Correct answer: B
Modular programming requires modules with low coupling and high cohesion. This design minimizes dependencies between components while maximizing internal consistency for better maintainability.