Question 2
OCR B (MEI) Further Maths June 2025 Modelling with algorithms (Y413-01)AS6 marks
On the specification
- (a)(i)
- A1–A11 Modelling with Algorithms (Y413): Algorithms
- (a)(ii)
- A1–A11 Modelling with Algorithms (Y413): Algorithms
- (b)
- A1–A11 Modelling with Algorithms (Y413): Algorithms
Question text
2 The list below shows the sizes of eleven items. 28 25 19 32 18 22 3 12 20 7 5 (a) (i) Show the result of applying the first fit algorithm to pack items with the sizes listed above into bins that have a capacity of 50. [2] (ii) Show the result of applying the first fit decreasing algorithm to pack items with the sizes listed above into bins that have a capacity of 50. [2] -8 (b) A computer takes 4 7. #10 seconds to pack 50 items with sizes 100, 99, 98, … , 53, 52, 51 into bins that have a capacity of 100 using the first fit decreasing algorithm. Calculate approximately how long it will take the same computer to pack 1 000 000 items with sizes 2 000 000, 1 999 999, 1 999 998, … , 1 000 003, 1 000 002, 1 000 001 into bins that have a capacity of 2 000 000 using the first fit decreasing algorithm. [2]