AQA D1 2013 January — Question 2

Exam BoardAQA
ModuleD1 (Decision Mathematics 1)
Year2013
SessionJanuary
TopicPermutations & Arrangements
TypeAssignment/allocation matching problems

2
  1. Use a Shell sort to arrange the following numbers into ascending order. $$\begin{array} { l l l l l l l l } 7 & 8 & 1 & 6 & 3 & 4 & 5 & 2 \end{array}$$
  2. Write down the number of comparisons on the first pass.