ITPEC IP April 2024 Question 48

Source exam: ITPEC IP April 2024Topic: System Development Technology

ITPEC IP April 2024 — Question 48 of 100

Examining a program's internal structure and verifying its paths and logic is white-box testing. The tester uses knowledge of source code or internal design to create cases that exercise statements, branches, conditions, loops, and data flows. This directly checks whether input is processed through the intended internal logic.

Answer (d)

Why not others:
- (a) System testing evaluates the integrated system against system requirements and is a test level, not specifically an internal-structure technique

- (b) Top-down testing is an integration order that begins with upper modules and uses stubs for lower ones

- (c) Black-box testing derives cases from inputs, outputs, and specifications without examining internal implementation

Key rule: White-box testing sees the code and covers its structure; black-box testing sees externally observable behavior and checks the specification.

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 IP past-paper collection or Report an issue.