Which of the following is generally considered desirable in good software design?

Options

  • A. High coupling and low cohesion
  • B. Low coupling and high cohesion
  • C. High coupling and high complexity
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

B. Low coupling and high cohesion

Detailed Explanation

Explanation: Good software design aims for low coupling and high cohesion. Low coupling reduces dependencies between modules, while high cohesion ensures that each module performs a closely related set of tasks.