Edexcel D1 — Question 12

Exam BoardEdexcel
ModuleD1 (Decision Mathematics 1)
PaperDownload PDF ↗
Mark schemeDownload PDF ↗
TopicSorting Algorithms
TypeFirst-Fit Bin Packing
DifficultyEasy -1.2 This is a standard D1 bin packing question requiring straightforward application of taught algorithms (lower bound calculation, first-fit algorithm, and full bins method). The calculations are routine with no problem-solving insight needed—students simply follow memorized procedures with small numbers that are easy to manipulate.
Spec7.03l Bin packing: next-fit, first-fit, first-fit decreasing, full bin

12
10 The numbers in the list above represent the lengths, in metres, of ten lengths of fabric. They are to be cut from rolls of fabric of length 60 m .
  1. Calculate a lower bound for the number of rolls needed.
    (2)
  2. Use the first-fit bin packing algorithm to determine how these ten lengths can be cut from rolls of length 60 m .
  3. Use full bins to find an optimal solution that uses the minimum number of rolls.

AnswerMarks
(a) All arcs must be traversed twice. (So no arc needs repeating more than twice.) All valencies therefore even.B1 (1)
(b) e.g. CECAEFEAFABFBACDBDGFGDC length = \(2 \times 6 = 12\) kmM1 A1 A1 (3)
**(a)** All arcs must be traversed twice. (So no arc needs repeating more than twice.) All valencies therefore even. | B1 (1)

**(b)** e.g. CECAEFEAFABFBACDBDGFGDC length = $2 \times 6 = 12$ km | M1 A1 A1 (3)

---
12\\
10

The numbers in the list above represent the lengths, in metres, of ten lengths of fabric. They are to be cut from rolls of fabric of length 60 m .
\begin{enumerate}[label=(\alph*)]
\item Calculate a lower bound for the number of rolls needed.\\
(2)
\item Use the first-fit bin packing algorithm to determine how these ten lengths can be cut from rolls of length 60 m .
\item Use full bins to find an optimal solution that uses the minimum number of rolls.
\end{enumerate}

\hfill \mbox{\textit{Edexcel D1  Q12}}