ITPEC FE Subject A October 2024 Question 37

Source exam: ITPEC FE Subject A October 2024Topic: Software Development

ITPEC FE Subject A October 2024 — Question 37 of 60

White Box vs Black Box Testing — condition testing is a white box technique.

White box (structure-based) tests the internal code:
- Statement testing — execute every line

- Branch testing — execute every branch (if/else)

- Condition testing — test each boolean sub-expression for true/false

- Path testing — execute every possible path

Black box (specification-based) tests inputs/outputs without seeing code:
- Boundary value analysis — test at edges of valid ranges

- Equivalence partitioning — divide inputs into equivalent classes

- Orthogonal array testing — combinatorial input combinations

- Decision table testing — map condition combinations to actions

Why not others:
- (a) Boundary value analysis — black box technique

- (c) Equivalence partitioning — black box technique

- (d) Orthogonal array testing — black box technique

Key rule: If it requires knowledge of code structure → white box. If it only uses specifications → black box.

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.