Question 1

OCR B (MEI) Further Maths June 2024 Modelling with algorithms (Y433-01)A level5 marks

On the specification

(a)
A10-A11 Modelling with Algorithms: Packing algorithms
(b)
A10-A11 Modelling with Algorithms: Packing algorithms
(c)
A10-A11 Modelling with Algorithms: Packing algorithmsA6 Modelling with Algorithms: Heuristic algorithms
Question text

1 The values below represent the weights of eleven suitcases, in kg. 23 15 17 10 35 18 12 21 22 11 8 (a) Show the result of applying the first fit algorithm to pack the weights into containers that can hold a maximum of 50 kg. [2] (b) Show the result of applying the first fit decreasing algorithm to pack the weights into containers that can hold a maximum of 50 kg. [2] (c) Give a reason why the number of containers used for the packing of the suitcases in part (b) is optimal. [1]