OA. free
Free
Accenture Core Computer Science Core Computer Science Medium

Which is suitable as a modular design for improving reliability and maintainability?

Accenture technical mcq question, verified with a worked answer. Free to practise - no sign-up.

Which is suitable as a modular design for improving reliability and maintainability?

Module strength Module coupling degree
A strength strength
B strength weak
C weak strength
D weak weak
Choose one option.
Show answer & explanation
Answer: B. B (strength module strength, weak module coupling degree)

Good modular design requires high cohesion (strong module strength) and low coupling (weak module coupling degree). Strong cohesion ensures each module has a clear, focused responsibility, improving maintainability. Weak coupling minimizes dependencies between modules, reducing ripple effects of changes and improving reliability. Option B combines both desirable properties.

Step-by-step Derivation:
Modular design principles:

  1. Module Strength (Cohesion): Measures how closely related functions within a module are. High cohesion (strength) is desirable—it means the module does one thing well.
  2. Module Coupling Degree: Measures interdependencies between modules. Low coupling (weak) is desirable—it means modules are independent and isolated.

Desirable Properties:

  • High cohesion (strong module strength): Each module has a single, well-defined purpose.
  • Low coupling (weak module coupling degree): Modules are loosely connected and can be modified independently.

Analysis:

  • Option A: Strong cohesion + Strong coupling = Bad (tight, brittle design)
  • Option B: Strong cohesion + Weak coupling = Good (ideal modular design)
  • Option C: Weak cohesion + Strong coupling = Bad (worst case)
  • Option D: Weak cohesion + Weak coupling = Poor (unfocused, though decoupled)

Correct Answer: B