Good modular design aims for…
Options
- High coupling, low cohesion
- Low coupling, high cohesion (Correct option)
- High coupling, high cohesion
- Low coupling, low cohesion
Answer
Low coupling, high cohesion
Why
Cohesion: how well the things inside one module belong together (high = focused, good).
Coupling: how much modules depend on each other's details (low = independent, good).
With low coupling and high cohesion, a change stays inside one module instead of rippling everywhere.
Remember
Low coupling, high cohesion.