Worked solution from the Programming Paper 2 Algorithms, Programming and Logic booklet, Part 1 of 3.
A selection statement chooses between paths using a condition: IF ... THEN ... ENDIF.
Tick C [1]
A is a procedure call, B is a declaration and D is a loop.
▶ Topic lesson
A lesson on this topic · by Mr Bulmer's Learning Zone. Tap the picture to open it on YouTube.
Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.