Question 2
AQA Maths June 2016 D1Older specification7 marks
Question text
2 (a) Use a shuttle sort to rearrange into alphabetical order the following list of names: Rob, Eve, Meg, Ian, Xavi Show the list at the end of each pass. [3 marks] (b) A list of ten numbers is sorted into ascending order, using a shuttle sort. (i) How many passes are needed? (ii) Give the maximum number of comparisons needed in the sixth pass. (iii) Given that the list is initially in descending order, find the total number of swaps needed. [4 marks] PART Answer space for question 2 REFERENCE 5 box PART Answer space for question 2 REFERENCE 6 box