CAPE Computer Science Unit 2 · 2012 · Paper 2 · Question 2(c)
An array arr contains 10 integers: indices 0 to 9 with values 80, 91, 50, 22, 27, 45, 16, 51, 7, 9.
Draw the array after the first, second, and third passes of the selection sort algorithm (three diagrams in all).
This question uses a figure or table from the paper — you'll see it when you practise.
The mark scheme is shown once you've answered.
Practise this question