Structured design aims to produce programs that exhibit which qualities and test approach?

Computer Science System Analysis and Design Difficulty: Easy
Choose an option
  • A
    Easily maintained
  • B
    Easily understood
  • C
    Tested strictly in a bottom-up fashion as the only method
  • D
    A and B only
  • E
    None of the above

Answer

Correct Answer: A and B only

Explanation

Introduction / Context:Structured design emphasizes clear module boundaries, low coupling, and high cohesion. The main outcomes are programs that are easier to understand and maintain. Although bottom-up testing is common for modules, structured design does not mandate a single exclusive testing direction; both top-down and bottom-up strategies may be applied depending on context.

Given Data / Assumptions:

  • Modules have single, well-defined responsibilities.
  • Interfaces are explicit, which simplifies reasoning about behavior.
  • Testing strategy can vary with risk and architecture.

Concept / Approach:Readable structure and disciplined decomposition reduce cognitive load and make change safer. Maintainability improves because localized modifications rarely ripple across the system. Testing can proceed bottom-up for utilities or top-down with stubs for orchestrators; neither is mandated solely by structured design, so the core guaranteed benefits are understandability and maintainability.

Step-by-Step Solution:

1) Identify what structured design directly targets (clarity and modularity). 2) Map these to outcomes: easier understanding and easier maintenance. 3) Recognize that testing direction is a practice choice, not an inherent property.

Verification / Alternative check:Method references on structured design highlight maintainability and clarity as primary benefits; specific test order is situational, confirming that only options A and B are universally true.

Why Other Options Are Wrong:

Option C overstates by claiming an exclusive test method. Option E ignores the core maintainability and clarity goals.

Common Pitfalls:Assuming a single testing approach fits all systems; mixing structured modules with hidden side effects undermines maintainability.

Final Answer:A and B only.

Discussion & Comments
No comments yet. Be the first to comment!
Join Discussion