10 marksSearching and Sorting Algorithms
CAPE Computer Science Unit 2 · 2010 · Paper 2 · Question 2(a)(i)
An array of 10 integers is given: indices 0 to 9 with data 10, 3, 2, 15, 6, 5, 8, 11, 20, 19.
Describe how the selection sort algorithm works to sort a set of 10 integers in ascending order.
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