Edexcel FD1 (Further Decision 1) 2022 June

Question 1
View details
  1. A gardener needs the following lengths of string. All lengths are in metres.
    0.4
    1.7
    1.3
    2.5
    2.1
    3.4
    4.3
    4.7
    5.1
    5.9
    6.1
She cuts the lengths from balls of string. Each ball contains 10 m of string.
  1. Calculate a lower bound for the number of balls of string the gardener needs. You must make your method clear.
  2. Use the first-fit bin packing algorithm to determine how the lengths could be cut from the balls of string.
Question 2
View details
2. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{27586973-89f4-45e1-9cc4-04c4044cd3db-03_563_1445_214_312} \captionsetup{labelformat=empty} \caption{Figure 1}
\end{figure} [The total weight of the network is 299] Figure 1 represents a network of cycle tracks between 10 landmarks, A, B, C, D, E, F, G, H, J and K. The number on each edge represents the length, in kilometres, of the corresponding track. One day, Blanche wishes to cycle from A to K. She wishes to minimise the distance she travels.
    1. Use Dijkstra's algorithm to find the shortest path from A to K .
    2. State the length of the shortest path from A to K .
      (6) The cycle tracks between the landmarks now need to be inspected. Blanche must travel along each track at least once. She wishes to minimise the length of her inspection route. Blanche will start her inspection route at D and finish at E .
    1. State the edges that will need to be traversed twice.
    2. Find the length of Blanche's route. It is now decided to start the inspection route at A and finish at K . Blanche must minimise the length of her route and travel along each track at least once.
  1. By considering the pairings of all relevant nodes, find the length of Blanche's new route. You must make your method and working clear.
Question 3
View details
3. The initial distance matrix (Table 1) shows the lengths, in metres, of the corridors connecting six classrooms, A, B, C, D, E and F, in a school. For safety reasons, some of the corridors are one-way only. \begin{table}[h]
ABCDEF
A-1232242911
B12-178\(\infty\)\(\infty\)
C3217-412\(\infty\)
D24\(\infty\)4-\(\infty\)13
E\(\infty\)\(\infty\)1218-12
F11\(\infty\)\(\infty\)1312-
\captionsetup{labelformat=empty} \caption{Table 1}
\end{table}
  1. By adding the arcs from vertex A, along with their weights, complete the drawing of this network on Diagram 1 in the answer book. Floyd's algorithm is to be used to find the complete network of shortest distances between the six classrooms. The distance matrix after two iterations of Floyd's algorithm is shown in Table 2. \begin{table}[h]
    ABCDEF
    A-1229202911
    B12-1784123
    C2917-41240
    D24364-5313
    E\(\infty\)\(\infty\)1218-12
    F1123401312-
    \captionsetup{labelformat=empty} \caption{Table 2}
    \end{table}
  2. Perform the next two iterations of Floyd's algorithm that follow from Table 2. You should show the distance matrix after each iteration. The final distance matrix after completion of Floyd's algorithm is shown in Table 3.
    ABCDEF
    A-1224202311
    B12-1282421
    C2817-41217
    D24214-1613
    E23291216-12
    F1123171312-
    \section*{Table 3} Yinka must visit each classroom. He will start and finish at E and wishes to minimise the total distance travelled.
    1. Use the nearest neighbour algorithm, starting at E, to find two Hamiltonian cycles in the completed network of shortest distances.
    2. Find the length of each of the two cycles.
    3. State, with a reason, which of the two cycles provides the better upper bound for the length of Yinka's route.
Question 4
View details
4. A linear programming problem in \(x , y\) and \(z\) is to be solved using the big-M method. The initial tableau is shown below.
b.v.\(x\)\(y\)\(z\)\(S _ { 1 }\)\(s _ { 2 }\)\(S _ { 3 }\)\(a _ { 1 }\)\(a _ { 2 }\)Value
\(\mathrm { S } _ { 1 }\)2341000013
\(a _ { 1 }\)1-220-10108
\(a _ { 2 }\)30-400-10112
P2-4M\(- 3 + 2 M\)\(- 1 + 2 M\)0MM00\(- 20 M\)
  1. Using the information in the above tableau, formulate the linear programming problem. You should
    • list each of the constraints as an inequality
    • state the two possible objectives
    • Obtain the most efficient pivot for a first iteration of the big-M method. You must give reasons for your answer.
    \section*{Please turn over for Question 5}
Question 5
View details
5. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{27586973-89f4-45e1-9cc4-04c4044cd3db-08_1099_1700_194_139} \captionsetup{labelformat=empty} \caption{Figure 2}
\end{figure} The network in Figure 2 shows the activities that need to be completed for a project. Each activity is represented by an arc and the duration of the activity, in days, is shown in brackets. The early event times are shown in Figure 2.
  1. Complete Table 1 in the answer book to show the immediately preceding activities for each activity. It is given that \(4 < x \leqslant m\)
  2. State the largest possible integer value of \(m\).
    1. Complete Diagram 1 in the answer book to show the late event times.
    2. State the activities that must be critical.
  3. Calculate the total float for activity G. The resource histogram in Figure 3 shows the number of workers required when each activity starts at its earliest possible time. The histogram also shows which activities happen at each time. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{27586973-89f4-45e1-9cc4-04c4044cd3db-09_682_1612_356_230} \captionsetup{labelformat=empty} \caption{Figure 3}
    \end{figure}
  4. Complete Table 2 in the answer book to show the number of workers required for each activity of the project.
  5. Draw a Gantt chart on Grid 1 in the answer book to represent the activity network.
Question 6
View details
6. The following algorithm determines the number of comparisons made when Prim’s algorithm is applied to \(\mathrm { K } _ { n }\) Step 1 Start
Step 2 Input the value of \(n\)
Step 3 Let \(a = 1\)
Step 4 Let \(b = n - 2\)
Step 5 Let \(c = b\)
Step 6 Let \(a = a + 1\)
Step \(7 \quad\) Let \(b = b - 1\)
Step 8 Let \(c = c + ( a \times b ) + ( a - 1 )\)
Step 9 If \(b > 0\) go to Step 6
Step 10 Output \(C\)
Step 11 Stop
  1. For \(\mathrm { K } _ { 5 }\), complete the table in the answer book to show the results obtained at each step of the algorithm. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{27586973-89f4-45e1-9cc4-04c4044cd3db-11_595_703_175_680} \captionsetup{labelformat=empty} \caption{Figure 4}
    \end{figure} The weights of the ten arcs in Figure 4 are $$\begin{array} { l l l l l l l l l l } 17 & 21 & 24 & 14 & 23 & 13 & 15 & 19 & 28 & 20 \end{array}$$
    1. Starting at the left-hand end of the above list, sort the list into ascending order using bubble sort. You need only write down the state of the list at the end of each pass.
    2. Find the total number of comparisons performed during the sort.
  2. Find the maximum total number of comparisons required to sort the weights of the 10 arcs of \(\mathrm { K } _ { 5 }\) into ascending order using bubble sort. It is given that the maximum total number of comparisons required to sort the weights of the arcs of \(\mathrm { K } _ { n }\) into ascending order using bubble sort is $$\lambda n ( n - 1 ) ( n + 1 ) ( n - 2 )$$ where \(\lambda\) is a constant.
  3. Determine the maximum total number of comparisons required to sort the weights of the arcs of \(\mathrm { K } _ { 50 }\) into ascending order using bubble sort. You must make your method and working clear.
Question 7
View details
7. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{27586973-89f4-45e1-9cc4-04c4044cd3db-12_885_1130_210_456} \captionsetup{labelformat=empty} \caption{Figure 5}
\end{figure} Figure 5 shows the constraints of a linear programming problem in \(x\) and \(y\) where \(R\) is the feasible region. The objective is to maximise \(P = x + k y\), where \(k\) is a positive constant.
The optimal vertex of \(R\) is to be found using the Simplex algorithm.
  1. Set up an initial tableau for solving this linear programming problem using the Simplex algorithm. After two iterations of the Simplex algorithm a possible tableau \(T\) is
    b.v.\(x\)\(y\)\(S _ { 1 }\)\(s _ { 2 }\)\(S _ { 3 }\)\(s _ { 4 }\)Value
    \(s _ { 1 }\)001\(- \frac { 3 } { 5 }\)0\(\frac { 1 } { 5 }\)1
    \(x\)100\(\frac { 1 } { 5 }\)0\(- \frac { 2 } { 5 }\)2
    \(S _ { 3 }\)000\(- \frac { 11 } { 5 }\)1\(\frac { 12 } { 5 }\)22
    \(y\)010\(\frac { 2 } { 5 }\)0\(\frac { 1 } { 5 }\)5
    \(P\)000\(\frac { 1 } { 5 } + \frac { 2 } { 5 } k\)0\(- \frac { 2 } { 5 } + \frac { 1 } { 5 } k\)\(5 k + 2\)
  2. State the value of each variable after the second iteration.
    (1) It is given that \(T\) does not give an optimal solution to the linear programming problem.
    After a third iteration of the Simplex algorithm the resulting tableau does give an optimal solution to the problem.
  3. Perform the third iteration of the Simplex algorithm and hence determine the range of possible values for \(P\). You should state the row operations you use and make your method and working clear.
    (9)