Difficulty: Easy
Correct Answer: to identify a top level function and then create a hierarchy of lower level modules and components
Explanation:
Introduction / Context:Top-down design is foundational in structured and modular development. It reduces complexity by successively decomposing a system into smaller, understandable parts, enabling parallel work and cleaner interfaces among modules.
Given Data / Assumptions:
Concept / Approach:In top-down design, analysts first define the system’s primary function(s). Then they split these into subfunctions, creating a module hierarchy (often visualized in structural charts). Each level clarifies responsibilities and interfaces. This contrasts with bottom-up (starting from components) and with preparing documentation only after coding (which risks mismatches and rework).
Step-by-Step Solution:
State the main objective: identify top-level function(s).Decompose into subordinate modules until each is cohesive and manageable.Define clear input/output for each module to minimize coupling.Select the option that describes hierarchical decomposition from the top.Verification / Alternative check:Structured design literature (Yourdon/DeMarco) emphasizes hierarchical decomposition, cohesion, and coupling metrics, aligning with option (b).
Why Other Options Are Wrong:
Common Pitfalls:Stopping decomposition too early; unclear interfaces; mixing unrelated responsibilities in one module.
Final Answer:to identify a top level function and then create a hierarchy of lower level modules and components
Discussion & Comments