Question 1
Edexcel Further Maths October 2020 8FM0-27 AS Further Decision Maths 1 - question paperAS6 marks
On the specification
- DM1 1.2 Bin packing, bubble sort and quick sort
Question text
1. 3.7 2.5 5.4 1.9 2.7 3.2 3.1 2.7 4.2 2.0 (a) Use the first‑fit bin packing algorithm to determine how the numbers listed above can be packed into bins of size 8.5 (3) The first‑fit bin packing algorithm is to be used to pack n numbers into bins. The number of comparisons is used to measure the order of the first‑fit bin packing algorithm. (b) By considering the worst case, determine the order of the first‑fit bin packing algorithm in terms of n. You must make your method and working clear. (3) (Total for Question 1 is 6 marks)