Practice · Test design
State transition testing questions and answers
Exam-style state transitions questions, generated fresh each time, with answers computed to the ISTQB Foundation Level v4.0 definitions (section 4.2.4). Every wrong answer tells you which mistake leads to it.
What the syllabus asks for
A state transition diagram shows the states a system can be in and the events that move it between them. The same model as a state table has a row per state and a column per event, and every cell is either a valid transition or an invalid one.
The syllabus names three coverage criteria. All states coverage visits every state. Valid transitions coverage (also called 0-switch coverage) exercises every valid transition. All transitions coverage exercises every valid transition and attempts every invalid one, so its coverage items are all the cells of the state table.
What this is not
These are not questions from any ISTQB exam, and this site has no connection with ISTQB or any exam provider. Older question banks often use definitions from before version 4.0, so if an answer here disagrees with one you’ve seen elsewhere, check which syllabus it was written for. How the questions are made explains how every answer is checked.
To see the technique applied, read the state transition test generator.
Other techniques