ITPEC FE Morning April 2018 Question 49
ITPEC FE Morning April 2018 — Question 49 of 80
Stub in Top-Down Integration Testing — a stub replaces a low-level module during top-down testing.
In top-down integration testing, testing starts from the highest-level module and works downward. Lower-level modules that are not yet available are replaced by stubs — simplified modules that return predefined responses.
- •Stub — substitutes a lower-level module (used in top-down testing)
- •Driver — substitutes a higher-level module (used in bottom-up testing)
Why not others:
- (a) Driver — used in bottom-up testing to call lower modules
- (b) Emulator — simulates an entire device or environment
- (c) Simulator — models system behavior, not a module substitute
Key rule: Top-down → stub (below), Bottom-up → driver (above).
AI-generated — may contain errors
The original exam layout is preserved in the image so diagrams, formulas, tables, and code remain accurate.
This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official FE past-paper collection or Report an issue.