IQ.IV · ISTQB CTFL practice question

A function has 10 executable statements and 2 branches (true and false for a single 'if' condition). If a test suite executes 8 statements and 1 of the 2 branches, what are the statement coverage and branch coverage?

Choose one answer
Check answer and explanation

Correct answer: 80% statement coverage and 50% branch coverage

Explanation

Statement coverage = 8 / 10 = 80%, and branch coverage = 1 / 2 = 50%.

Common trap

Statement coverage = 8 / 10 = 80%, and branch coverage = 1 / 2 = 50%.

Source: Original unofficial practice; not an official ISTQB exam item
Checked against the cited text on 2026-11-30.

Report an error in this question