Question 2

Edexcel Further Maths June 2025 9FM0-3D A Level Decision Mathematics 1A level10 marks

On the specification

(c)
3D 1.1 Algorithms: order and implementation (3D Decision Maths 1)3D 1.2 Bin packing, bubble sort and quick sort
Question text

2. 271 828 182 845 904 523 536 028 747 135 The list of ten numbers above is to be sorted into descending order. (a) Perform a quick sort on the list to obtain the sorted list. You should show the result of each pass and identify the pivots clearly. (4) A list of n numbers is to be sorted into descending order using bubble sort. (b) Determine, in the worst case, the total number of comparisons required to sort the list. Give your answer as a simplified expression in terms of n. (2) The following algorithm determines an approximation to the value of e Step 1 Start Step 2 Let a = 1 Step 3 Let b = 1 Step 4 Let c = 1 Step 5 Let d = a Step 6 Let c  c  b Step 7 Let d  d  1 c Step 8 If b = 6 go to Step 11 Step 9 Let b = b + 1 Step 10 Go to Step 6 Step 11 Output d Step 12 Stop (c) Complete the table in the answer book to show the results obtained at each step of the algorithm. (3) (d) Calculate, to 3 significant figures, the percentage error in using the value found in (c) to approximate the value of e (1) (Total for Question 2 is 10 marks)