CAPE Computer Science Unit 2 · 2010 · Paper 2 · Question 2(a)(ii)
An array of 10 integers is given: indices 0 to 9 with data 10, 3, 2, 15, 6, 5, 8, 11, 20, 19.
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