CAPE Computer Science Unit 2 · 2015 · Paper 2 · Question 2(a)
Consider the array named data containing 8 integers: [10, 13, 8, 15, 16, 6, 22, 4]. A selection sort is used to sort the array into ascending order.
Draw the array after the first, second, and third passes of selection sort (3 diagrams total).
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