Questions — Edexcel D1 (480 questions)

Browse by board
AQA AS Paper 1 AS Paper 2 C1 C2 C3 C4 D1 D2 FP1 FP2 FP3 Further AS Paper 1 Further AS Paper 2 Discrete Further AS Paper 2 Mechanics Further AS Paper 2 Statistics Further Paper 1 Further Paper 2 Further Paper 3 Discrete Further Paper 3 Mechanics Further Paper 3 Statistics M1 M2 M3 Paper 1 Paper 2 Paper 3 S1 S2 S3 CAIE FP1 FP2 Further Paper 1 Further Paper 2 Further Paper 3 Further Paper 4 M1 M2 P1 P2 P3 S1 S2 Edexcel AEA AS Paper 1 AS Paper 2 C1 C12 C2 C3 C34 C4 CP AS CP1 CP2 D1 D2 F1 F2 F3 FD1 FD1 AS FD2 FD2 AS FM1 FM1 AS FM2 FM2 AS FP1 FP1 AS FP2 FP2 AS FP3 FS1 FS1 AS FS2 FS2 AS M1 M2 M3 M4 M5 P1 P2 P3 P4 PMT Mocks Paper 1 Paper 2 Paper 3 S1 S2 S3 S4 OCR AS Pure C1 C2 C3 C4 D1 D2 FD1 AS FM1 AS FP1 FP1 AS FP2 FP3 FS1 AS Further Additional Pure Further Additional Pure AS Further Discrete Further Discrete AS Further Mechanics Further Mechanics AS Further Pure Core 1 Further Pure Core 2 Further Pure Core AS Further Statistics Further Statistics AS H240/01 H240/02 H240/03 M1 M2 M3 M4 Mechanics 1 PURE Pure 1 S1 S2 S3 S4 Stats 1 OCR MEI AS Paper 1 AS Paper 2 C1 C2 C3 C4 D1 D2 FP1 FP2 FP3 Further Extra Pure Further Mechanics A AS Further Mechanics B AS Further Mechanics Major Further Mechanics Minor Further Numerical Methods Further Pure Core Further Pure Core AS Further Pure with Technology Further Statistics A AS Further Statistics B AS Further Statistics Major Further Statistics Minor M1 M2 M3 M4 Paper 1 Paper 2 Paper 3 S1 S2 S3 S4 SPS SPS ASFM SPS ASFM Mechanics SPS ASFM Pure SPS ASFM Statistics SPS FM SPS FM Mechanics SPS FM Pure SPS FM Statistics SPS SM SPS SM Mechanics SPS SM Pure SPS SM Statistics WJEC Further Unit 1 Further Unit 2 Further Unit 3 Further Unit 4 Further Unit 5 Further Unit 6 Unit 1 Unit 2 Unit 3 Unit 4
Edexcel D1 2003 June Q4
4. The following list gives the names of some students who have represented Britain in the International Mathematics Olympiad. Roper ( \(R\) ), Palmer ( \(P\) ), Boase ( \(B\) ), Young ( \(Y\) ), Thomas ( \(T\) ), Kenney ( \(K\) ), Morris ( \(M\) ), Halliwell ( \(H\) ), Wicker ( \(W\) ), Garesalingam ( \(G\) ).
  1. Use the quick sort algorithm to sort the names above into alphabetical order.
  2. Use the binary search algorithm to locate the name Kenney.
    (4)
    \includegraphics[max width=\textwidth, alt={}, center]{9ca3e12a-63fa-49c9-91fc-eedfb024417a-4_488_1573_392_239} The network in Fig. 3 shows the activities involved in the process of producing a perfume. The activities are represented by the arcs. The number in brackets on each arc gives the time, in hours, taken to complete the activity.
  3. Calculate the early time and the late time for each event, showing them on Diagram 1 in the answer booklet.
  4. Hence determine the critical activities.
  5. Calculate the total float time for \(D\). Each activity requires only one person.
  6. Find a lower bound for the number of workers needed to complete the process in the minimum time. Given that there are only three workers available, and that workers may not share an activity,
  7. schedule the activities so that the process is completed in the shortest time. Use the time line in the answer booklet. State the new shortest time.
    (5)
Edexcel D1 2003 June Q6
6. A company produces two types of self-assembly wooden bedroom suites, the 'Oxford' and the 'York'. After the pieces of wood have been cut and finished, all the materials have to be packaged. The table below shows the time, in hours, needed to complete each stage of the process and the profit made, in pounds, on each type of suite.
\cline { 2 - 3 } \multicolumn{1}{c|}{}OxfordYork
Cutting46
Finishing3.54
Packaging24
Profit \(( \pounds )\)300500
The times available each week for cutting, finishing and packaging are 66, 56 and 40 hours respectively. The company wishes to maximise its profit.
Let \(x\) be the number of Oxford, and \(y\) be the number of York suites made each week.
  1. Write down the objective function.
  2. In addition to $$\begin{gathered} 2 x + 3 y \leq 33 ,
    x \geq 0 ,
    y \geq 0 , \end{gathered}$$ find two further inequalities to model the company’s situation.
  3. On the grid in the answer booklet, illustrate all the inequalities, indicating clearly the feasible region.
  4. Explain how you would locate the optimal point.
  5. Determine the number of Oxford and York suites that should be made each week and the maximum profit gained.
    (3) It is noticed that when the optimal solution is adopted, the time needed for one of the three stages of the process is less than that available.
  6. Identify this stage and state by how many hours the time may be reduced.
    (3)
Edexcel D1 2003 June Q7
7. \begin{figure}[h]
\captionsetup{labelformat=empty} \caption{Figure 4} \includegraphics[alt={},max width=\textwidth]{9ca3e12a-63fa-49c9-91fc-eedfb024417a-6_993_1552_312_242}
\end{figure} Figure 4 shows a capacitated, directed network. The unbracketed number on each arc indicates the capacity of that arc, and the numbers in brackets show a feasible flow of value 68 through the network.
  1. Add a supersource and a supersink, and arcs of appropriate capacity, to Diagram 2 in the answer booklet.
  2. Find the values of \(x\) and \(y\), explaining your method briefly.
  3. Find the value of cuts \(C _ { 1 }\) and \(C _ { 2 }\). Starting with the given feasible flow of 68,
  4. use the labelling procedure on Diagram 3 to find a maximal flow through this network. List each flow-augmenting route you use, together with its flow.
  5. Show your maximal flow on Diagram 4 and state its value.
  6. Prove that your flow is maximal.
Edexcel D1 2005 June Q1
1.
Ali74
Bobby28
Eun-Jung63
Katie54
Marciana54
Peter49
Rory37
Sophie68
The table shows the marks obtained by students in a test. The students are listed in alphabetical order. Carry out a quick sort to produce a list of students in descending order of marks. You should show the result of each pass and identify your pivots clearly.
(Total 5 marks)
Edexcel D1 2005 June Q2
2. \begin{figure}[h]
\captionsetup{labelformat=empty} \caption{Figure 1} \includegraphics[alt={},max width=\textwidth]{19cfdf0b-6be6-4f44-bfae-2b6bf592cfd8-2_624_860_1306_610}
\end{figure}
  1. Starting from \(A\); write down a Hamiltonian cycle for the graph in Figure 1.
  2. Use the planarity algorithm to show that the graph in Figure 1 is planar. Arcs \(A F\) and \(E F\) are now added to the graph.
  3. Explain why the new graph is not planar.
    (2) \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 2} \includegraphics[alt={},max width=\textwidth]{19cfdf0b-6be6-4f44-bfae-2b6bf592cfd8-3_725_1318_266_352}
    \end{figure} Figure 2 models a network of roads which need to be inspected to assess if they need to be resurfaced. The number on each arc represents the length, in km, of that road. Each road must be traversed at least once and the length of the inspection route must be minimised.
  4. Starting and finishing at \(A\), solve this route inspection problem. You should make your method and working clear. State the length of the shortest route.
    (The weight of the network is 77 km .) Given that it is now permitted to start and finish the inspection at two distinct vertices,
  5. state which two vertices you should choose to minimise the length of the route. Give a reason for your answer.
Edexcel D1 2005 June Q4
4. The precedence table shows the activities involved in a project.
ActivityImmediately preceding activities
A-
B-
C-
DA
EA
\(F\)B
GB
HC, D
IE
J\(F , H\)
K\(G , J\)
LG
ML
\(N\)L
  1. Draw the activity network for this project, using activity on arc and using two dummies.
  2. Explain why each of the two dummies is necessary.
    (3)
    (Total 7 marks) \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 4} \includegraphics[alt={},max width=\textwidth]{19cfdf0b-6be6-4f44-bfae-2b6bf592cfd8-5_635_446_296_485}
    \end{figure} \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 4} \includegraphics[alt={},max width=\textwidth]{19cfdf0b-6be6-4f44-bfae-2b6bf592cfd8-5_639_450_296_1233}
    \end{figure} A film critic, Verity, must see five films A, B, C, D and E over two days.
    The films are being shown at five special critics' preview times:
    \(\begin{array} { l l } 1 & ( \text { Monday } 4 \mathrm { pm } ) ,
    2 & ( \text { Monday } 7 \mathrm { pm } ) ,
    3 & ( \text { Tuesday } 1 \mathrm { pm } ) ,
    4 & ( \text { Tuesday } 4 \mathrm { pm } ) ,
    5 & ( \text { Tuesday } 7 \mathrm { pm } ) . \end{array}\)
    The bipartite graph in Figure 3 shows the times at which each film is showing.
    Initially Verity intends to see \begin{displayquote} Film A on Monday at 4 pm , Film B on Tuesday at 4 pm , Film C on Tuesday at 1 pm , Film D on Monday at 7 pm . \end{displayquote} This initial matching is shown in Figure 4.
    Using the maximum matching algorithm and the given initial matching,
  3. find two distinct alternating paths and complete the matchings they give. Verity's son is very keen to see film D, but he can only go with his mother to the showing on Monday at 7 pm .
  4. Explain why it will not be possible for Verity to take her son to this showing and still see all five films herself.
Edexcel D1 2005 June Q6
6. \begin{figure}[h]
\captionsetup{labelformat=empty} \caption{Figure 5} \includegraphics[alt={},max width=\textwidth]{19cfdf0b-6be6-4f44-bfae-2b6bf592cfd8-6_577_1547_296_305}
\end{figure} Figure 5 shows a network of roads. The number on each arc represents the length of that road in km .
  1. Use Dijkstra's algorithm to find the shortest route from \(A\) to \(J\). State your shortest route and its length.
    (5)
  2. Explain how you determined the shortest route from your labelled diagram. The road from \(C\) to \(F\) will be closed next week for repairs.
  3. Find the shortest route from \(A\) to \(J\) that does not include \(C F\) and state its length.
    (3)
    (Total 10 marks)
Edexcel D1 2005 June Q7
7. Polly has a bird food stall at the local market. Each week she makes and sells three types of packs \(A , B\) and \(C\). Pack \(A\) contains 4 kg of bird seed, 2 suet blocks and 1 kg of peanuts.
Pack \(B\) contains 5 kg of bird seed, 1 suet block and 2 kg of peanuts.
Pack \(C\) contains 10 kg of bird seed, 4 suet blocks and 3 kg of peanuts.
Each week Polly has 140 kg of bird seed, 60 suet blocks and 60 kg of peanuts available for the packs. The profit made on each pack of \(A , B\) and \(C\) sold is \(\pounds 3.50 , \pounds 3.50\) and \(\pounds 6.50\) respectively. Polly sells every pack on her stall and wishes to maximise her profit, \(P\) pence. Let \(x , y\) and \(z\) be the numbers of packs \(A , B\) and \(C\) sold each week.
An initial Simplex tableau for the above situation is
Basic variable\(x\)\(y\)\(z\)\(r\)\(s\)\(t\)Value
\(r\)4510100140
\(s\)21401060
\(t\)12300160
\(P\)- 350- 350- 6500000
  1. Explain the meaning of the variables \(r , s\) and \(t\) in the context of this question.
    (2)
  2. Perform one complete iteration of the Simplex algorithm to form a new tableau \(T\). Take the most negative number in the profit row to indicate the pivotal column.
  3. State the value of every variable as given by tableau \(T\).
  4. Write down the profit equation given by tableau \(T\).
  5. Use your profit equation to explain why tableau \(T\) is not optimal. Taking the most negative number in the profit row to indicate the pivotal column,
  6. identify clearly the location of the next pivotal element.
    (2)
    (Total 15 marks)
Edexcel D1 2005 June Q8
8. \begin{figure}[h]
\captionsetup{labelformat=empty} \caption{Figure 6} \includegraphics[alt={},max width=\textwidth]{19cfdf0b-6be6-4f44-bfae-2b6bf592cfd8-8_815_1434_240_322}
\end{figure} Figure 6 shows a capacitated directed network. The number on each arc is its capacity. The numbers in circles show a feasible flow through the network. Take this as the initial flow.
  1. On Diagram 1 and Diagram 2 in the answer book, add a supersource \(S\) and a supersink \(T\). On Diagram 1 show the minimum capacities of the arcs you have added. Diagram 2 in the answer book shows the first stage of the labelling procedure for the given initial flow.
  2. Complete the initial labelling procedure in Diagram 2.
  3. Find the maximum flow through the network. You must list each flow-augmenting route you use, together with its flow, and state the maximal flow.
  4. Show a maximal flow pattern on Diagram 3.
  5. Prove that your flow is maximal.
  6. Describe briefly a situation for which this network could be a suitable model.
Edexcel D1 2006 June Q1
  1. \(\begin{array} { l l l l l l l } 52 & 48 & 50 & 45 & 64 & 47 & 53 \end{array}\)
The list of numbers above is to be sorted into descending order. Perform a bubble sort to obtain the sorted list, giving the state of the list after each completed pass.
(4)
Edexcel D1 2006 June Q2
2. (a) Define the term 'alternating path'.
(2) \begin{figure}[h]
\captionsetup{labelformat=empty} \caption{Figure 1} \includegraphics[alt={},max width=\textwidth]{2ae673c0-206a-468b-ae6f-ac55e5970f7b-2_813_1262_902_470}
\end{figure} The bipartite graph in Figure 1 shows the films that six customers wish to hire this Saturday evening. The shop has only one copy of each film. The bold lines indicate an initial matching.
(b) Starting from this initial matching use the maximum matching algorithm twice to obtain a complete matching. You should clearly state the alternating paths you use.
(5) \begin{figure}[h]
\captionsetup{labelformat=empty} \caption{Figure 2} \includegraphics[alt={},max width=\textwidth]{2ae673c0-206a-468b-ae6f-ac55e5970f7b-3_756_1242_302_449}
\end{figure} Figure 2 shows the network of pipes represented by arcs. The length of each pipe, in kilometres, is shown by the number on each arc. The network is to be inspected for leakages, using the shortest route and starting and finishing at \(A\).
(a) Use the route inspection algorithm to fins which arcs, if any, need to be traversed twice.
[0pt] (b) State the length of the minimum route. [The total weight of the network is 394 km .] It is now permitted to start and finish the inspection at two distinct vertices.
(c) State, with a reason, which two vertices should be chosen to minimise the length of the new route.
(2)
Edexcel D1 2006 June Q4
4. (a) Explain what is meant by the term 'path'.
(2) \begin{figure}[h]
\captionsetup{labelformat=empty} \caption{Figure 3} \includegraphics[alt={},max width=\textwidth]{2ae673c0-206a-468b-ae6f-ac55e5970f7b-4_957_1414_408_363}
\end{figure} Figure 3 shows a network of cycle tracks. The number on each edge represents the length, in miles, of that track. Mary wishes to cycle from \(A\) to \(I\) as part of a cycling holiday. She wishes to minimise the distance she travels.
(b) Use Dijkstra's algorithm to find the shortest path from \(A\) to \(I\). Show all necessary working in the boxes in Diagram 1 in the answer book. State your shortest path and its length.
(6)
(c) Explain how you determined the shortest path from your labelling.
(2) Mary wants to visit a theme park at \(E\).
(d) Find a path of minimal length that goes from \(A\) to \(I\) via \(E\) and state its length.
(2) \begin{figure}[h]
\captionsetup{labelformat=empty} \caption{Figure 4} \includegraphics[alt={},max width=\textwidth]{2ae673c0-206a-468b-ae6f-ac55e5970f7b-5_688_1469_322_315}
\end{figure} An engineering project is modelled by the activity network shown in Figure 4. The activities are represented by the arcs. The number in brackets on each arc gives the time, in days, to complete the activity. Each activity requires one worker. The project is to be completed in the shortest time.
(a) Calculate the early time and late time for each event. Write these in boxes in Diagram 1 in the answer book.
(b) State the critical activities.
(c) Find the total float on activities \(D\) and \(F\). You must show your working.
(d) On the grid in the answer book, draw a cascade (Gantt) chart for this project. The chief engineer visits the project on day 15 and day 25 to check the progress of the work. Given that the project is on schedule,
(e) which activities must be happening on each of these two days?
(3)
Edexcel D1 2006 June Q6
6. The tableau below is the initial tableau for a maximising linear programming problem.
Basic variable\(x\)\(y\)\(z\)\(r\)\(s\)\(t\)Value
\(r\)710101003600
\(s\)69120103600
\(t\)2340012400
\(P\)- 35- 55- 600000
  1. Write down the four equations represented in the initial tableau above.
  2. Taking the most negative number in the profit row to indicate the pivot column at each stage, solve this linear programming problem. State the row operations that you use.
    (9)
  3. State the values of the objective function and each variable.
    (3)
    \includegraphics[max width=\textwidth, alt={}, center]{2ae673c0-206a-468b-ae6f-ac55e5970f7b-7_867_1533_322_311} Figure 5 shows a capacitated, directed network. The capacity of each arc is shown on each arc. The numbers in circles represent an initial flow from \(S\) to \(T\). Two cuts \(C _ { 1 }\) and \(C _ { 2 }\) are shown on Figure 5.
  4. Write down the capacity of each of the two cuts and the value of the initial flow.
  5. Complete the initialisation of the labelling procedure on Diagram 1 by entering values along \(\operatorname { arcs } A C , C D , D E\) and \(D T\).
  6. Hence use the labelling procedure to find a maximal flow through the network. You must list each flow-augmenting path you use, together with its flow.
  7. Show your maximal flow pattern on Diagram 2.
  8. Prove that your flow is maximal.
Edexcel D1 2007 June Q1
  1. Explain what is meant by a planar graph.
    (Total 2 marks)
\begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{0fdc5a3c-97e7-46e3-a57c-45a13755f0e5-2_751_654_552_349} \captionsetup{labelformat=empty} \caption{Figure 1}
\end{figure} \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{0fdc5a3c-97e7-46e3-a57c-45a13755f0e5-2_769_663_543_1151} \captionsetup{labelformat=empty} \caption{Figure 2}
\end{figure} Six workers, Annie, Emma, Hannah, Jerry, Louis and Morand, are to be assigned to five tasks, 1,2,3,4 and 5. For safety reasons, task 1 must be done by two people working together.
A bipartite graph showing the possible allocations of the workers is given in Figure 1 and an initial matching is given in Figure 2. The maximum matching algorithm will be used to obtain a complete matching.
  1. Although there are five tasks, six vertices have been created on the right hand side of each bipartite graph. Explain why this is necessary when applying this algorithm.
  2. Find an alternating path and the complete matching it gives. Hannah is now unable to do task 5 due to health reasons.
  3. Explain why a complete matching is no longer possible.
Edexcel D1 2007 June Q3
3. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{0fdc5a3c-97e7-46e3-a57c-45a13755f0e5-3_1634_1031_276_443} \captionsetup{labelformat=empty} \caption{Figure 3}
\end{figure} An algorithm is described by the flow chart shown in Figure 3.
  1. Given that \(x = 54\) and \(y = 63\), complete the table in the answer book to show the results obtained at each step when the algorithm is applied.
  2. State what the algorithm achieves.
Edexcel D1 2007 June Q4
4. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{0fdc5a3c-97e7-46e3-a57c-45a13755f0e5-4_782_1118_246_424} \captionsetup{labelformat=empty} \caption{Figure 4}
\end{figure} Figure 4 models a network of underground tunnels that have to be inspected. The number on each arc represents the length, in km, of each tunnel. Joe must travel along each tunnel at least once and the length of his inspection route must be minimised. The total weight of the network is 125 km .
The inspection route must start and finish at A .
  1. Use an appropriate algorithm to find the length of the shortest inspection route. You should make your method and working clear. Given that it is now permitted to start and finish the inspection at two distinct vertices,
  2. state which two vertices should be chosen to minimise the length of the new route. Give a reason for your answer.
Edexcel D1 2007 June Q5
5.
\(M\)\(A\)\(B\)\(C\)\(D\)\(E\)
\(M\)-215170290210305
\(A\)215-275100217214
\(B\)170275-267230200
\(C\)290100267-180220
\(D\)210217230180-245
\(E\)305214200220245-
The table shows the cost, in pounds, of linking five automatic alarm sensors, \(A , B , C , D\) and \(E\), and the main reception, \(M\).
  1. Use Prim's algorithm, starting from \(M\), to find a minimum spanning tree for this table of costs. You must list the arcs that form your tree in the order that they are selected.
  2. Draw your tree using the vertices given in Diagram 1 in the answer book.
  3. Find the total weight of your tree.
  4. Explain why it is not necessary to check for cycles when using Prim's algorithm.
Edexcel D1 2007 June Q6
6. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{0fdc5a3c-97e7-46e3-a57c-45a13755f0e5-6_1369_1340_251_340} \captionsetup{labelformat=empty} \caption{Figure 5}
\end{figure} The network in Figure 5 shows the activities that need to be undertaken to complete a project. Each activity is represented by an arc. The number in brackets is the duration of the activity in days. The early and late event times are to be shown at each vertex and some have been completed for you.
  1. Calculate the missing early and late times and hence complete Diagram 2 in your answer book.
  2. List the two critical paths for this network.
  3. Explain what is meant by a critical path. The sum of all the activity times is 110 days and each activity requires just one worker. The project must be completed in the minimum time.
  4. Calculate a lower bound for the number of workers needed to complete the project in the minimum time. You must show your working.
  5. List the activities that must be happening on day 20 .
  6. Comment on your answer to part (e) with regard to the lower bound you found in part (d).
  7. Schedule the activities, using the minimum number of workers, so that the project is completed in 30 days.
Edexcel D1 2007 June Q7
7. The tableau below is the initial tableau for a linear programming problem in \(x , y\) and \(z\). The objective is to maximise the profit, \(P\).
basic variable\(x\)\(y\)\(z\)\(r\)\(s\)\(t\)Value
\(r\)1245100246
\(s\)963010153
\(t\)52- 2001171
\(P\)- 2- 4- 30000
Using the information in the tableau, write down
  1. the objective function,
  2. the three constraints as inequalities with integer coefficients. Taking the most negative number in the profit row to indicate the pivot column at each stage,
  3. solve this linear programming problem. Make your method clear by stating the row operations you use.
  4. State the final values of the objective function and each variable. One of the constraints is not at capacity.
  5. Explain how it can be identified.
Edexcel D1 2007 June Q8
8. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{0fdc5a3c-97e7-46e3-a57c-45a13755f0e5-9_1131_1653_242_207} \captionsetup{labelformat=empty} \caption{Figure 6}
\end{figure} Figure 6 shows a capacitated, directed network. The number on each arc represents the capacity of that arc. The numbers in circles represent an initial flow.
  1. State the value of the initial flow.
    (1)
  2. State the capacities of cuts \(\mathrm { C } _ { 1 }\) and \(\mathrm { C } _ { 2 }\).
    (2) Diagram 3 in the answer book shows the labelling procedure applied to the above network.
  3. Using Diagram 3, increase the flow by a further 19 units. You must list each flow-augmenting path you use, together with its flow.
    (5)
  4. Prove that the flow is now maximal.
Edexcel D1 2008 June Q1
1. \(\begin{array} { l l l l l l l l l } 29 & 52 & 73 & 87 & 74 & 47 & 38 & 61 & 41 \end{array}\) The numbers in the list represent the lengths in minutes of nine radio programmes. They are to be recorded onto tapes which each store up to 100 minutes of programmes.
  1. Obtain a lower bound for the number of tapes needed to store the nine programmes.
  2. Use the first-fit bin packing algorithm to fit the programmes onto the tapes.
  3. Use the first-fit decreasing bin packing algorithm to fit the programmes onto the tapes.
Edexcel D1 2008 June Q2
2. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{be646775-535e-4105-86b4-ffc7eda4fa51-2_432_579_1206_395} \captionsetup{labelformat=empty} \caption{Figure 1}
\end{figure} \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{be646775-535e-4105-86b4-ffc7eda4fa51-2_430_579_1208_1096} \captionsetup{labelformat=empty} \caption{Figure 2}
\end{figure} Five tour guides, Alice, Emily, George, Rose and Weidi, need to be assigned to five coach trips, 1, 2, 3, 4 and 5 . A bipartite graph showing their preferences is given in Figure 1 and an initial matching is given in Figure 2.
  1. Use the maximum matching algorithm, starting with vertex G , to increase the number of matchings. State the alternating path you used.
  2. List the improved matching you found in (a).
  3. Explain why a complete matching is not possible. Weidi agrees to be assigned to coach trip 3, 4 or 5.
  4. Starting with your current maximal matching, use the maximum matching algorithm to obtain a complete matching.
    (3)
Edexcel D1 2008 June Q3
3. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{be646775-535e-4105-86b4-ffc7eda4fa51-3_549_1397_258_333} \captionsetup{labelformat=empty} \caption{Figure 3}
\end{figure} Figure 3 shows a network of roads. The number on each arc represents the length, in km, of that road.
  1. Use Dijkstra's algorithm to find the shortest route from A to I. State your shortest route and its length.
    (5) Sam has been asked to inspect the network and assess the condition of the roads. He must travel along each road at least once, starting and finishing at A .
  2. Use an appropriate algorithm to determine the length of the shortest route Sam can travel. State a shortest route.
    (4)
    (The total weight of the network is 197 km )
Edexcel D1 2008 June Q4
4. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{be646775-535e-4105-86b4-ffc7eda4fa51-4_653_1257_248_404} \captionsetup{labelformat=empty} \caption{Figure 4}
\end{figure}
  1. State two differences between Kruskal's algorithm and Prim's algorithm for finding a minimum spanning tree.
    (2)
  2. Listing the arcs in the order that you consider them, find a minimum spanning tree for the network in Figure 4, using
    1. Prim's algorithm,
    2. Kruskal's algorithm.
      (6)
Edexcel D1 2008 June Q5
5. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{be646775-535e-4105-86b4-ffc7eda4fa51-5_819_1421_251_322} \captionsetup{labelformat=empty} \caption{Figure 5}
\end{figure} Figure 5 shows a capacitated, directed network of pipes. The number on each arc represents the capacity of that pipe. The numbers in circles represent a feasible flow.
  1. State the values of \(x\) and \(y\).
  2. List the saturated arcs.
  3. State the value of the feasible flow.
  4. State the capacities of the cuts \(\mathrm { C } _ { 1 } , \mathrm { C } _ { 2 }\), and \(\mathrm { C } _ { 3 }\).
  5. By inspection, find a flow-augmenting route to increase the flow by one unit. You must state your route.
  6. Prove that the new flow is maximal.