Quelpr

CAPE Computer Science Unit 2 · 2006 · Paper 1 · Question 9

Trace through the given loop-based pseudocode algorithm with print, printSpaces, and println functions.

Trace the execution of the algorithm and draw the exact output produced.

The mark scheme is shown once you've answered.

Practise this question

More practice: the rest of this paper · more Searching and Sorting Algorithms questions · all CAPE Computer Science Unit 2 past papers