D1 June 2009 Q4

EdexcelOld spec9 marksAlgorithms

4.

MiriJessieEdwardKatieHeggBethLouisPhilipNatsukoDylan
(a) Use the quick sort algorithm to sort the above list into alphabetical order. (5)
(b) Use the binary search algorithm to locate the name Louis. (4)