Edexcel D1 (Decision Mathematics 1)

Question 2
View details
2. (a) Use the binary search algorithm to locate the name HUSSAIN in the following alphabetical list. Explain each step of the algorithm.
  1. ALLEN
  2. BALL
  3. COOPER
  4. EVANS
  5. HUSSAIN
  6. JONES
  7. MICHAEL
  8. PATEL
  9. RICHARDS
  10. TINDALL
  11. WU
    (b) State the maximum number of comparisons that need to be made to locate a name in an alphabetical list of 11 names.
    (1 mark)
\begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-004_816_1298_343_391} \captionsetup{labelformat=empty} \caption{Fig. 1}
\end{figure} (a) Using an appropriate algorithm, obtain a suitable route starting and finishing at \(A\).
(b) Calculate the total length of this route.
4. This question should be answered on the sheet provided in the answer booklet. A manager has five workers, Mr. Ahmed, Miss Brown, Ms. Clough, Mr. Dingle and Mrs. Evans. To finish an urgent order he needs each of them to work overtime, one on each evening, in the next week. The workers are only available on the following evenings: $$\begin{aligned} & \text { Mr. Ahmed } ( A ) \text { - Monday and Wednesday; }
& \text { Miss Brown } ( B ) \text { - Monday, Wednesday and Friday; }
& \text { Ms. Clough } ( C ) \text { - Monday; }
& \text { Mr. Dingle } ( D ) \text { - Tuesday, Wednesday and Thursday; }
& \text { Mrs. Evans } ( E ) \text { - Wednesday and Thursday. } \end{aligned}$$ The manager initially suggests that \(A\) might work on Monday, \(B\) on Wednesday and \(D\) on Thursday.
(a) Using the nodes printed on the answer sheet, draw a bipartite graph to model the availability of the five workers. Indicate, in a distinctive way, the manager's initial suggestion.
(2 marks)
(b) Obtain an alternating path, starting at \(C\), and use this to improve the initial matching.
(c) Find another alternating path and hence obtain a complete matching.
(3 marks)
5. This question should be answered on the sheet provided in the answer booklet. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-006_542_1389_483_352} \captionsetup{labelformat=empty} \caption{Fig. 2}
\end{figure} Figure 2 shows the activity network used to model a small building project. The activities are represented by the edges and the number in brackets on each edge represents the time, in hours, taken to complete that activity.
(a) Calculate the early time and the late time for each event. Write your answers in the boxes on the answer sheet.
(6 marks)
(b) Hence determine the critical activities and the length of the critical path.
(2 marks)
Each activity requires one worker. The project is to be completed in the minimum time.
(c) Schedule the activities for the minimum number of workers using the time line on the answer sheet. Ensure that you make clear the order in which each worker undertakes his activities.
(5 marks)
6. This question should be answered on the sheet provided in the answer booklet. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-007_732_1308_433_388} \captionsetup{labelformat=empty} \caption{Fig. 3}
\end{figure} Figure 3 shows a capacitated, directed network. The number on each arc indicates the capacity of that arc.
(a) State the maximum flow along
(i) SAET,
(ii) SBDT,
(iii) SCFT.
(3 marks)
(b) Show these maximum flows on Diagram 1 on the answer sheet.
(c) Taking your answer to part (b) as the initial flow pattern, use the labelling procedure to find a maximum flow from \(S\) to \(T\). Your working should be shown on Diagram 2. List each flow augmenting route you find, together with its flow.
(d) Indicate a maximum flow on Diagram 3.
(e) Prove that your flow is maximal.
7. A tailor makes two types of garment, \(A\) and \(B\). He has available \(70 \mathrm {~m} ^ { 2 }\) of cotton fabric and \(90 \mathrm {~m} ^ { 2 }\) of woollen fabric. Garment \(A\) requires \(1 \mathrm {~m} ^ { 2 }\) of cotton fabric and \(3 \mathrm {~m} ^ { 2 }\) of woollen fabric. Garment \(B\) requires \(2 \mathrm {~m} ^ { 2 }\) of each fabric. The tailor makes \(x\) garments of type \(A\) and \(y\) garments of type \(B\).
(a) Explain why this can be modelled by the inequalities $$\begin{aligned} & x + 2 y \leq 70
& 3 x + 2 y \leq 90
& x \geq 0 , y \geq 0 \end{aligned}$$ The tailor sells type \(A\) for \(\pounds 30\) and type \(B\) for \(\pounds 40\). All garments made are sold. The tailor wishes to maximise his total income.
(b) Set up an initial Simplex tableau for this problem.
(c) Solve the problem using the Simplex algorithm. Figure 4 shows a graphical representation of the feasible region for this problem. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-008_686_1277_1319_453} \captionsetup{labelformat=empty} \caption{Fig. 4}
\end{figure} (d) Obtain the coordinates of the points A, \(C\) and \(D\).
(e) Relate each stage of the Simplex algorithm to the corresponding point in Fig. 4. 6689 Decision Mathematics 1 (New Syllabus) Order of selecting edges
Final tree
(b) Minimum total length of cable
Question 4 to be answered on this page
(a) \(A\)
  • Monday (M)
    \(B\) ◯
  • Tuesday (Tu)
    \(C \odot\)
  • Wednesday (W)
    \(D\) ◯
  • Thursday (Th)
    \(E\) -
  • Friday (F)
    (b)
    (c)
Question 5 to be answered on this page
Key
(a) Early
Time
Late
Time
\includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-011_433_227_534_201}
\(F ( 3 )\)
\includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-011_117_222_1016_992}
H(4) K(6)
(b) Critical activities
Length of critical path \(\_\_\_\_\)
(c)
\includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-011_492_1604_1925_266} Question 6 to be answered on pages 4 and 5
(a) (i) SAET \(\_\_\_\_\)
(ii) SBDT \(\_\_\_\_\)
(iii) SCFT \(\_\_\_\_\)
(b) \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-012_691_1307_893_384} \captionsetup{labelformat=empty} \caption{Diagram 1}
\end{figure} (c) \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-013_699_1314_167_382} \captionsetup{labelformat=empty} \caption{Diagram 2}
\end{figure} Flow augmenting routes
(d) \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-013_693_1314_1368_382} \captionsetup{labelformat=empty} \caption{Diagram 3}
\end{figure} (e) \(\_\_\_\_\)
\section*{Decision Mathematics D1
(New Syllabus)
Advanced/Advanced Subsidiary } Monday 25 June 2001 - Morning
Time: 1 hour 30 minutes Materials required for examination
Answer Book (AB12)
Graph Paper (ASG2) Items included with question papers
Answer booklet Candidates may use any calculator EXCEPT those with the facility for symbolic algebra, differentiation and/or integration. Thus candidates may NOT use calculators such as the Texas Instruments TI 89, TI 92, Casio CFX 9970G, Hewlett Packard HP 48G. In the boxes on the answer book, write the name of the examining body (Edexcel), your centre number, candidate number, the unit title (Decision Mathematics D1), the paper reference (6689), your surname, other name and signature. Full marks may be obtained for answers to ALL questions.
This paper has seven questions. You must ensure that your answers to parts of questions are clearly labelled.
You must show sufficient working to make your methods clear to the Examiner. Answers without working may gain no credit.
  1. The precedence table for activities involved in a small project is shown below
ActivityPreceding Activities
\(A\)-
\(B\)-
\(C\)-
\(D\)\(B\)
\(E\)\(A\)
\(F\)\(A\)
\(G\)\(B\)
\(H\)\(C , D\)
\(I\)\(E\)
\(J\)\(E\)
\(K\)\(F , G , I\)
\(L\)\(H , J , K\)
Draw an activity network, using activity on edge and without using dummies, to model this project.
(5)
2. \begin{figure}[h]
\captionsetup{labelformat=empty} \caption{Figure 1} \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-016_708_1096_360_408}
\end{figure} Figure 1 shows 7 locations \(A , B , C , D , E , F\) and \(G\) which are to be connected by pipelines. The arcs show the possible routes. The number on each arc gives the cost, in thousands of pounds, of laying that particular section.
(a) Use Kruskal's algorithm to obtain a minimum spanning tree for the network, giving the order in which you selected the arcs.
(4)
(b) Draw your minimum spanning tree and find the least cost of the pipelines.
(3)
Question 4
View details
4. This question should be answered on the sheet provided in the answer booklet. A manager has five workers, Mr. Ahmed, Miss Brown, Ms. Clough, Mr. Dingle and Mrs. Evans. To finish an urgent order he needs each of them to work overtime, one on each evening, in the next week. The workers are only available on the following evenings: $$\begin{aligned} & \text { Mr. Ahmed } ( A ) \text { - Monday and Wednesday; }
& \text { Miss Brown } ( B ) \text { - Monday, Wednesday and Friday; }
& \text { Ms. Clough } ( C ) \text { - Monday; }
& \text { Mr. Dingle } ( D ) \text { - Tuesday, Wednesday and Thursday; }
& \text { Mrs. Evans } ( E ) \text { - Wednesday and Thursday. } \end{aligned}$$ The manager initially suggests that \(A\) might work on Monday, \(B\) on Wednesday and \(D\) on Thursday.
  1. Using the nodes printed on the answer sheet, draw a bipartite graph to model the availability of the five workers. Indicate, in a distinctive way, the manager's initial suggestion.
    (2 marks)
  2. Obtain an alternating path, starting at \(C\), and use this to improve the initial matching.
  3. Find another alternating path and hence obtain a complete matching.
    (3 marks)
Question 5
View details
5. This question should be answered on the sheet provided in the answer booklet. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-006_542_1389_483_352} \captionsetup{labelformat=empty} \caption{Fig. 2}
\end{figure} Figure 2 shows the activity network used to model a small building project. The activities are represented by the edges and the number in brackets on each edge represents the time, in hours, taken to complete that activity.
  1. Calculate the early time and the late time for each event. Write your answers in the boxes on the answer sheet.
    (6 marks)
  2. Hence determine the critical activities and the length of the critical path.
    (2 marks)
    Each activity requires one worker. The project is to be completed in the minimum time.
  3. Schedule the activities for the minimum number of workers using the time line on the answer sheet. Ensure that you make clear the order in which each worker undertakes his activities.
    (5 marks)
Question 6
View details
6. This question should be answered on the sheet provided in the answer booklet. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-007_732_1308_433_388} \captionsetup{labelformat=empty} \caption{Fig. 3}
\end{figure} Figure 3 shows a capacitated, directed network. The number on each arc indicates the capacity of that arc.
  1. State the maximum flow along
    1. SAET,
    2. SBDT,
    3. SCFT.
      (3 marks)
  2. Show these maximum flows on Diagram 1 on the answer sheet.
  3. Taking your answer to part (b) as the initial flow pattern, use the labelling procedure to find a maximum flow from \(S\) to \(T\). Your working should be shown on Diagram 2. List each flow augmenting route you find, together with its flow.
  4. Indicate a maximum flow on Diagram 3.
  5. Prove that your flow is maximal.
Question 7
View details
7. A tailor makes two types of garment, \(A\) and \(B\). He has available \(70 \mathrm {~m} ^ { 2 }\) of cotton fabric and \(90 \mathrm {~m} ^ { 2 }\) of woollen fabric. Garment \(A\) requires \(1 \mathrm {~m} ^ { 2 }\) of cotton fabric and \(3 \mathrm {~m} ^ { 2 }\) of woollen fabric. Garment \(B\) requires \(2 \mathrm {~m} ^ { 2 }\) of each fabric. The tailor makes \(x\) garments of type \(A\) and \(y\) garments of type \(B\).
  1. Explain why this can be modelled by the inequalities $$\begin{aligned} & x + 2 y \leq 70
    & 3 x + 2 y \leq 90
    & x \geq 0 , y \geq 0 \end{aligned}$$ The tailor sells type \(A\) for \(\pounds 30\) and type \(B\) for \(\pounds 40\). All garments made are sold. The tailor wishes to maximise his total income.
  2. Set up an initial Simplex tableau for this problem.
  3. Solve the problem using the Simplex algorithm. Figure 4 shows a graphical representation of the feasible region for this problem. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-008_686_1277_1319_453} \captionsetup{labelformat=empty} \caption{Fig. 4}
    \end{figure}
  4. Obtain the coordinates of the points A, \(C\) and \(D\).
  5. Relate each stage of the Simplex algorithm to the corresponding point in Fig. 4. 6689 Decision Mathematics 1 (New Syllabus) Order of selecting edges
    Final tree
  6. Minimum total length of cable
    Question 4 to be answered on this page
  7. \(A\)
    • Monday (M)
      \(B\) ◯
    • Tuesday (Tu)
      \(C \odot\)
    • Wednesday (W)
      \(D\) ◯
    • Thursday (Th)
      \(E\) -
    • Friday (F)
    Question 5 to be answered on this page
    Key
  8. Early
    Time
    Late
    Time
    \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-011_433_227_534_201}
    \(F ( 3 )\)
    \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-011_117_222_1016_992}
    H(4) K(6)
  9. Critical activities
    Length of critical path \(\_\_\_\_\)

  10. \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-011_492_1604_1925_266} Question 6 to be answered on pages 4 and 5
    1. SAET \(\_\_\_\_\)
    2. SBDT \(\_\_\_\_\)
    3. SCFT \(\_\_\_\_\)
  11. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-012_691_1307_893_384} \captionsetup{labelformat=empty} \caption{Diagram 1}
    \end{figure}
  12. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-013_699_1314_167_382} \captionsetup{labelformat=empty} \caption{Diagram 2}
    \end{figure} Flow augmenting routes
  13. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-013_693_1314_1368_382} \captionsetup{labelformat=empty} \caption{Diagram 3}
    \end{figure}
  14. \(\_\_\_\_\)
    \section*{Decision Mathematics D1
    (New Syllabus)
    Advanced/Advanced Subsidiary } Monday 25 June 2001 - Morning
    Time: 1 hour 30 minutes Materials required for examination
    Answer Book (AB12)
    Graph Paper (ASG2) Items included with question papers
    Answer booklet Candidates may use any calculator EXCEPT those with the facility for symbolic algebra, differentiation and/or integration. Thus candidates may NOT use calculators such as the Texas Instruments TI 89, TI 92, Casio CFX 9970G, Hewlett Packard HP 48G. In the boxes on the answer book, write the name of the examining body (Edexcel), your centre number, candidate number, the unit title (Decision Mathematics D1), the paper reference (6689), your surname, other name and signature. Full marks may be obtained for answers to ALL questions.
    This paper has seven questions. You must ensure that your answers to parts of questions are clearly labelled.
    You must show sufficient working to make your methods clear to the Examiner. Answers without working may gain no credit.
    1. The precedence table for activities involved in a small project is shown below
  15. Explain
    1. the purpose of the variables \(r , s\) and \(t\),
    2. the final row of the tableau.
  16. Solve this Linear Programming problem by using the Simplex alogorithm. Increase \(y\) for your first iteration and than increase \(x\) for your second iteration.
  17. Interpret your solution. Initially Ann, Bryn, Daljit and Gareth are allocated the first job in their lists shown in the table.
  18. Draw a bipartite graph to model the preferences shown in the table and indicate, in a distinctive way, the initial allocation of jobs.
  19. Use the matching improvement algorithm to find a complete matching, showing clearly your alternating path.
  20. Find a second alternating path from the initial allocation.
    2. (i) Use the binary search algorithm to try to locate the name SABINE in the following alphabetical list. Explain each step of the algorithm.
    1. ABLE
    2. BROWN
    3. COOKE
    4. DANIEL
    5. DOUBLE
    6. FEW
    7. OSBORNE
    8. PAUL
    9. SWIFT
    10. TURNER
      (ii) Find the maximum number of iterations of the binary search algorithm needed to locate a name in a list of 1000 names.
    The table above shows the points obtained by each of the teams in a football league after they had each played 6 games. The teams are listed in alphabetical order. Carry out a quick sort to produce a list of teams in descending order of points obtained.
    2. While solving a maximizing linear programming problem, the following tableau was obtained.
    Basic variable\(x\)\(y\)\(z\)\(r\)\(s\)\(t\)Value
    \(r\)00\(1 \frac { 2 } { 3 }\)10\(- \frac { 1 } { 6 }\)\(\frac { 2 } { 3 }\)
    \(y\)01\(3 \frac { 1 } { 3 }\)01\(- \frac { 1 } { 3 }\)\(\frac { 1 } { 3 }\)
    \(x\)10-30-1\(\frac { 1 } { 2 }\)1
    \(P\)00101111
  21. Explain why this is an optimal tableau.
  22. Write down the optimal solution of this problem, stating the value of every variable.
  23. Write down the profit equation from the tableau. Use it to explain why changing the value of any of the non-basic variables will decrease the value of \(P\).
    3. \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 1} \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-045_438_475_403_494}
    \end{figure} \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 2} \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-045_442_476_403_1108}
    \end{figure} Five members of staff \(1,2,3,4\) and 5 are to be matched to five jobs \(A , B , C , D\) and \(E\). A bipartite graph showing the possible matchings is given in Fig. 1 and an initial matching \(M\) is given in Fig. 2. There are several distinct alternating paths that can be generated from \(M\). Two such paths are $$2 - B = 4 - E$$ and $$2 - A = 3 - D = 5 - E$$
  24. Use each of these two alternating paths, in turn, to write down the complete matchings they generate. Using the maximum matching algorithm and the initial matching \(M\),
  25. find two further distinct alternating paths, making your reasoning clear. \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 3} \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-046_577_1476_367_333}
    \end{figure} Figure 3 shows the network of paths in a country park. The number on each path gives its length in km . The vertices \(A\) and \(I\) represent the two gates in the park and the vertices \(B , C , D , E , F , G\) and \(H\) represent places of interest.
  26. Use Dijkstra's algorithm to find the shortest route from \(A\) to \(I\). Show all necessary working in the boxes in the answer booklet and state your shortest route and its length.
    (5) The park warden wishes to check each of the paths to check for frost damage. She has to cycle along each path at least once, starting and finishing at \(A\).
    1. Use an appropriate algorithm to find which paths will be covered twice and state these paths.
    2. Find a route of minimum length.
    3. Find the total length of this shortest route.
      (5)
      5. An algorithm is described by the flow chart below.
      \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-047_1590_1264_363_539}
  27. Given that \(a = 645\) and \(b = 255\), complete the table in the answer booklet to show the results obtained at each step when the algorithm is applied.
  28. Explain how your solution to part (a) would be different if you had been given that \(a = 255\) and \(b = 645\).
  29. State what the algorithm achieves.
    6. \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 4} \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-048_1083_1608_421_259}
    \end{figure} A building project is modelled by the activity network shown in Fig. 4. The activities are represented by the arcs. The number in brackets on each arc gives the time, in hours, taken to complete the activity. The left box entry at each vertex is the earliest event time and the right box entry is the latest event time.
  30. Determine the critical activities and state the length of the critical path.
  31. State the total float for each non-critical activity.
  32. On the grid in the answer booklet, draw a cascade (Gantt) chart for the project. Given that each activity requires one worker,
  33. draw up a schedule to determine the minimum number of workers required to complete the project in the critical time. State the minimum number of workers.
    (3)
    7. A company wishes to transport its products from 3 factories \(F _ { 1 } , F _ { 2 }\) and \(F _ { 3 }\) to a single retail outlet \(R\). The capacities of the possible routes, in van loads per day, are shown in Fig. 5. \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 5} \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-049_719_1170_590_438}
    \end{figure}
  34. On Diagram 1 in the answer booklet add a supersource \(S\) to obtain a capacitated network with a single source and a single sink. State the minimum capacity of each arc you have added.
    1. State the maximum flow along \(S F _ { 1 } A B R\) and \(S F _ { 3 } C R\).
    2. Show these maximum flows on Diagram 2 in the answer booklet, using numbers in circles. Taking your answer to part (b)(ii) as the initial flow pattern,
    1. use the labelling procedure to find a maximum flow from \(S\) to \(R\). Your working should be shown on Diagram 3. List each flow-augmenting route you find together with its flow.
    2. Prove that your final flow is maximal.
Question 8
View details
8. A chemical company produces two products \(X\) and \(Y\). Based on potential demand, the total production each week must be at least 380 gallons. A major customer's weekly order for 125 gallons of \(Y\) must be satisfied. Product \(X\) requires 2 hours of processing time for each gallon and product \(Y\) requires 4 hours of processing time for each gallon. There are 1200 hours of processing time available each week. Let \(x\) be the number of gallons of \(X\) produced and \(y\) be the number of gallons of \(Y\) produced each week.
  1. Write down the inequalities that \(x\) and \(y\) must satisfy.
    (3) It costs \(\pounds 3\) to produce 1 gallon of \(X\) and \(\pounds 2\) to produce 1 gallon of \(Y\). Given that the total cost of production is \(\pounds C\),
  2. express \(C\) in terms of \(x\) and \(y\).
    (1) The company wishes to minimise the total cost.
  3. Using the graphical method, solve the resulting Linear Programming problem. Find the optimal values of \(x\) and \(y\) and the resulting total cost.
  4. Find the maximum cost of production for all possible choices of \(x\) and \(y\) which satisfy the inequalities you wrote down in part (a). 6689 \section*{Edexcel GCE
    Decision Mathematics D1
    Advanced/Advanced Subsidiary } May 2002 Answer Booklet
    1. \(\_\_\_\_\)
    2. \(\_\_\_\_\)
    4. (a) Shortest route \(\_\_\_\_\) \section*{Length of shortest route}
    1. \(\_\_\_\_\)
    2. \(\_\_\_\_\)
    3. \(\_\_\_\_\)
      5. (a)
  5. Draw an activity network, using activity on arc, and exactly one dummy, to model the manufacturing process.
  6. Explain briefly why it is necessary to use a dummy in this case.
    3. At a water sports centre there are five new instructors. Ali (A), George ( \(G\) ), Jo ( \(J\) ), Lydia ( \(L\) ) and Nadia \(( N )\). They are to be matched to five sports, canoeing \(( C )\), scuba diving \(( D )\), surfing \(( F )\), sailing ( \(S\) ) and water skiing ( \(W\) ). The table indicates the sports each new instructor is qualified to teach.
    InstructorSport
    \(A\)\(C , F , W\)
    \(G\)\(F\)
    \(J\)\(D , C , S\)
    \(L\)\(S , W\)
    \(N\)\(D , F\)
    Initially, \(A , G , J\) and \(L\) are each matched to the first sport in their individual list.
  7. Draw a bipartite graph to model this situation and indicate the initial matching in a distinctive way.
  8. Starting from this initial matching, use the maximum matching algorithm to find a complete matching. You must clearly list any alternating paths used. Given that on a particular day \(J\) must be matched to \(D\),
  9. explain why it is no longer possible to find a complete matching.
    \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-064_720_1305_391_236} Figure 2 models an underground network of pipes that must be inspected for leaks. The nodes \(A\), \(B , C , D , E , F , G\) and \(H\) represent entry points to the network. The number on each arc gives the length, in metres, of the corresponding pipe. Each pipe must be traversed at least once and the length of the inspection route must be minimised.
  10. Use the Route Inspection algorithm to find which paths, if any, need to be traversed twice. It is decided to start the inspection at node \(C\). The inspection must still traverse each pipe at least once but may finish at any node.
  11. Explaining your reasoning briefly, determine the node at which the inspection should finish if the route is to be minimised. State the length of your route.
    (3)
    5. \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 3} \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-065_763_1490_348_242}
    \end{figure}
  12. Use Dijkstra's algorithm to find the shortest route from \(S\) to \(T\) in Fig. 3. Show all necessary working in the boxes in the answer booklet. State your shortest route and its length.
  13. Explain how you determined the shortest route from your labelling.
  14. It is now necessary to go from \(S\) to \(T\) via \(H\). Obtain the shortest route and its length.
    6. \(\begin{array} { l l l l l l l l l l } 55 & 80 & 25 & 84 & 25 & 34 & 17 & 75 & 3 & 5 \end{array}\)
  15. 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 complete pass. The numbers in the list represent weights, in grams, of objects which are to be packed into bins that hold up to 100 g .
  16. Determine the least number of bins needed.
  17. Use the first-fit decreasing algorithm to fit the objects into bins which hold up to 100 g .
    7. \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 4} \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-066_526_1404_345_345}
    \end{figure} The network in Fig. 4 models a drainage system. The number on each arc indicates the capacity of that arc, in litres per second.
  18. Write down the source vertices. \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 5} \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-066_525_1406_1233_343}
    \end{figure} Figure 5 shows a feasible flow through the same network.
  19. State the value of the feasible flow shown in Fig. 5. Taking the flow in Fig. 5 as your initial flow pattern,
  20. use the labelling procedure on Diagram 1 to find a maximum flow through this network. You should list each flow-augmenting route you use, together with its flow.
    (6)
  21. Show the maximal flow on Diagram 2 and state its value.
  22. Prove that your flow is maximal.
    8. T42 Co. Ltd produces three different blends of tea, Morning, Afternoon and Evening. The teas must be processed, blended and then packed for distribution. The table below shows the time taken, in hours, for each stage of the production of a tonne of tea. It also shows the profit, in hundreds of pounds, on each tonne.
    \cline { 2 - 5 } \multicolumn{1}{c|}{}ProcessingBlendingPackingProfit ( \(\pounds 100\) )
    Morning blend3124
    Afternoon blend2345
    Evening blend4233
    The total times available each week for processing, blending and packing are 35, 20 and 24 hours respectively. T42 Co. Ltd wishes to maximise the weekly profit. Let \(x , y\) and \(z\) be the number of tonnes of Morning, Afternoon and Evening blend produced each week.
  23. Formulate the above situation as a linear programming problem, listing clearly the objective function, and the constraints as inequalities.
    (4) An initial Simplex tableau for the above situation is
    Basic
    variable
    \(x\)\(y\)\(z\)\(r\)\(s\)\(t\)Value
    \(r\)32410035
    \(s\)13201020
    \(t\)24300124
    \(P\)- 4- 5- 30000
  24. Solve this linear programming problem using the Simplex algorithm. Take the most negative number in the profit row to indicate the pivot column at each stage. T42 Co. Ltd wishes to increase its profit further and is prepared to increase the time available for processing or blending or packing or any two of these three.
  25. Use your answer to part (b) to advise the company as to which stage(s) it should increase the time available.
    (2)
    Paper Reference(s)
    6689/01
    Edexcel GCE
    Decision Mathematics D1
    Advanced/Advanced Subsidiary November 2002
    Answer Booklet
    1. (a) \(A , X , D , F\),
    2. (a)
  26. \(A \bullet\)
    • \(C\)
      A
    • \(C\)
      \(G \bullet\)
    • \(D\)
      \(G \bullet\)
    • \(D\)
      \(J \bullet\)
    • \(F\)
      \(J \bullet\)
    • \(F\)
      \(L \bullet\)
    • \(S\)
      \(L \bullet\)
    • \(S\)
      \(N \bullet\)
    • \(W\)
      \(N \bullet\)
    • \(W\)
    • \(\_\_\_\_\)
    • \(\_\_\_\_\)
    1. (a) \(\_\_\_\_\)
    2. \(\_\_\_\_\)
    Length of route: \(\_\_\_\_\)
    5. (a)
    \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-072_937_2097_277_522} Route:
    Length:
  27. \(\_\_\_\_\)
    Turn over
    (Total 10 marks)
  28. \(\_\_\_\_\)
    leave
    blank
    leave
    6.
  29. \(\_\_\_\_\)
  30. \(\_\_\_\_\)
  31. \(\_\_\_\_\)
Question 10
View details
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.
    3. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-415_755_627_283_285} \captionsetup{labelformat=empty} \caption{Figure 1}
    \end{figure} \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-415_748_618_287_1153} \captionsetup{labelformat=empty} \caption{Figure 2}
    \end{figure} Figure 1 shows the possible allocations of six workers, Charlotte (C), Eleanor (E), Harry (H), Matt (M), Rachel (R) and Simon (S) to six tasks, 1, 2, 3, 4, 5 and 6. Figure 2 shows an initial matching.
  4. List an alternating path, starting at H and ending at 4 . Use your path to find an improved matching. List your improved matching.
  5. Explain why it is not possible to find a complete matching. Simon (S) now has task 3 added to his possible allocation.
  6. Taking the improved matching found in (a) as the new initial matching, use the maximum matching algorithm to find a complete matching. List clearly the alternating path you use and your complete matching.
    (3)
    4. Miri
    Jessie
    Edward
    Katie
    Hegg
    Beth
    Louis
    Philip
    Natsuko
    Dylan
  7. Use the quick sort algorithm to sort the above list into alphabetical order.
    (5)
  8. Use the binary search algorithm to locate the name Louis.
    5. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-417_938_1408_264_324} \captionsetup{labelformat=empty} \caption{Figure 3}
    \end{figure} [The total weight of the network is 625 m ] Figure 3 models a network of paths in a park. The number on each arc represents the length, in m , of that path.
    Rob needs to travel along each path to inspect the surface. He wants to minimise the length of his route.
  9. Use the route inspection algorithm to find the length of his route. State the arcs that should be repeated. You should make your method and working clear.
    (6) The surface on each path is to be renewed. A machine will be hired to do this task and driven along each path.
    The machine will be delivered to point G and will start from there, but it may be collected from any point once the task is complete.
  10. Given that each path must be traversed at least once, determine the finishing point so that the length of the route is minimised. Give a reason for your answer and state the length of your route.
    (3)
    6. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-418_903_1493_260_278} \captionsetup{labelformat=empty} \caption{Figure 4}
    \end{figure} Figure 4 represents a network of roads. The number on each arc gives the length, in km, of that road.
  11. Use Dijkstra's algorithm to find the shortest distance from A to I. State your shortest route.
    (6)
  12. State the shortest distance from A to G.
    (1)
    7. Rose makes hanging baskets which she sells at her local market. She makes two types, large and small. Rose makes \(x\) large baskets and \(y\) small baskets. Each large basket costs \(\pounds 7\) to make and each small basket costs \(\pounds 5\) to make. Rose has \(\pounds 350\) she can spend on making the baskets.
  13. Write down an inequality, in terms of \(x\) and \(y\), to model this constraint.
    (2) Two further constraints are $$\begin{aligned} & y \leqslant 20 \text { and }
    & y \leqslant 4 x \end{aligned}$$
  14. Use these two constraints to write down statements that describe the numbers of large and small baskets that Rose can make.
  15. On the grid provided, show these three constraints and \(x \geqslant 0 , y \geqslant 0\). Hence label the feasible region, R. Rose makes a profit of \(\pounds 2\) on each large basket and \(\pounds 3\) on each small basket. Rose wishes to maximise her profit, £P.
  16. Write down the objective function.
  17. Use your graph to determine the optimal numbers of large and small baskets Rose should make, and state the optimal profit.
    8. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-420_812_1541_278_262} \captionsetup{labelformat=empty} \caption{Figure 5}
    \end{figure} A construction project is modelled by the activity network shown in Figure 5. 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 possible time.
  18. Complete Diagram 2 in the answer book, showing the early and late event times.
  19. State the critical activities.
  20. Find the total float for activities M and H . You must make the numbers you use in your calculations clear.
  21. On the grid provided, draw a cascade (Gantt) chart for this project. An inspector visits the project at 1 pm on days 16 and 31 to check the progress of the work.
  22. Given that the project is on schedule, which activities must be happening on each of these days?
  23. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-422_632_896_1742_523} \captionsetup{labelformat=empty} \caption{Diagram 1}
    \end{figure}
  24. Total weight of tree \(\_\_\_\_\)
    2. \(\_\_\_\_\)
    \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-423_108_61_2627_1884}
    3. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-424_746_601_255_242} \captionsetup{labelformat=empty} \caption{Figure 1}
    \end{figure} \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-424_739_599_260_1103} \captionsetup{labelformat=empty} \caption{Figure 2}
    \end{figure} (Question 3 continued)
    C
    • 1
    E • • 2 H • • 3 M • • 4 R • • 5 S • • 6
    4. \(\_\_\_\_\)
    (Question 4 continued)
    \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-427_133_40_2622_1877}
    5. \(\_\_\_\_\)
    (Question 5 continued)
    \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-430_2633_1831_118_118}
    7. \(\_\_\_\_\)
    \section*{(Question 7 continued)} \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-432_1616_1637_278_148}
    \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-433_2296_1347_435_182}
    \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-434_2382_1559_127_194}
    (Total 15 marks) \section*{Decision Mathematics D1
    Advanced/Advanced Subsidiary } Candidates may use any calculator allowed by the regulations of the Joint Council for Qualifications. Calculators must not have the facility for symbolic algebra manipulation, differentiation and integration, or have retrievable mathematical formulae stored in them. Write your answers for this paper in the D1 answer book provided.
    In the boxes on the answer book, write your centre number, candidate number, your surname, initials and signature.
    When a calculator is used, the answer should be given to an appropriate degree of accuracy.
    Complete your answers in blue or black ink or pencil.
    Do not return the question paper with the answer book. Full marks may be obtained for answers to ALL questions.
    The marks for individual questions and the parts of questions are shown in round brackets: e.g. (2). There are 7 questions in this question paper. The total mark for this paper is 75.
    There are 8 pages in this question paper. The answer book has 16 pages. Any blank pages are indicated. You must ensure that your answers to parts of questions are clearly labelled.
    You should show sufficient working to make your methods clear to the Examiner.
    Answers without working may not gain full credit. \section*{Write your answers in the D1 answer book for this paper.} 1. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-436_611_636_356_719} \captionsetup{labelformat=empty} \caption{Figure 1}
    \end{figure} Figure 1 shows the possible allocation of six people, Alice (A), Brian (B), Christine (C), David (D), Elizabeth (E) and Freddy (F), to six tasks, 1, 2, 3, 4, 5 and 6. An initial matching is Alice to task 1, Christine to task 3, David to task 4 and Elizabeth to task 5.
  25. Show this initial matching on Diagram 1 in the answer book.
    (1)
  26. Starting from this initial matching, use the maximum matching algorithm to find a complete matching. List clearly the alternating paths that you use, and give your final matching.
    (5)
    2. Prim's algorithm finds a minimum spanning tree for a connected graph.
  27. Explain the terms
    1. connected graph,
    2. tree,
    3. spanning tree.
  28. Name an alternative algorithm for finding a minimum spanning tree. \begin{table}[h]
  29. \(\_\_\_\_\)
  30. \(\_\_\_\_\)
    6. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-453_614_1315_255_374} \captionsetup{labelformat=empty} \caption{Figure 5}
    \end{figure}
  31. \(\_\_\_\_\)
    \begin{table}[h]
    \captionsetup{labelformat=empty} \caption{(b)}
    EventImmediately preceding activity
    A-
    B-
    C
    D
    E
    F
    G
    H
    \end{table} Question 6 continues on the next page \section*{(Question 6 continued)} \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{(c)} \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-454_2222_1161_356_330}
    \end{figure} 7. \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{(Question 7 continued)} \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-457_927_1315_365_315}
    \end{figure} \section*{6689/01 Edexcel GCE} \section*{Decision Mathematics D1 Advanced/Advanced Subsidiary} \section*{Thursday 27 May 2010 - Morning} Materials required for examination
    Nil Items included with question papers
    D1 Answer Book Candidates may use any calculator allowed by the regulations of the Joint Council for Qualifications. Calculators must not have the facility for symbolic algebra manipulation, differentiation and integration, or have retrievable mathematical formulae stored in them. Write your answers for this paper in the D1 answer book provided.
    In the boxes on the answer book, write your centre number, candidate number, your surname, initials and signature.
    Check that you have the correct question paper.
    Answer ALL the questions.
    When a calculator is used, the answer should be given to an appropriate degree of accuracy.
    Do not return the question paper with the answer book. Full marks may be obtained for answers to ALL questions.
    The marks for individual questions and the parts of questions are shown in round brackets: e.g. (2). There are 8 questions in this question paper. The total mark for this paper is 75 .
    There are 12 pages in this question paper. The answer book has 20 pages. Any blank pages are indicated. You must ensure that your answers to parts of questions are clearly labelled.
    You should show sufficient working to make your methods clear to the Examiner.
    Answers without working may not gain full credit.
    1. \section*{-} \section*{Q} LO
    2. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-471_753_1216_223_361} \captionsetup{labelformat=empty} \caption{Figure 1}
    \end{figure}
  32. Paper Reference(s)
    6689/01
    Edexcel GCE
    Decision Mathematics D1
    \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-493_130_311_471_1641} \(\begin{array} { l l l l l l l l } 23 & 29 & 11 & 34 & 10 & 14 & 35 & 17 \end{array}\) \(\begin{array} { l l l l l l l l } 23 & 29 & 11 & 34 & 10 & 14 & 35 & 17 \end{array}\)
    3. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-498_993_1262_262_331} \captionsetup{labelformat=empty} \caption{Figure 2}
    \end{figure}
  33. \(\_\_\_\_\)

  34. D \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{B} \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-499_204_435_1567_961}
    \end{figure} \begin{verbatim} G \end{verbatim} A • \section*{Diagram 1} Weight of minimum spanning tree: \(\_\_\_\_\)
  35. \(\_\_\_\_\)
    4. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-500_742_604_296_223} \captionsetup{labelformat=empty} \caption{Figure 3}
    \end{figure} \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-500_734_590_301_1096} \captionsetup{labelformat=empty} \caption{Figure 4}
    \end{figure} \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-501_744_604_294_221}
    \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-501_739_592_296_1094}
    5. 6.
    \includegraphics[max width=\textwidth, alt={}]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-504_1226_1591_278_178}
    \section*{Graph 1}
    1. (a)
    A binary search is to be performed on the names in the list above to locate the name Kim.
  36. Explain why a binary search cannot be performed with the list in its present form.
  37. Using an appropriate algorithm, alter the list so that a binary search can be performed, showing the state of the list after each complete iteration. State the name of the algorithm you have used.
  38. Use the binary search algorithm to locate the name Kim in the list you obtained in (b). You must make your method clear.
    2. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-510_858_1169_244_447} \captionsetup{labelformat=empty} \caption{Figure 1}
    \end{figure}
  39. Define the terms
    1. tree,
    2. minimum spanning tree.
      (3)
  40. Use Kruskal's algorithm to find a minimum spanning tree for the network shown in Figure 1. You should list the arcs in the order in which you consider them. In each case, state whether you are adding the arc to your minimum spanning tree.
    (3)
  41. Draw your minimum spanning tree using the vertices given in Diagram 1 in the answer book.
  42. State whether your minimum spanning tree is unique. Justify your answer.
    (1)
    3. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-511_1492_1298_210_379} \captionsetup{labelformat=empty} \caption{Figure 2}
    \end{figure} Figure 2 shows the constraints of a linear programming problem in \(x\) and \(y\), where \(R\) is the feasible region.
  43. Write down the inequalities that form region \(R\). The objective is to maximise \(3 x + y\).
  44. Find the optimal values of \(x\) and \(y\). You must make your method clear.
  45. Obtain the optimal value of the objective function. Given that integer values of \(x\) and \(y\) are now required,
  46. write down the optimal values of \(x\) and \(y\).
    4. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-512_623_577_287_383} \captionsetup{labelformat=empty} \caption{Figure 3}
    \end{figure} \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-512_620_582_287_1098} \captionsetup{labelformat=empty} \caption{Figure 4}
    \end{figure} Figure 3 shows the possible allocations of five workers, Adam (A), Catherine (C), Harriet (H), Josh (J) and Richard (R) to five tasks, 1, 2, 3, 4 and 5. Figure 4 shows an initial matching.
    There are three possible alternating paths that start at A .
    One of them is $$A - 3 = R - 4 = C - 5$$
  47. Find the other two alternating paths that start at A .
  48. List the improved matching generated by using the alternating path \(\mathrm { A } - 3 = \mathrm { R } - 4 = \mathrm { C } - 5\).
  49. Starting from the improved matching found in (b), use the maximum matching algorithm to obtain a complete matching. You must list the alternating path used and your final matching.
    5. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-513_835_913_219_575} \captionsetup{labelformat=empty} \caption{Figure 5
    [0pt] [The total weight of the network is 98 km ]}
    \end{figure} Figure 5 models a network of gas pipes that have to be inspected. The number on each arc represents the length, in km, of that pipe. A route of minimum length that traverses each pipe at least once and starts and finishes at A needs to be found.
  50. Use the route inspection algorithm to find the pipes that will need to be traversed twice. You must make your method and working clear.
  51. Write down a possible shortest inspection route, giving its length. It is now decided to start the inspection route at D . The route must still traverse each pipe at least once but may finish at any node.
  52. Determine the finishing point so that the length of the route is minimised. You must give reasons for your answer and state the length of your route.
    6. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-514_825_1379_226_342} \captionsetup{labelformat=empty} \caption{Figure 6}
    \end{figure} Figure 6 shows a network of cycle tracks. The number on each arc gives the length, in km, of that track.
  53. Use Dijkstra's algorithm to find the shortest route from A to H. State your shortest route and its length.
  54. Explain how you determined your shortest route from your labelled diagram. The track between E and F is now closed for resurfacing and cannot be used.
  55. Find the shortest route from A to H and state its length.
    (2)
    7. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-515_798_1497_258_283} \captionsetup{labelformat=empty} \caption{Figure 7}
    \end{figure} A project is modelled by the activity network shown in Figure 7. 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 possible time.
  56. Complete the precedence table in the answer book.
    (3)
  57. Complete Diagram 1 in the answer book, to show the early event times and late event times.
  58. State the critical activities.
  59. On the grid in your answer book, draw a cascade (Gantt) chart for this project.
  60. By considering the activities that must take place between time 7 and time 16, explain why it is not possible to complete this project with just 3 workers in the minimum time.
    8. A firm is planning to produce two types of radio, type A and type B. Market research suggests that, each week:
    • At least 50 type A radios should be produced.
    • The number of type A radios should be between \(20 \%\) and \(40 \%\) of the total number of radios produced.
    Each type A radio requires 3 switches and each type B radio requires 2 switches. The firm can only buy 200 switches each week. The profit on each type A radio is \(\pounds 15\).
    The profit on each type B radio is \(\pounds 12\).
    The firm wishes to maximise its weekly profit.
    Formulate this situation as a linear programming problem, defining your variables.
    (Total 7 marks)
Question 12
View details
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.
    3. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-415_755_627_283_285} \captionsetup{labelformat=empty} \caption{Figure 1}
    \end{figure} \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-415_748_618_287_1153} \captionsetup{labelformat=empty} \caption{Figure 2}
    \end{figure} Figure 1 shows the possible allocations of six workers, Charlotte (C), Eleanor (E), Harry (H), Matt (M), Rachel (R) and Simon (S) to six tasks, 1, 2, 3, 4, 5 and 6. Figure 2 shows an initial matching.
  4. List an alternating path, starting at H and ending at 4 . Use your path to find an improved matching. List your improved matching.
  5. Explain why it is not possible to find a complete matching. Simon (S) now has task 3 added to his possible allocation.
  6. Taking the improved matching found in (a) as the new initial matching, use the maximum matching algorithm to find a complete matching. List clearly the alternating path you use and your complete matching.
    (3)
    4. Miri
    Jessie
    Edward
    Katie
    Hegg
    Beth
    Louis
    Philip
    Natsuko
    Dylan
  7. Use the quick sort algorithm to sort the above list into alphabetical order.
    (5)
  8. Use the binary search algorithm to locate the name Louis.
    5. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-417_938_1408_264_324} \captionsetup{labelformat=empty} \caption{Figure 3}
    \end{figure} [The total weight of the network is 625 m ] Figure 3 models a network of paths in a park. The number on each arc represents the length, in m , of that path.
    Rob needs to travel along each path to inspect the surface. He wants to minimise the length of his route.
  9. Use the route inspection algorithm to find the length of his route. State the arcs that should be repeated. You should make your method and working clear.
    (6) The surface on each path is to be renewed. A machine will be hired to do this task and driven along each path.
    The machine will be delivered to point G and will start from there, but it may be collected from any point once the task is complete.
  10. Given that each path must be traversed at least once, determine the finishing point so that the length of the route is minimised. Give a reason for your answer and state the length of your route.
    (3)
    6. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-418_903_1493_260_278} \captionsetup{labelformat=empty} \caption{Figure 4}
    \end{figure} Figure 4 represents a network of roads. The number on each arc gives the length, in km, of that road.
  11. Use Dijkstra's algorithm to find the shortest distance from A to I. State your shortest route.
    (6)
  12. State the shortest distance from A to G.
    (1)
    7. Rose makes hanging baskets which she sells at her local market. She makes two types, large and small. Rose makes \(x\) large baskets and \(y\) small baskets. Each large basket costs \(\pounds 7\) to make and each small basket costs \(\pounds 5\) to make. Rose has \(\pounds 350\) she can spend on making the baskets.
  13. Write down an inequality, in terms of \(x\) and \(y\), to model this constraint.
    (2) Two further constraints are $$\begin{aligned} & y \leqslant 20 \text { and }
    & y \leqslant 4 x \end{aligned}$$
  14. Use these two constraints to write down statements that describe the numbers of large and small baskets that Rose can make.
  15. On the grid provided, show these three constraints and \(x \geqslant 0 , y \geqslant 0\). Hence label the feasible region, R. Rose makes a profit of \(\pounds 2\) on each large basket and \(\pounds 3\) on each small basket. Rose wishes to maximise her profit, £P.
  16. Write down the objective function.
  17. Use your graph to determine the optimal numbers of large and small baskets Rose should make, and state the optimal profit.
    8. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-420_812_1541_278_262} \captionsetup{labelformat=empty} \caption{Figure 5}
    \end{figure} A construction project is modelled by the activity network shown in Figure 5. 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 possible time.
  18. Complete Diagram 2 in the answer book, showing the early and late event times.
  19. State the critical activities.
  20. Find the total float for activities M and H . You must make the numbers you use in your calculations clear.
  21. On the grid provided, draw a cascade (Gantt) chart for this project. An inspector visits the project at 1 pm on days 16 and 31 to check the progress of the work.
  22. Given that the project is on schedule, which activities must be happening on each of these days?
  23. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-422_632_896_1742_523} \captionsetup{labelformat=empty} \caption{Diagram 1}
    \end{figure}
  24. Total weight of tree \(\_\_\_\_\)
    2. \(\_\_\_\_\)
    \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-423_108_61_2627_1884}
    3. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-424_746_601_255_242} \captionsetup{labelformat=empty} \caption{Figure 1}
    \end{figure} \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-424_739_599_260_1103} \captionsetup{labelformat=empty} \caption{Figure 2}
    \end{figure} (Question 3 continued)
    C
    • 1
    E • • 2 H • • 3 M • • 4 R • • 5 S • • 6
    4. \(\_\_\_\_\)
    (Question 4 continued)
    \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-427_133_40_2622_1877}
    5. \(\_\_\_\_\)
    (Question 5 continued)
    \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-430_2633_1831_118_118}
    7. \(\_\_\_\_\)
    \section*{(Question 7 continued)} \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-432_1616_1637_278_148}
    \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-433_2296_1347_435_182}
    \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-434_2382_1559_127_194}
    (Total 15 marks) \section*{Decision Mathematics D1
    Advanced/Advanced Subsidiary } Candidates may use any calculator allowed by the regulations of the Joint Council for Qualifications. Calculators must not have the facility for symbolic algebra manipulation, differentiation and integration, or have retrievable mathematical formulae stored in them. Write your answers for this paper in the D1 answer book provided.
    In the boxes on the answer book, write your centre number, candidate number, your surname, initials and signature.
    When a calculator is used, the answer should be given to an appropriate degree of accuracy.
    Complete your answers in blue or black ink or pencil.
    Do not return the question paper with the answer book. Full marks may be obtained for answers to ALL questions.
    The marks for individual questions and the parts of questions are shown in round brackets: e.g. (2). There are 7 questions in this question paper. The total mark for this paper is 75.
    There are 8 pages in this question paper. The answer book has 16 pages. Any blank pages are indicated. You must ensure that your answers to parts of questions are clearly labelled.
    You should show sufficient working to make your methods clear to the Examiner.
    Answers without working may not gain full credit. \section*{Write your answers in the D1 answer book for this paper.} 1. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-436_611_636_356_719} \captionsetup{labelformat=empty} \caption{Figure 1}
    \end{figure} Figure 1 shows the possible allocation of six people, Alice (A), Brian (B), Christine (C), David (D), Elizabeth (E) and Freddy (F), to six tasks, 1, 2, 3, 4, 5 and 6. An initial matching is Alice to task 1, Christine to task 3, David to task 4 and Elizabeth to task 5.
  25. Show this initial matching on Diagram 1 in the answer book.
    (1)
  26. Starting from this initial matching, use the maximum matching algorithm to find a complete matching. List clearly the alternating paths that you use, and give your final matching.
    (5)
    2. Prim's algorithm finds a minimum spanning tree for a connected graph.
  27. Explain the terms
    1. connected graph,
    2. tree,
    3. spanning tree.
  28. Name an alternative algorithm for finding a minimum spanning tree. \begin{table}[h]
  29. \(\_\_\_\_\)
  30. \(\_\_\_\_\)
    6. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-453_614_1315_255_374} \captionsetup{labelformat=empty} \caption{Figure 5}
    \end{figure}
  31. \(\_\_\_\_\)
    \begin{table}[h]
    \captionsetup{labelformat=empty} \caption{(b)}
    EventImmediately preceding activity
    A-
    B-
    C
    D
    E
    F
    G
    H
    \end{table} Question 6 continues on the next page \section*{(Question 6 continued)} \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{(c)} \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-454_2222_1161_356_330}
    \end{figure} 7. \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{(Question 7 continued)} \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-457_927_1315_365_315}
    \end{figure} \section*{6689/01 Edexcel GCE} \section*{Decision Mathematics D1 Advanced/Advanced Subsidiary} \section*{Thursday 27 May 2010 - Morning} Materials required for examination
    Nil Items included with question papers
    D1 Answer Book Candidates may use any calculator allowed by the regulations of the Joint Council for Qualifications. Calculators must not have the facility for symbolic algebra manipulation, differentiation and integration, or have retrievable mathematical formulae stored in them. Write your answers for this paper in the D1 answer book provided.
    In the boxes on the answer book, write your centre number, candidate number, your surname, initials and signature.
    Check that you have the correct question paper.
    Answer ALL the questions.
    When a calculator is used, the answer should be given to an appropriate degree of accuracy.
    Do not return the question paper with the answer book. Full marks may be obtained for answers to ALL questions.
    The marks for individual questions and the parts of questions are shown in round brackets: e.g. (2). There are 8 questions in this question paper. The total mark for this paper is 75 .
    There are 12 pages in this question paper. The answer book has 20 pages. Any blank pages are indicated. You must ensure that your answers to parts of questions are clearly labelled.
    You should show sufficient working to make your methods clear to the Examiner.
    Answers without working may not gain full credit.
    1. \section*{-} \section*{Q} LO
    2. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-471_753_1216_223_361} \captionsetup{labelformat=empty} \caption{Figure 1}
    \end{figure}
  32. Paper Reference(s)
    6689/01
    Edexcel GCE
    Decision Mathematics D1
    \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-493_130_311_471_1641} \(\begin{array} { l l l l l l l l } 23 & 29 & 11 & 34 & 10 & 14 & 35 & 17 \end{array}\) \(\begin{array} { l l l l l l l l } 23 & 29 & 11 & 34 & 10 & 14 & 35 & 17 \end{array}\)
    3. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-498_993_1262_262_331} \captionsetup{labelformat=empty} \caption{Figure 2}
    \end{figure}
  33. \(\_\_\_\_\)

  34. D \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{B} \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-499_204_435_1567_961}
    \end{figure} \begin{verbatim} G \end{verbatim} A • \section*{Diagram 1} Weight of minimum spanning tree: \(\_\_\_\_\)
  35. \(\_\_\_\_\)
    4. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-500_742_604_296_223} \captionsetup{labelformat=empty} \caption{Figure 3}
    \end{figure} \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-500_734_590_301_1096} \captionsetup{labelformat=empty} \caption{Figure 4}
    \end{figure} \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-501_744_604_294_221}
    \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-501_739_592_296_1094}
    5. 6.
    \includegraphics[max width=\textwidth, alt={}]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-504_1226_1591_278_178}
    \section*{Graph 1}
    1. (a)
    A binary search is to be performed on the names in the list above to locate the name Kim.
  36. Explain why a binary search cannot be performed with the list in its present form.
  37. Using an appropriate algorithm, alter the list so that a binary search can be performed, showing the state of the list after each complete iteration. State the name of the algorithm you have used.
  38. Use the binary search algorithm to locate the name Kim in the list you obtained in (b). You must make your method clear.
    2. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-510_858_1169_244_447} \captionsetup{labelformat=empty} \caption{Figure 1}
    \end{figure}
  39. Define the terms
    1. tree,
    2. minimum spanning tree.
      (3)
  40. Use Kruskal's algorithm to find a minimum spanning tree for the network shown in Figure 1. You should list the arcs in the order in which you consider them. In each case, state whether you are adding the arc to your minimum spanning tree.
    (3)
  41. Draw your minimum spanning tree using the vertices given in Diagram 1 in the answer book.
  42. State whether your minimum spanning tree is unique. Justify your answer.
    (1)
    3. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-511_1492_1298_210_379} \captionsetup{labelformat=empty} \caption{Figure 2}
    \end{figure} Figure 2 shows the constraints of a linear programming problem in \(x\) and \(y\), where \(R\) is the feasible region.
  43. Write down the inequalities that form region \(R\). The objective is to maximise \(3 x + y\).
  44. Find the optimal values of \(x\) and \(y\). You must make your method clear.
  45. Obtain the optimal value of the objective function. Given that integer values of \(x\) and \(y\) are now required,
  46. write down the optimal values of \(x\) and \(y\).
    4. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-512_623_577_287_383} \captionsetup{labelformat=empty} \caption{Figure 3}
    \end{figure} \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-512_620_582_287_1098} \captionsetup{labelformat=empty} \caption{Figure 4}
    \end{figure} Figure 3 shows the possible allocations of five workers, Adam (A), Catherine (C), Harriet (H), Josh (J) and Richard (R) to five tasks, 1, 2, 3, 4 and 5. Figure 4 shows an initial matching.
    There are three possible alternating paths that start at A .
    One of them is $$A - 3 = R - 4 = C - 5$$
  47. Find the other two alternating paths that start at A .
  48. List the improved matching generated by using the alternating path \(\mathrm { A } - 3 = \mathrm { R } - 4 = \mathrm { C } - 5\).
  49. Starting from the improved matching found in (b), use the maximum matching algorithm to obtain a complete matching. You must list the alternating path used and your final matching.
    5. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-513_835_913_219_575} \captionsetup{labelformat=empty} \caption{Figure 5
    [0pt] [The total weight of the network is 98 km ]}
    \end{figure} Figure 5 models a network of gas pipes that have to be inspected. The number on each arc represents the length, in km, of that pipe. A route of minimum length that traverses each pipe at least once and starts and finishes at A needs to be found.
  50. Use the route inspection algorithm to find the pipes that will need to be traversed twice. You must make your method and working clear.
  51. Write down a possible shortest inspection route, giving its length. It is now decided to start the inspection route at D . The route must still traverse each pipe at least once but may finish at any node.
  52. Determine the finishing point so that the length of the route is minimised. You must give reasons for your answer and state the length of your route.
    6. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-514_825_1379_226_342} \captionsetup{labelformat=empty} \caption{Figure 6}
    \end{figure} Figure 6 shows a network of cycle tracks. The number on each arc gives the length, in km, of that track.
  53. Use Dijkstra's algorithm to find the shortest route from A to H. State your shortest route and its length.
  54. Explain how you determined your shortest route from your labelled diagram. The track between E and F is now closed for resurfacing and cannot be used.
  55. Find the shortest route from A to H and state its length.
    (2)
    7. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-515_798_1497_258_283} \captionsetup{labelformat=empty} \caption{Figure 7}
    \end{figure} A project is modelled by the activity network shown in Figure 7. 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 possible time.
  56. Complete the precedence table in the answer book.
    (3)
  57. Complete Diagram 1 in the answer book, to show the early event times and late event times.
  58. State the critical activities.
  59. On the grid in your answer book, draw a cascade (Gantt) chart for this project.
  60. By considering the activities that must take place between time 7 and time 16, explain why it is not possible to complete this project with just 3 workers in the minimum time.
    8. A firm is planning to produce two types of radio, type A and type B. Market research suggests that, each week:
    • At least 50 type A radios should be produced.
    • The number of type A radios should be between \(20 \%\) and \(40 \%\) of the total number of radios produced.
    Each type A radio requires 3 switches and each type B radio requires 2 switches. The firm can only buy 200 switches each week. The profit on each type A radio is \(\pounds 15\).
    The profit on each type B radio is \(\pounds 12\).
    The firm wishes to maximise its weekly profit.
    Formulate this situation as a linear programming problem, defining your variables.
    (Total 7 marks)
Question 13
View details
13
16
5
8
2
15
12
10 6.
\includegraphics[max width=\textwidth, alt={}]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-558_2226_1632_322_157}
\section*{Diagram 1}
  1. (a) (i) \(\_\_\_\_\)
    (ii) \(\_\_\_\_\)
    (b)
    \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-562_1214_1239_753_349}
    (c) \(\_\_\_\_\)
(d) \(\_\_\_\_\)
The table shows the lengths, in km, of a network of roads between seven villages, \(\mathrm { A } , \mathrm { B } , \mathrm { C } , \mathrm { D } , \mathrm { E } , \mathrm { F }\) and G.
(a) Complete the drawing of the network in Diagram 1 of the answer book by adding the necessary arcs from vertex D together with their weights.
(b) Use Kruskal's algorithm to find a minimum spanning tree for the network. You should list the arcs in the order that you consider them. In each case, state whether you are adding the arc to your minimum spanning tree.
(c) Draw the minimum spanning tree using the vertices provided in Diagram 2 in the answer book.
(d) State the weight of the minimum spanning tree.
4. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-569_661_1525_292_269} \captionsetup{labelformat=empty} \caption{Figure 3}
\end{figure} \section*{[The total weight of the network is 1436 m ]} (a) Explain the term valency. Figure 3 models a system of underground pipes. The number on each arc represents the length, in metres, of that pipe. Pressure readings indicate that there is a leak in the system and an electronic device is to be used to inspect the system to locate the leak. The device will start and finish at A and travel along each pipe at least once. The length of this inspection route needs to be minimised.
(b) Use the route inspection algorithm to find the pipes that will need to be traversed twice. You should make your method and working clear.
(c) Find the length of the inspection route. Pipe HI is now found to be blocked; it is sealed and will not be replaced. An inspection route is now required that excludes pipe HI . The length of the inspection route must be minimised.
(d) Find the length of the minimum inspection route excluding HI. Justify your answer.
(e) Given that the device may now start at any vertex and finish at any vertex, find a minimum inspection route, excluding HI.
5. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-570_785_1463_191_301} \captionsetup{labelformat=empty} \caption{Figure 4}
\end{figure} Figure 4 shows a network of roads. The number on each arc represents the length, in miles, of the corresponding road.
(a) Use Dijkstra's algorithm to find the shortest route from S to T . State your shortest route and its length.
(6)
(b) Explain how you determined your shortest route from your labelled diagram.
(2) Due to flooding, the roads in and out of D are closed.
(c) Find the shortest route from S to T avoiding D . State your shortest route and its length.
(2)
6. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-571_624_1461_194_301} \captionsetup{labelformat=empty} \caption{Figure 5}
\end{figure} Figure 5 is the activity network relating to a development project. 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 possible time.
(a) Complete the precedence table in the answer book.
(2)
(b) Complete Diagram 1 in the answer book to show the early event times and late event times.
(4)
(c) Calculate the total float for activity E. You must make the numbers you use in your calculation clear.
(2)
(d) Calculate a lower bound for the number of workers needed to complete the project in the minimum time. You must show your working.
(2)
(e) Schedule the activities using the minimum number of workers so that the project is completed in the minimum time.
7. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-572_2491_1570_175_299} \captionsetup{labelformat=empty} \caption{Figure 6}
\end{figure} A company is going to hire out two types of car, standard and luxury. Let \(x\) be the number of standard cars it should buy.
Let \(y\) be the number of luxury cars it should buy. Figure 6 shows three constraints, other than \(x , y \geqslant 0\)
Two of these are \(x \geqslant 20\) and \(y \geqslant 8\)
(a) Write, as an inequality, the third constraint shown in Figure 6. The company decides that at least \(\frac { 1 } { 6 }\) of the cars must be luxury cars.
(b) Express this information as an inequality and show that it simplifies to $$5 y \geqslant x$$ You must make the steps in your working clear. Each time the cars are hired they need to be prepared. It takes 5 hours to prepare a standard car and it takes 6 hours to prepare a luxury car. There are 300 hours available each week to prepare the cars.
(c) Express this information as an inequality.
(d) Add two lines and shading to Diagram 1 in the answer book to illustrate the constraints found in parts (b) and (c).
(e) Hence determine the feasible region and label it R . The company expects to make \(\pounds 80\) profit per week on each car.
It therefore wishes to maximise \(\mathrm { P } = 80 x + 80 y\), where P is the profit per week.
(f) Use the objective line (ruler) method to find the optimal vertex, V, of the feasible region. You must clearly draw and label your objective line and the vertex V.
(g) Given that P is the expected profit, in pounds, per week, find the number of each type of car that the company should buy and the maximum expected profit. (a)
\includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-579_545_1422_890_258} \section*{Diagram 1} (b) (c) \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-580_561_1431_1201_255} \captionsetup{labelformat=empty} \caption{Diagram 2}
\end{figure} (d) Weight of minimum spanning tree
4. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-581_672_1520_219_212} \captionsetup{labelformat=empty} \caption{Figure 3}
\end{figure} 5.
\includegraphics[max width=\textwidth, alt={}]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-583_878_1602_230_173}
Key: Paper Reference(s)
6689/01
Edexcel GCE
\includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-598_130_311_471_1641} \(\stackrel { A } { \bullet } \stackrel { \text { B } } { \bullet }\) F• $$\mathrm { C }$$ \(\stackrel { \mathrm { E } } { \ominus } \stackrel { \text { D } } { \bullet }\) \section*{Diagram 1} 3.
\includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-628_1302_1579_293_184} \section*{Diagram 1}
\includegraphics[max width=\textwidth, alt={}]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-629_1027_1600_1539_169}
Diagram 2
(Total 12 marks)
4. S J H A C K P L T L 5. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-632_693_1497_292_233} \captionsetup{labelformat=empty} \caption{Figure 4
[0pt] [The total weight of the network is 181 miles]}
\end{figure} 6. Leave blank
\includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-636_2368_1301_294_440}
8.
\includegraphics[max width=\textwidth, alt={}]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-639_1116_1123_317_447}
\section*{Diagram 1} \section*{Decision Mathematics D1
Advanced/Advanced Subsidiary } \section*{Friday 17 May 2013 - Morning
Time: 1 hour 30 minutes} Materials required for examination
Nil Items included with question papers
D1 Answer Book Candidates may use any calculator allowed by the regulations of the Joint Council for Qualifications. Calculators must not have the facility for symbolic algebra manipulation or symbolic differentiation/integration, or have retrievable mathematical formulae stored in them. Write your answers for this paper in the D1 answer book provided.
In the boxes on the answer book, write your centre number, candidate number, your surname, initials and signature.
Check that you have the correct question paper.
Answer ALL the questions.
When a calculator is used, the answer should be given to an appropriate degree of accuracy.
Do not return the question paper with the answer book. Full marks may be obtained for answers to ALL questions.
The marks for individual questions and the parts of questions are shown in round brackets: e.g. (2). There are 7 questions in this question paper. The total mark for this paper is 75.
There are 12 pages in this question paper. The answer book has 16 pages. Any blank pages are indicated. You must ensure that your answers to parts of questions are clearly labelled.
You should show sufficient working to make your methods clear to the Examiner.
Answers without working may not gain full credit. \section*{Write your answers in the D1 answer book for this paper.} 1. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-641_766_570_324_342} \captionsetup{labelformat=empty} \caption{Figure 1}
\end{figure} \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-641_755_570_331_1146} \captionsetup{labelformat=empty} \caption{Figure 2}
\end{figure} Figure 1 shows the possible allocations of six people, Alex (A), Ben (B), Harriet (H), Izzy (I), Leo (L) and Rowan (R), to six tasks, \(1,2,3,4,5\) and 6.
(a) Write down the technical name given to the type of diagram shown in Figure 1. Figure 2 shows an initial matching.
(b) Starting from the given initial matching, use the maximum matching algorithm to find a complete matching. You should list the alternating paths you use, and state your improved matching after each iteration.
(6)
2.
0.6
0.2
0.4
0.5
0.7
0.1
0.9
0.3
1.5
1.6
(a) Use the first-fit bin packing algorithm to determine how the numbers listed above can be packed into bins of size 2.
(3)
(b) The list of numbers is to be sorted into descending order. Use a quick sort to obtain the sorted list. You must make your pivots clear.
(c) Apply the first-fit decreasing bin packing algorithm to your ordered list to pack the numbers into bins of size 2 .
(d) Determine whether your answer to (c) uses the minimum number of bins. You must justify your answer.
3. Order of arcs:
(b)
A
D
C
  • F
    B
    E
Diagram 1 (c)
\includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-655_652_536_415_230} D
  • F
\section*{Diagram 2} (d) \(\_\_\_\_\)
(e) Minimum time needed: \(\_\_\_\_\)
\includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-656_2632_1829_121_118} (b)
Shortest path from S to T:
Length of shortest path from S to T:
Shortest path from S to T via \(\mathbf { F }\) :
Length of shortest path from S to T via \(\mathbf { F }\) :
5. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-658_823_1541_283_205} \captionsetup{labelformat=empty} \caption{Figure 4}
\end{figure} [The total weight of the network is 344 miles] 6.
\includegraphics[max width=\textwidth, alt={}]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-661_1493_1294_319_328}
\section*{Diagram 1} \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-662_1271_1549_223_201} \section*{Diagram 1} (b) \(\_\_\_\_\)
(c) \(\_\_\_\_\)
(d) \(\_\_\_\_\)
\includegraphics[max width=\textwidth, alt={}]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-663_2632_1830_121_121}
\section*{Pearson Edexcel International Advanced Level Decision Mathematics D1} Advanced/Advanced Subsidiary \section*{You must have:} D1 Answer Book Candidates may use any calculator allowed by the regulations of the Joint Council for Qualifications. Calculators must not have the facility for symbolic algebra manipulation, differentiation and integration, or have retrievable mathematical formulae stored in them. \section*{Instructions}
  • Use black ink or ball-point pen.
  • If pencil is used for diagrams/sketches/graphs it must be dark (HB or B). Coloured pencils and highlighter pens must not be used.
  • Fill in the boxes on the top of the answer book with your name, centre number and candidate number.
  • Answer all questions and ensure that your answers to parts of questions are clearly labelled.
  • Answer the questions in the D1 answer book provided - there may be more space than you need.
  • You should show sufficient working to make your methods clear. Answers without working may not gain full credit.
  • When a calculator is used, the answer should be given to an appropriate degree of accuracy.
  • Do not return the question paper with the answer book.
\section*{Information}
  • The total mark for this paper is 75.
  • The marks for each question are shown in brackets
  • use this as a guide as to how much time to spend on each question.
\section*{Advice}
  • Read each question carefully before you start to answer it.
  • Try to answer every question.
  • Check your answers if you have time at the end.
\section*{Write your answers in the D1 answer book for this paper.} 1. 11
17
10
Question 17
View details
17
23
38
28
16
9
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.
    3. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-415_755_627_283_285} \captionsetup{labelformat=empty} \caption{Figure 1}
    \end{figure} \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-415_748_618_287_1153} \captionsetup{labelformat=empty} \caption{Figure 2}
    \end{figure} Figure 1 shows the possible allocations of six workers, Charlotte (C), Eleanor (E), Harry (H), Matt (M), Rachel (R) and Simon (S) to six tasks, 1, 2, 3, 4, 5 and 6. Figure 2 shows an initial matching.
  4. List an alternating path, starting at H and ending at 4 . Use your path to find an improved matching. List your improved matching.
  5. Explain why it is not possible to find a complete matching. Simon (S) now has task 3 added to his possible allocation.
  6. Taking the improved matching found in (a) as the new initial matching, use the maximum matching algorithm to find a complete matching. List clearly the alternating path you use and your complete matching.
    (3)
    4. Miri
    Jessie
    Edward
    Katie
    Hegg
    Beth
    Louis
    Philip
    Natsuko
    Dylan
  7. Use the quick sort algorithm to sort the above list into alphabetical order.
    (5)
  8. Use the binary search algorithm to locate the name Louis.
    5. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-417_938_1408_264_324} \captionsetup{labelformat=empty} \caption{Figure 3}
    \end{figure} [The total weight of the network is 625 m ] Figure 3 models a network of paths in a park. The number on each arc represents the length, in m , of that path.
    Rob needs to travel along each path to inspect the surface. He wants to minimise the length of his route.
  9. Use the route inspection algorithm to find the length of his route. State the arcs that should be repeated. You should make your method and working clear.
    (6) The surface on each path is to be renewed. A machine will be hired to do this task and driven along each path.
    The machine will be delivered to point G and will start from there, but it may be collected from any point once the task is complete.
  10. Given that each path must be traversed at least once, determine the finishing point so that the length of the route is minimised. Give a reason for your answer and state the length of your route.
    (3)
    6. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-418_903_1493_260_278} \captionsetup{labelformat=empty} \caption{Figure 4}
    \end{figure} Figure 4 represents a network of roads. The number on each arc gives the length, in km, of that road.
  11. Use Dijkstra's algorithm to find the shortest distance from A to I. State your shortest route.
    (6)
  12. State the shortest distance from A to G.
    (1)
    7. Rose makes hanging baskets which she sells at her local market. She makes two types, large and small. Rose makes \(x\) large baskets and \(y\) small baskets. Each large basket costs \(\pounds 7\) to make and each small basket costs \(\pounds 5\) to make. Rose has \(\pounds 350\) she can spend on making the baskets.
  13. Write down an inequality, in terms of \(x\) and \(y\), to model this constraint.
    (2) Two further constraints are $$\begin{aligned} & y \leqslant 20 \text { and }
    & y \leqslant 4 x \end{aligned}$$
  14. Use these two constraints to write down statements that describe the numbers of large and small baskets that Rose can make.
  15. On the grid provided, show these three constraints and \(x \geqslant 0 , y \geqslant 0\). Hence label the feasible region, R. Rose makes a profit of \(\pounds 2\) on each large basket and \(\pounds 3\) on each small basket. Rose wishes to maximise her profit, £P.
  16. Write down the objective function.
  17. Use your graph to determine the optimal numbers of large and small baskets Rose should make, and state the optimal profit.
    8. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-420_812_1541_278_262} \captionsetup{labelformat=empty} \caption{Figure 5}
    \end{figure} A construction project is modelled by the activity network shown in Figure 5. 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 possible time.
  18. Complete Diagram 2 in the answer book, showing the early and late event times.
  19. State the critical activities.
  20. Find the total float for activities M and H . You must make the numbers you use in your calculations clear.
  21. On the grid provided, draw a cascade (Gantt) chart for this project. An inspector visits the project at 1 pm on days 16 and 31 to check the progress of the work.
  22. Given that the project is on schedule, which activities must be happening on each of these days?
  23. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-422_632_896_1742_523} \captionsetup{labelformat=empty} \caption{Diagram 1}
    \end{figure}
  24. Total weight of tree \(\_\_\_\_\)
    2. \(\_\_\_\_\)
    \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-423_108_61_2627_1884}
    3. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-424_746_601_255_242} \captionsetup{labelformat=empty} \caption{Figure 1}
    \end{figure} \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-424_739_599_260_1103} \captionsetup{labelformat=empty} \caption{Figure 2}
    \end{figure} (Question 3 continued)
    C
    • 1
    E • • 2 H • • 3 M • • 4 R • • 5 S • • 6
    4. \(\_\_\_\_\)
    (Question 4 continued)
    \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-427_133_40_2622_1877}
    5. \(\_\_\_\_\)
    (Question 5 continued)
    \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-430_2633_1831_118_118}
    7. \(\_\_\_\_\)
    \section*{(Question 7 continued)} \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-432_1616_1637_278_148}
    \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-433_2296_1347_435_182}
    \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-434_2382_1559_127_194}
    (Total 15 marks) \section*{Decision Mathematics D1
    Advanced/Advanced Subsidiary } Candidates may use any calculator allowed by the regulations of the Joint Council for Qualifications. Calculators must not have the facility for symbolic algebra manipulation, differentiation and integration, or have retrievable mathematical formulae stored in them. Write your answers for this paper in the D1 answer book provided.
    In the boxes on the answer book, write your centre number, candidate number, your surname, initials and signature.
    When a calculator is used, the answer should be given to an appropriate degree of accuracy.
    Complete your answers in blue or black ink or pencil.
    Do not return the question paper with the answer book. Full marks may be obtained for answers to ALL questions.
    The marks for individual questions and the parts of questions are shown in round brackets: e.g. (2). There are 7 questions in this question paper. The total mark for this paper is 75.
    There are 8 pages in this question paper. The answer book has 16 pages. Any blank pages are indicated. You must ensure that your answers to parts of questions are clearly labelled.
    You should show sufficient working to make your methods clear to the Examiner.
    Answers without working may not gain full credit. \section*{Write your answers in the D1 answer book for this paper.} 1. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-436_611_636_356_719} \captionsetup{labelformat=empty} \caption{Figure 1}
    \end{figure} Figure 1 shows the possible allocation of six people, Alice (A), Brian (B), Christine (C), David (D), Elizabeth (E) and Freddy (F), to six tasks, 1, 2, 3, 4, 5 and 6. An initial matching is Alice to task 1, Christine to task 3, David to task 4 and Elizabeth to task 5.
  25. Show this initial matching on Diagram 1 in the answer book.
    (1)
  26. Starting from this initial matching, use the maximum matching algorithm to find a complete matching. List clearly the alternating paths that you use, and give your final matching.
    (5)
    2. Prim's algorithm finds a minimum spanning tree for a connected graph.
  27. Explain the terms
    1. connected graph,
    2. tree,
    3. spanning tree.
  28. Name an alternative algorithm for finding a minimum spanning tree. \begin{table}[h]
  29. \(\_\_\_\_\)
  30. \(\_\_\_\_\)
    6. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-453_614_1315_255_374} \captionsetup{labelformat=empty} \caption{Figure 5}
    \end{figure}
  31. \(\_\_\_\_\)
    \begin{table}[h]
    \captionsetup{labelformat=empty} \caption{(b)}
    EventImmediately preceding activity
    A-
    B-
    C
    D
    E
    F
    G
    H
    \end{table} Question 6 continues on the next page \section*{(Question 6 continued)} \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{(c)} \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-454_2222_1161_356_330}
    \end{figure} 7. \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{(Question 7 continued)} \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-457_927_1315_365_315}
    \end{figure} \section*{6689/01 Edexcel GCE} \section*{Decision Mathematics D1 Advanced/Advanced Subsidiary} \section*{Thursday 27 May 2010 - Morning} Materials required for examination
    Nil Items included with question papers
    D1 Answer Book Candidates may use any calculator allowed by the regulations of the Joint Council for Qualifications. Calculators must not have the facility for symbolic algebra manipulation, differentiation and integration, or have retrievable mathematical formulae stored in them. Write your answers for this paper in the D1 answer book provided.
    In the boxes on the answer book, write your centre number, candidate number, your surname, initials and signature.
    Check that you have the correct question paper.
    Answer ALL the questions.
    When a calculator is used, the answer should be given to an appropriate degree of accuracy.
    Do not return the question paper with the answer book. Full marks may be obtained for answers to ALL questions.
    The marks for individual questions and the parts of questions are shown in round brackets: e.g. (2). There are 8 questions in this question paper. The total mark for this paper is 75 .
    There are 12 pages in this question paper. The answer book has 20 pages. Any blank pages are indicated. You must ensure that your answers to parts of questions are clearly labelled.
    You should show sufficient working to make your methods clear to the Examiner.
    Answers without working may not gain full credit.
    1. \section*{-} \section*{Q} LO
    2. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-471_753_1216_223_361} \captionsetup{labelformat=empty} \caption{Figure 1}
    \end{figure}
  32. Paper Reference(s)
    6689/01
    Edexcel GCE
    Decision Mathematics D1
    \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-493_130_311_471_1641} \(\begin{array} { l l l l l l l l } 23 & 29 & 11 & 34 & 10 & 14 & 35 & 17 \end{array}\) \(\begin{array} { l l l l l l l l } 23 & 29 & 11 & 34 & 10 & 14 & 35 & 17 \end{array}\)
    3. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-498_993_1262_262_331} \captionsetup{labelformat=empty} \caption{Figure 2}
    \end{figure}
  33. \(\_\_\_\_\)

  34. D \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{B} \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-499_204_435_1567_961}
    \end{figure} \begin{verbatim} G \end{verbatim} A • \section*{Diagram 1} Weight of minimum spanning tree: \(\_\_\_\_\)
  35. \(\_\_\_\_\)
    4. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-500_742_604_296_223} \captionsetup{labelformat=empty} \caption{Figure 3}
    \end{figure} \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-500_734_590_301_1096} \captionsetup{labelformat=empty} \caption{Figure 4}
    \end{figure} \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-501_744_604_294_221}
    \includegraphics[max width=\textwidth, alt={}, center]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-501_739_592_296_1094}
    5. 6.
    \includegraphics[max width=\textwidth, alt={}]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-504_1226_1591_278_178}
    \section*{Graph 1}
    1. (a)
    A binary search is to be performed on the names in the list above to locate the name Kim.
  36. Explain why a binary search cannot be performed with the list in its present form.
  37. Using an appropriate algorithm, alter the list so that a binary search can be performed, showing the state of the list after each complete iteration. State the name of the algorithm you have used.
  38. Use the binary search algorithm to locate the name Kim in the list you obtained in (b). You must make your method clear.
    2. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-510_858_1169_244_447} \captionsetup{labelformat=empty} \caption{Figure 1}
    \end{figure}
  39. Define the terms
    1. tree,
    2. minimum spanning tree.
      (3)
  40. Use Kruskal's algorithm to find a minimum spanning tree for the network shown in Figure 1. You should list the arcs in the order in which you consider them. In each case, state whether you are adding the arc to your minimum spanning tree.
    (3)
  41. Draw your minimum spanning tree using the vertices given in Diagram 1 in the answer book.
  42. State whether your minimum spanning tree is unique. Justify your answer.
    (1)
    3. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-511_1492_1298_210_379} \captionsetup{labelformat=empty} \caption{Figure 2}
    \end{figure} Figure 2 shows the constraints of a linear programming problem in \(x\) and \(y\), where \(R\) is the feasible region.
  43. Write down the inequalities that form region \(R\). The objective is to maximise \(3 x + y\).
  44. Find the optimal values of \(x\) and \(y\). You must make your method clear.
  45. Obtain the optimal value of the objective function. Given that integer values of \(x\) and \(y\) are now required,
  46. write down the optimal values of \(x\) and \(y\).
    4. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-512_623_577_287_383} \captionsetup{labelformat=empty} \caption{Figure 3}
    \end{figure} \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-512_620_582_287_1098} \captionsetup{labelformat=empty} \caption{Figure 4}
    \end{figure} Figure 3 shows the possible allocations of five workers, Adam (A), Catherine (C), Harriet (H), Josh (J) and Richard (R) to five tasks, 1, 2, 3, 4 and 5. Figure 4 shows an initial matching.
    There are three possible alternating paths that start at A .
    One of them is $$A - 3 = R - 4 = C - 5$$
  47. Find the other two alternating paths that start at A .
  48. List the improved matching generated by using the alternating path \(\mathrm { A } - 3 = \mathrm { R } - 4 = \mathrm { C } - 5\).
  49. Starting from the improved matching found in (b), use the maximum matching algorithm to obtain a complete matching. You must list the alternating path used and your final matching.
    5. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-513_835_913_219_575} \captionsetup{labelformat=empty} \caption{Figure 5
    [0pt] [The total weight of the network is 98 km ]}
    \end{figure} Figure 5 models a network of gas pipes that have to be inspected. The number on each arc represents the length, in km, of that pipe. A route of minimum length that traverses each pipe at least once and starts and finishes at A needs to be found.
  50. Use the route inspection algorithm to find the pipes that will need to be traversed twice. You must make your method and working clear.
  51. Write down a possible shortest inspection route, giving its length. It is now decided to start the inspection route at D . The route must still traverse each pipe at least once but may finish at any node.
  52. Determine the finishing point so that the length of the route is minimised. You must give reasons for your answer and state the length of your route.
    6. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-514_825_1379_226_342} \captionsetup{labelformat=empty} \caption{Figure 6}
    \end{figure} Figure 6 shows a network of cycle tracks. The number on each arc gives the length, in km, of that track.
  53. Use Dijkstra's algorithm to find the shortest route from A to H. State your shortest route and its length.
  54. Explain how you determined your shortest route from your labelled diagram. The track between E and F is now closed for resurfacing and cannot be used.
  55. Find the shortest route from A to H and state its length.
    (2)
    7. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{12f9ae59-b2ff-4a03-9ac9-c61dbaf8c9f5-515_798_1497_258_283} \captionsetup{labelformat=empty} \caption{Figure 7}
    \end{figure} A project is modelled by the activity network shown in Figure 7. 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 possible time.
  56. Complete the precedence table in the answer book.
    (3)
  57. Complete Diagram 1 in the answer book, to show the early event times and late event times.
  58. State the critical activities.
  59. On the grid in your answer book, draw a cascade (Gantt) chart for this project.
  60. By considering the activities that must take place between time 7 and time 16, explain why it is not possible to complete this project with just 3 workers in the minimum time.
    8. A firm is planning to produce two types of radio, type A and type B. Market research suggests that, each week:
    • At least 50 type A radios should be produced.
    • The number of type A radios should be between \(20 \%\) and \(40 \%\) of the total number of radios produced.
    Each type A radio requires 3 switches and each type B radio requires 2 switches. The firm can only buy 200 switches each week. The profit on each type A radio is \(\pounds 15\).
    The profit on each type B radio is \(\pounds 12\).
    The firm wishes to maximise its weekly profit.
    Formulate this situation as a linear programming problem, defining your variables.
    (Total 7 marks)