CS FundamentalsModerateTCS NQT · Infosys pattern

Which combination indicates a good modular design?

  1. A. Low cohesion and high coupling
  2. B. High cohesion and high coupling
  3. C. Low cohesion and low coupling
  4. D. High cohesion and low coupling

Correct answer: D. High cohesion and low coupling

Each module should do one well-defined job (high cohesion) and depend on others as little as possible (low coupling), so changes stay local.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic