10 marksSearching and Sorting Algorithms
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