Back to the 2022 paper

Module 3: Software Design & Metrics

20222m

Independent modules are easier to maintain and test because of

(i) code modification is limited
(ii) reusable modules are possible
(iii) error propagation is reduced
(iv) All of the above

Worked SolutionAI Assisted

Solution

Correct Answer: (iv) All of the above

Explanation

Independent modules (low coupling, high cohesion) are easier to maintain/test because:

  • (i) Code modification limited - Change isolated to one module, no ripple effect
  • (ii) Reusable modules possible - Independent modules can be plugged elsewhere
  • (iii) Error propagation reduced - Fault in one module less likely to affect others, easier to locate

Hence all three are benefits, so (iv) All of the above.

Similar questions

Free AppAndroid App

Coursify Android App

Generate AI courses, take quick quizzes between classes, and master complex engineering concepts on the go.