Questions (30179 questions)

Browse by board
AQA AS Paper 1 AS Paper 2 C1 C2 C3 C4 D1 D2 FP1 FP2 FP3 Further AS Paper 1 Further AS Paper 2 Discrete Further AS Paper 2 Mechanics Further AS Paper 2 Statistics Further Paper 1 Further Paper 2 Further Paper 3 Discrete Further Paper 3 Mechanics Further Paper 3 Statistics M1 M2 M3 Paper 1 Paper 2 Paper 3 S1 S2 S3 CAIE FP1 FP2 Further Paper 1 Further Paper 2 Further Paper 3 Further Paper 4 M1 M2 P1 P2 P3 S1 S2 Edexcel AEA AS Paper 1 AS Paper 2 C1 C12 C2 C3 C34 C4 CP AS CP1 CP2 D1 D2 F1 F2 F3 FD1 FD1 AS FD2 FD2 AS FM1 FM1 AS FM2 FM2 AS FP1 FP1 AS FP2 FP2 AS FP3 FS1 FS1 AS FS2 FS2 AS M1 M2 M3 M4 M5 P1 P2 P3 P4 PMT Mocks Paper 1 Paper 2 Paper 3 S1 S2 S3 S4 OCR AS Pure C1 C2 C3 C4 D1 D2 FD1 AS FM1 AS FP1 FP1 AS FP2 FP3 FS1 AS Further Additional Pure Further Additional Pure AS Further Discrete Further Discrete AS Further Mechanics Further Mechanics AS Further Pure Core 1 Further Pure Core 2 Further Pure Core AS Further Statistics Further Statistics AS H240/01 H240/02 H240/03 M1 M2 M3 M4 Mechanics 1 PURE Pure 1 S1 S2 S3 S4 Stats 1 OCR MEI AS Paper 1 AS Paper 2 C1 C2 C3 C4 D1 D2 FP1 FP2 FP3 Further Extra Pure Further Mechanics A AS Further Mechanics B AS Further Mechanics Major Further Mechanics Minor Further Numerical Methods Further Pure Core Further Pure Core AS Further Pure with Technology Further Statistics A AS Further Statistics B AS Further Statistics Major Further Statistics Minor M1 M2 M3 M4 Paper 1 Paper 2 Paper 3 S1 S2 S3 S4 WJEC Further Unit 1 Further Unit 2 Further Unit 3 Further Unit 4 Further Unit 5 Further Unit 6 Unit 1 Unit 2 Unit 3 Unit 4
AQA D1 2016 June Q5
8 marks Standard +0.8
5 A fair comes to town one year and sets up its rides in two large fields that are separated by a river. The diagram shows the ten main rides, at \(A , B , C , \ldots , J\). The numbers on the edges represent the times, in minutes, it takes to walk between pairs of rides. A footbridge connects the rides at \(D\) and \(F\).
    1. Use Dijkstra's algorithm on the diagram below to find the minimum time to walk from \(A\) to each of the other main rides.
    2. Write down the route corresponding to the minimum time to walk from \(A\) to \(G\).
  1. The following year, the fair returns. In addition to the information shown on the diagram, another footbridge has been built to connect the rides at \(E\) and \(G\). This reduces the time taken to travel from \(A\) to \(G\), but the time taken to travel from \(A\) to \(J\) is not reduced. The time to walk across the footbridge from \(E\) to \(G\) is \(x\) minutes, where \(x\) is an integer. Find two inequalities for \(x\) and hence state the value of \(x\). \section*{Answer space for question 5}
    1. \includegraphics[max width=\textwidth, alt={}, center]{fb95068f-f76d-492a-b385-bce17b26ae30-12_659_1591_1692_223}
AQA D1 2016 June Q6
7 marks Moderate -0.5
6 A connected graph is semi-Eulerian if exactly two of its vertices are of odd degree.
  1. A graph is drawn with 4 vertices and 7 edges. What is the sum of the degrees of the vertices?
  2. Draw a simple semi-Eulerian graph with exactly 5 vertices and 5 edges, in which exactly one of the vertices has degree 4 .
  3. Draw a simple semi-Eulerian graph with exactly 5 vertices that is also a tree.
  4. A simple graph has 6 vertices. The graph has two vertices of degree 5 . Explain why the graph can have no vertex of degree 1.
AQA D1 2016 June Q7
17 marks Moderate -0.5
7 A company operates a steam railway between six stations. The minimum cost (in euros) of travelling between pairs of stations is shown in the table below.
  1. On Figure 1 below, use Prim's algorithm, starting from \(P\), to find a minimum spanning tree for the graph connecting \(P , Q , R , S , T\) and \(U\). State clearly the order in which you select the vertices and draw your minimum spanning tree. \section*{Question 7 continues on page 20} \begin{table}[h]
    \captionsetup{labelformat=empty} \caption{Figure 1}
    \(\boldsymbol { P }\)\(\boldsymbol { Q }\)\(\boldsymbol { R }\)\(\boldsymbol { S }\)\(\boldsymbol { T }\)\(\boldsymbol { U }\)
    \(\boldsymbol { P }\)-14711612
    \(\boldsymbol { Q }\)14-810910
    \(\boldsymbol { R }\)78-121315
    \(\boldsymbol { S }\)111012-511
    \(\boldsymbol { T }\)69135-10
    \(\boldsymbol { U }\)1210151110-
    \end{table}
  2. Another station, \(V\), is opened. The minimum costs (in euros) of travelling to and from \(V\) to each of the other stations are added to the table in part (a), as shown in Figure 2(i) below. Further copies of this table are shown in Figure 2(ii). Arjen is on holiday and he plans to visit each station. He intends to board a train at \(V\) and visit all the other stations, once only, before returning to \(V\).
    1. By first removing \(V\), obtain a lower bound for the minimum travelling cost of Arjen's tour. (You may use Figure 2(i) for your working.)
    2. Use the nearest neighbour algorithm twice, starting each time from \(V\), to find two different upper bounds for the minimum cost of Arjen's tour. State, with a reason, which of your two answers gives the better upper bound. (You may use Figure 2(ii) for your working.)
    3. Hence find an optimal tour of the seven stations. Explain how you know that it is optimal. Answer space for question 7(b) \begin{table}[h]
      \captionsetup{labelformat=empty} \caption{Figure 2(ii)}
      \(\boldsymbol { P }\)\(Q\)\(\boldsymbol { R }\)\(\boldsymbol { S }\)\(T\)\(\boldsymbol { U }\)\(V\)
      \(\boldsymbol { P }\)-1471161215
      \(Q\)14-81091018
      \(\boldsymbol { R }\)78-12131514
      \(\boldsymbol { S }\)111012-51114
      \(T\)69135-1017
      \(\boldsymbol { U }\)1210151110-12
      \(V\)151814141712-
      \end{table}
AQA D1 2016 June Q8
13 marks Easy -1.2
8 Nerys runs a cake shop. In November and December she sells Christmas hampers. She makes up the hampers herself, in two sizes: Luxury and Special. Each day, Nerys prepares \(x\) Luxury hampers and \(y\) Special hampers.
It takes Nerys 10 minutes to prepare a Luxury hamper and 15 minutes to prepare a Special hamper. She has 6 hours available, each day, for preparing hampers. From past experience, Nerys knows that each day:
  • she will need to prepare at least 5 hampers of each size
  • she will prepare at most a total of 32 hampers
  • she will prepare at least twice as many Luxury hampers as Special hampers.
Each Luxury hamper that Nerys prepares makes her a profit of \(\pounds 15\); each Special hamper makes a profit of \(\pounds 20\). Nerys wishes to maximise her daily profit, \(\pounds P\).
  1. Show that \(x\) and \(y\) must satisfy the inequality \(2 x + 3 y \leqslant 72\).
  2. In addition to \(x \geqslant 5\) and \(y \geqslant 5\), write down two more inequalities that model the constraints above.
  3. On the grid opposite draw a suitable diagram to enable this problem to be solved graphically. Indicate a feasible region and the direction of an objective line.
    1. Use your diagram to find the number of each type of hamper that Nerys should prepare each day to achieve a maximum profit.
    2. Calculate this profit.
      \includegraphics[max width=\textwidth, alt={}]{fb95068f-f76d-492a-b385-bce17b26ae30-27_2490_1719_217_150}
      \section*{DO NOT WRITE ON THIS PAGE ANSWER IN THE SPACES PROVIDED}
OCR MEI D1 2007 January Q1
8 marks Easy -1.8
1 Each of the following symbols consists of boundaries enclosing regions.
(0) 1
OCR MEI D1 2007 January Q3
8 marks Easy -1.8
3 \(\triangle\) 5
(5) 7
(8)
(O) The symbol representing zero has three regions, the outside, that between the two boundaries and the inside. To classify the symbols a graph is produced for each one. The graph has a vertex for each region, with arcs connecting regions which share a boundary. Thus the graph for \includegraphics[max width=\textwidth, alt={}, center]{a56f79f4-3b71-4ae3-a88b-5a88b0197433-2_110_81_900_767}
is \includegraphics[max width=\textwidth, alt={}, center]{a56f79f4-3b71-4ae3-a88b-5a88b0197433-2_49_350_959_959}
  1. Produce the graph for the symbol
  2. Give two symbols each having the graph \includegraphics[max width=\textwidth, alt={}, center]{a56f79f4-3b71-4ae3-a88b-5a88b0197433-2_52_199_1187_1030}
  3. Produce the graph for the symbol .
  4. Produce a single graph for the composite symbol \includegraphics[max width=\textwidth, alt={}, center]{a56f79f4-3b71-4ae3-a88b-5a88b0197433-2_112_158_1398_1165}
  5. Give the name of a connected graph with \(n\) nodes and \(n - 1 \operatorname { arcs }\). 2 The following algorithm is a version of bubble sort.
    Step 1 Store the values to be sorted in locations \(\mathrm { L } ( 1 ) , \mathrm { L } ( 2 ) , \ldots , \mathrm { L } ( \mathrm { n } )\) and set i to be the number, n , of values to be sorted. Step \(2 \quad\) Set \(\mathrm { j } = 1\).
    Step 3 Compare the values in locations \(\mathrm { L } ( \mathrm { j } )\) and \(\mathrm { L } ( \mathrm { j } + 1 )\) and swap them if that \(\mathrm { in } \mathrm { L } ( \mathrm { j } )\) is larger than that in \(\mathrm { L } ( \mathrm { j } + 1 )\). Step 4 Add 1 to j.
    Step 5 If j is less than i then go to step 3.
    Step 5 Write out the current list, \(\mathrm { L } ( 1 ) , \mathrm { L } ( 2 ) , \ldots , \mathrm { L } ( \mathrm { n } )\).
    Step 6 Subtract 1 from i .
    Step 7 If i is larger than 1 then go to step 2.
    Step 8 Stop.
  6. Apply this algorithm to sort the following list. $$\begin{array} { l l l l l } 109 & 32 & 3 & 523 & 58 \end{array} .$$ Count the number of comparisons and the number of swaps which you make in applying the algorithm.
  7. Put the five values into the order which maximises the number of swaps made in applying the algorithm, and give that number.
  8. Bubble sort has quadratic complexity. Using bubble sort it takes a computer 1.5 seconds to sort a list of 1000 values. Approximately how long would it take to sort a list of 100000 values? (Give your answer in hours and minutes.) 3 A bag contains five pieces of paper labelled A, B, C, D and E. One piece is drawn at random from the bag. If the piece is labelled with a vowel (A or E) then the process stops. Otherwise the piece of paper is replaced, the bag is shaken, and the process is repeated. You are to simulate this process to estimate the mean number of draws needed to get a vowel.
  9. Show how to use single digit random numbers to simulate the process efficiently. You need to describe exactly how your simulation will work.
  10. Use the random numbers in your answer book to run your simulation 5 times, recording your results.
  11. From your results compute an estimate of the mean number of draws needed to get a vowel.
  12. State how you could produce a more accurate estimate. Section B (48 marks)
OCR MEI D1 2007 January Q5
16 marks Easy -1.8
5
(5) 7
(8)
(O) The symbol representing zero has three regions, the outside, that between the two boundaries and the inside. To classify the symbols a graph is produced for each one. The graph has a vertex for each region, with arcs connecting regions which share a boundary. Thus the graph for \includegraphics[max width=\textwidth, alt={}, center]{a56f79f4-3b71-4ae3-a88b-5a88b0197433-2_110_81_900_767}
is \includegraphics[max width=\textwidth, alt={}, center]{a56f79f4-3b71-4ae3-a88b-5a88b0197433-2_49_350_959_959}
  1. Produce the graph for the symbol
  2. Give two symbols each having the graph \includegraphics[max width=\textwidth, alt={}, center]{a56f79f4-3b71-4ae3-a88b-5a88b0197433-2_52_199_1187_1030}
  3. Produce the graph for the symbol .
  4. Produce a single graph for the composite symbol \includegraphics[max width=\textwidth, alt={}, center]{a56f79f4-3b71-4ae3-a88b-5a88b0197433-2_112_158_1398_1165}
  5. Give the name of a connected graph with \(n\) nodes and \(n - 1 \operatorname { arcs }\). 2 The following algorithm is a version of bubble sort.
    Step 1 Store the values to be sorted in locations \(\mathrm { L } ( 1 ) , \mathrm { L } ( 2 ) , \ldots , \mathrm { L } ( \mathrm { n } )\) and set i to be the number, n , of values to be sorted. Step \(2 \quad\) Set \(\mathrm { j } = 1\).
    Step 3 Compare the values in locations \(\mathrm { L } ( \mathrm { j } )\) and \(\mathrm { L } ( \mathrm { j } + 1 )\) and swap them if that \(\mathrm { in } \mathrm { L } ( \mathrm { j } )\) is larger than that in \(\mathrm { L } ( \mathrm { j } + 1 )\). Step 4 Add 1 to j.
    Step 5 If j is less than i then go to step 3.
    Step 5 Write out the current list, \(\mathrm { L } ( 1 ) , \mathrm { L } ( 2 ) , \ldots , \mathrm { L } ( \mathrm { n } )\).
    Step 6 Subtract 1 from i .
    Step 7 If i is larger than 1 then go to step 2.
    Step 8 Stop.
  6. Apply this algorithm to sort the following list. $$\begin{array} { l l l l l } 109 & 32 & 3 & 523 & 58 \end{array} .$$ Count the number of comparisons and the number of swaps which you make in applying the algorithm.
  7. Put the five values into the order which maximises the number of swaps made in applying the algorithm, and give that number.
  8. Bubble sort has quadratic complexity. Using bubble sort it takes a computer 1.5 seconds to sort a list of 1000 values. Approximately how long would it take to sort a list of 100000 values? (Give your answer in hours and minutes.) 3 A bag contains five pieces of paper labelled A, B, C, D and E. One piece is drawn at random from the bag. If the piece is labelled with a vowel (A or E) then the process stops. Otherwise the piece of paper is replaced, the bag is shaken, and the process is repeated. You are to simulate this process to estimate the mean number of draws needed to get a vowel.
  9. Show how to use single digit random numbers to simulate the process efficiently. You need to describe exactly how your simulation will work.
  10. Use the random numbers in your answer book to run your simulation 5 times, recording your results.
  11. From your results compute an estimate of the mean number of draws needed to get a vowel.
  12. State how you could produce a more accurate estimate. Section B (48 marks)
    4 Cassi is managing the building of a house. The table shows the major activities that are involved, their durations and their precedences.
    ActivityDuration (days)Immediate predecessors
    ABuild concrete frame10-
    BLay bricks7A
    CLay roof tiles10A
    DFirst fit electrics5B
    EFirst fit plumbing4B
    FPlastering6C, D, E
    GSecond fit electrics3F
    HSecond fit plumbing2F
    ITiling10G, H
    JFit sanitary ware2H
    KFit windows and doors5I
  13. Draw an activity-on-arc network to represent this information.
  14. Find the early time and the late time for each event. Give the project duration and list the critical activities.
  15. Calculate total and independent floats for each non-critical activity. Cassi's clients wish to take delivery in 42 days. Some durations can be reduced, at extra cost, to achieve this.
    • The tiler will finish activity I in 9 days for an extra \(\pounds 250\), or in 8 days for an extra \(\pounds 500\).
    • The bricklayer will cut his total of 7 days on activity B by up to 3 days at an extra cost of \(\pounds 350\) per day.
    • The electrician could be paid \(\pounds 300\) more to cut a day off activity D, or \(\pounds 600\) more to cut two days.
    • What is the cheapest way in which Cassi can get the house built in 42 days?
    5 Leone is designing her new garden. She wants to have at least \(1000 \mathrm {~m} ^ { 2 }\), split between lawn and flower beds. Initial costs are \(\pounds 0.80\) per \(\mathrm { m } ^ { 2 }\) for lawn and \(\pounds 0.40\) per \(\mathrm { m } ^ { 2 }\) for flowerbeds. Leone's budget is \(\pounds 500\).
    Leone prefers flower beds to lawn, and she wants the area for flower beds to be at least twice the area for lawn. However, she wants to have at least \(200 \mathrm {~m} ^ { 2 }\) of lawn. Maintenance costs each year are \(\pounds 0.15\) per \(\mathrm { m } ^ { 2 }\) for lawn and \(\pounds 0.25\) per \(\mathrm { m } ^ { 2 }\) for flower beds. Leone wants to minimize the maintenance costs of her garden.
  16. Formulate Leone's problem as a linear programming problem.
  17. Produce a graph to illustrate the inequalities.
  18. Solve Leone's problem.
  19. If Leone had more than \(\pounds 500\) available initially, how much extra could she spend to minimize maintenance costs?
OCR MEI D1 2007 January Q7
Easy -1.8
7
(8)
(O) The symbol representing zero has three regions, the outside, that between the two boundaries and the inside. To classify the symbols a graph is produced for each one. The graph has a vertex for each region, with arcs connecting regions which share a boundary. Thus the graph for \includegraphics[max width=\textwidth, alt={}, center]{a56f79f4-3b71-4ae3-a88b-5a88b0197433-2_110_81_900_767}
is \includegraphics[max width=\textwidth, alt={}, center]{a56f79f4-3b71-4ae3-a88b-5a88b0197433-2_49_350_959_959}
  1. Produce the graph for the symbol
  2. Give two symbols each having the graph \includegraphics[max width=\textwidth, alt={}, center]{a56f79f4-3b71-4ae3-a88b-5a88b0197433-2_52_199_1187_1030}
  3. Produce the graph for the symbol .
  4. Produce a single graph for the composite symbol \includegraphics[max width=\textwidth, alt={}, center]{a56f79f4-3b71-4ae3-a88b-5a88b0197433-2_112_158_1398_1165}
  5. Give the name of a connected graph with \(n\) nodes and \(n - 1 \operatorname { arcs }\). 2 The following algorithm is a version of bubble sort.
    Step 1 Store the values to be sorted in locations \(\mathrm { L } ( 1 ) , \mathrm { L } ( 2 ) , \ldots , \mathrm { L } ( \mathrm { n } )\) and set i to be the number, n , of values to be sorted. Step \(2 \quad\) Set \(\mathrm { j } = 1\).
    Step 3 Compare the values in locations \(\mathrm { L } ( \mathrm { j } )\) and \(\mathrm { L } ( \mathrm { j } + 1 )\) and swap them if that \(\mathrm { in } \mathrm { L } ( \mathrm { j } )\) is larger than that in \(\mathrm { L } ( \mathrm { j } + 1 )\). Step 4 Add 1 to j.
    Step 5 If j is less than i then go to step 3.
    Step 5 Write out the current list, \(\mathrm { L } ( 1 ) , \mathrm { L } ( 2 ) , \ldots , \mathrm { L } ( \mathrm { n } )\).
    Step 6 Subtract 1 from i .
    Step 7 If i is larger than 1 then go to step 2.
    Step 8 Stop.
  6. Apply this algorithm to sort the following list. $$\begin{array} { l l l l l } 109 & 32 & 3 & 523 & 58 \end{array} .$$ Count the number of comparisons and the number of swaps which you make in applying the algorithm.
  7. Put the five values into the order which maximises the number of swaps made in applying the algorithm, and give that number.
  8. Bubble sort has quadratic complexity. Using bubble sort it takes a computer 1.5 seconds to sort a list of 1000 values. Approximately how long would it take to sort a list of 100000 values? (Give your answer in hours and minutes.) 3 A bag contains five pieces of paper labelled A, B, C, D and E. One piece is drawn at random from the bag. If the piece is labelled with a vowel (A or E) then the process stops. Otherwise the piece of paper is replaced, the bag is shaken, and the process is repeated. You are to simulate this process to estimate the mean number of draws needed to get a vowel.
  9. Show how to use single digit random numbers to simulate the process efficiently. You need to describe exactly how your simulation will work.
  10. Use the random numbers in your answer book to run your simulation 5 times, recording your results.
  11. From your results compute an estimate of the mean number of draws needed to get a vowel.
  12. State how you could produce a more accurate estimate. Section B (48 marks)
    4 Cassi is managing the building of a house. The table shows the major activities that are involved, their durations and their precedences.
    ActivityDuration (days)Immediate predecessors
    ABuild concrete frame10-
    BLay bricks7A
    CLay roof tiles10A
    DFirst fit electrics5B
    EFirst fit plumbing4B
    FPlastering6C, D, E
    GSecond fit electrics3F
    HSecond fit plumbing2F
    ITiling10G, H
    JFit sanitary ware2H
    KFit windows and doors5I
  13. Draw an activity-on-arc network to represent this information.
  14. Find the early time and the late time for each event. Give the project duration and list the critical activities.
  15. Calculate total and independent floats for each non-critical activity. Cassi's clients wish to take delivery in 42 days. Some durations can be reduced, at extra cost, to achieve this.
    • The tiler will finish activity I in 9 days for an extra \(\pounds 250\), or in 8 days for an extra \(\pounds 500\).
    • The bricklayer will cut his total of 7 days on activity B by up to 3 days at an extra cost of \(\pounds 350\) per day.
    • The electrician could be paid \(\pounds 300\) more to cut a day off activity D, or \(\pounds 600\) more to cut two days.
    • What is the cheapest way in which Cassi can get the house built in 42 days?
    5 Leone is designing her new garden. She wants to have at least \(1000 \mathrm {~m} ^ { 2 }\), split between lawn and flower beds. Initial costs are \(\pounds 0.80\) per \(\mathrm { m } ^ { 2 }\) for lawn and \(\pounds 0.40\) per \(\mathrm { m } ^ { 2 }\) for flowerbeds. Leone's budget is \(\pounds 500\).
    Leone prefers flower beds to lawn, and she wants the area for flower beds to be at least twice the area for lawn. However, she wants to have at least \(200 \mathrm {~m} ^ { 2 }\) of lawn. Maintenance costs each year are \(\pounds 0.15\) per \(\mathrm { m } ^ { 2 }\) for lawn and \(\pounds 0.25\) per \(\mathrm { m } ^ { 2 }\) for flower beds. Leone wants to minimize the maintenance costs of her garden.
  16. Formulate Leone's problem as a linear programming problem.
  17. Produce a graph to illustrate the inequalities.
  18. Solve Leone's problem.
  19. If Leone had more than \(\pounds 500\) available initially, how much extra could she spend to minimize maintenance costs? 6 In a factory a network of pipes connects 6 vats, A, B, C, D, E and F. Two separate connectors need to be chosen from the network The table shows the lengths of pipes (metres) connecting the 6 vats.
    ABCDEF
    A-7--12-
    B7-5366
    C-5-847
    D-38-15
    E12641-7
    F-6757-
  20. Use Kruskal's algorithm to find a minimum connector. Show the order in which you select pipes, draw your connector and give its total length.
  21. Produce a new table excluding the pipes which you selected in part (i). Use the tabular form of Prim's algorithm to find a second minimum connector from this reduced set of pipes. Show your working, draw your connector and give its total length.
  22. The factory manager prefers the following pair of connectors: \(\{ \mathrm { AB } , \mathrm { BC } , \mathrm { BD } , \mathrm { BE } , \mathrm { BF } \}\) and \(\{ \mathrm { AE } , \mathrm { BF } , \mathrm { CE } , \mathrm { DE } , \mathrm { DF } \}\).
    Give two possible reasons for this preference.
OCR MEI D1 2013 June Q1
8 marks Moderate -0.8
1 The adjacency graph for a map has a vertex for each country. Two vertices are connected by an arc if the corresponding countries share a border.
  1. Draw the adjacency graph for the following map of four countries. The graph is planar and you should draw it with no arcs crossing. \includegraphics[max width=\textwidth, alt={}, center]{e528b905-7419-44b6-b700-4c04ad96c816-2_531_1486_561_292}
  2. Number the regions of your planar graph, including the outside region. Regarding the graph as a map, draw its adjacency graph.
  3. Repeat parts (i) and (ii) for the following map. \includegraphics[max width=\textwidth, alt={}, center]{e528b905-7419-44b6-b700-4c04ad96c816-2_533_1484_1361_294}
OCR MEI D1 2013 June Q2
8 marks Easy -1.8
2 The instructions labelled 1 to 7 describe the steps of a sorting algorithm applied to a list of six numbers.
1 Let \(i\) equal 1.
2 Repeat lines 3 to 7, stopping when \(i\) becomes 6 .
OCR MEI D1 2013 June Q3
8 marks Easy -1.8
3 Let \(j\) equal 1.
OCR MEI D1 2013 June Q4
16 marks Easy -1.8
4 Repeat lines 5 and 6 , until \(j\) becomes \(7 - i\).
OCR MEI D1 2013 June Q5
16 marks Easy -1.8
5 If the \(j\) th number in the list is bigger than the \(( j + 1 )\) th, then swap them.
OCR MEI D1 2013 June Q6
16 marks Easy -1.8
6 Let the new value of \(j\) be \(j + 1\).
OCR MEI D1 2013 June Q7
Moderate -0.8
7 Let the new value of \(i\) be \(i + 1\).
  1. Apply the sorting algorithm to the list of numbers shown below. Record in the table provided the state of the list after each pass. Record the number of comparisons and the number of swaps that you make in each pass. (The result of the first pass has already been recorded.) List: \(\begin{array} { l l l l l l } 9 & 11 & 7 & 3 & 13 & 5 \end{array}\)
  2. Suppose now that the list is split into two sublists, \(\{ 9,11,7 \}\) and \(\{ 3,13,5 \}\). The sorting algorithm is adapted to apply to three numbers, and is applied to each sublist separately. This gives \(\{ 7,9,11 \}\) and \(\{ 3,5,13 \}\). How many comparisons and swaps does this need?
  3. How many further swaps would the original algorithm need to sort the revised list \(\{ 7,9,11,3,5,13 \}\) into increasing order? 3 The network below represents a number of villages together with connecting roads. The numbers on the arcs represent distances (in miles). \includegraphics[max width=\textwidth, alt={}, center]{e528b905-7419-44b6-b700-4c04ad96c816-3_684_785_1612_625}
  4. Use Dijkstra's algorithm to find the shortest routes from A to each of the other villages. Give these shortest routes and the corresponding distances. Traffic in the area travels at 30 mph . An accident delays all traffic passing through C by 20 minutes.
  5. Describe how the network can be adapted and used to find the fastest journey time from A to F .
AQA D2 Q4
Standard +0.3
4 [Figures 3, 4 and 5, printed on the insert, are provided for use in this question.]
The network shows a system of pipes, with the lower and upper capacities for each pipe in litres per second. \includegraphics[max width=\textwidth, alt={}, center]{c18db720-6fe8-4e6c-bd0c-dc51cc341b47-005_547_1214_555_404}
  1. Figure 3, on the insert, shows a partially completed diagram for a feasible flow of 10 litres per second from \(S\) to \(T\). Indicate, on Figure 3, the flows along the edges \(M N , P Q , N P\) and \(N T\).
    1. Taking your answer from part (a) as an initial flow, use flow augmentation on Figure 4 to find the maximum flow from \(S\) to \(T\).
    2. State the value of the maximum flow and illustrate this flow on Figure 5.
  2. Find a cut with capacity equal to that of the maximum flow.
AQA D2 Q7
Moderate -0.3
7 The network below shows a system of one-way roads. The number on each edge represents the number of bags for recycling that can be collected by driving along that road. A collector is to drive from \(A\) to \(I\). \includegraphics[max width=\textwidth, alt={}, center]{c18db720-6fe8-4e6c-bd0c-dc51cc341b47-144_867_1644_552_191}
  1. Working backwards from \(\boldsymbol { I }\), use dynamic programming to find the maximum number of bags that can be collected when driving from \(A\) to \(I\). You must complete the table opposite as your solution.
  2. State the route that the collector should take in order to collect the maximum number of bags.
  3. StageStateFromValue
    1GI
    HI
    2
AQA D2 Q8
Moderate -0.3
8 The network below represents a system of pipes. The capacity of each pipe, in litres per second, is indicated on the corresponding edge. \includegraphics[max width=\textwidth, alt={}, center]{c18db720-6fe8-4e6c-bd0c-dc51cc341b47-146_743_977_404_536}
  1. Find the maximum flow along each of the routes \(A B E H , A C F H\) and \(A D G H\) and enter their values in the table on Figure 4 opposite.
    1. Taking your answers to part (a) as the initial flow, use the labelling procedure on Figure 4 to find the maximum flow through the network. You should indicate any flow-augmenting routes in the table and modify the potential increases and decreases of the flow on the network.
    2. State the value of the maximum flow and, on Figure 5 opposite, illustrate a possible flow along each edge corresponding to this maximum flow.
  2. Confirm that you have a maximum flow by finding a cut of the same value. List the edges of your cut. \begin{table}[h]
    \captionsetup{labelformat=empty} \caption{Figure 4}
    RouteFlow
    \(A B E H\)
    \(A C F H\)
    \(A D G H\)
    \end{table} \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 4} \includegraphics[alt={},max width=\textwidth]{c18db720-6fe8-4e6c-bd0c-dc51cc341b47-147_746_972_397_845}
    \end{figure} \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 5} \includegraphics[alt={},max width=\textwidth]{c18db720-6fe8-4e6c-bd0c-dc51cc341b47-147_739_971_1311_539}
    \end{figure}
AQA D2 2006 January Q1
9 marks Moderate -0.5
1 Five trainers, Ali, Bo, Chas, Dee and Eve, held an initial training session with each of four teams over an assault course. The completion times in minutes are recorded below.
AliBoChasDeeEve
Team 11619182524
Team 22221202625
Team 32122232124
Team 42021212320
Each of the four teams is to be allocated a trainer and the overall time for the four teams is to be minimised. No trainer can train more than one team.
  1. Modify the table of values by adding an extra row of values so that the Hungarian algorithm can be applied.
  2. Use the Hungarian algorithm, reducing columns first then rows, to decide which four trainers should be allocated to which team. State the minimum total training time for the four teams using this matching.
AQA D2 2006 January Q2
9 marks Moderate -0.8
2 A manufacturing company is planning to build three new machines, \(A , B\) and \(C\), at the rate of one per month. The order in which they are built is a matter of choice, but the profits will vary according to the number of workers available and the suppliers' costs. The expected profits in thousands of pounds are given in the table.
\multirow[b]{2}{*}{Month}\multirow[b]{2}{*}{Already built}Profit (in units of £1000)
\(\boldsymbol { A }\)\(\boldsymbol { B }\)\(\boldsymbol { C }\)
1-524748
\multirow[t]{3}{*}{2}A-5854
B70-54
\(\boldsymbol { C }\)6863-
\multirow[t]{3}{*}{3}\(\boldsymbol { A }\) and \(\boldsymbol { B }\)--64
\(\boldsymbol { A }\) and \(\boldsymbol { C }\)-67-
\(\boldsymbol { B }\) and \(\boldsymbol { C }\)69--
  1. Draw a labelled network such that the most profitable order of manufacture corresponds to the longest path within that network.
  2. Use dynamic programming to determine the order of manufacture that maximises the total profit, and state this maximum profit.
AQA D2 2006 January Q3
18 marks Moderate -0.3
3 [Figures 1 and 2, printed on the insert, are provided for use in this question.] A building project is to be undertaken. The table shows the activities involved.
ActivityImmediate PredecessorsDuration (days)Number of Workers Required
A-23
BA42
CA61
D\(B , C\)83
EC32
FD22
GD, E42
HD, E61
I\(F , G , H\)23
  1. Complete the activity network for the project on Figure 1.
  2. Find the earliest start time for each activity.
  3. Find the latest finish time for each activity.
  4. Find the critical path and state the minimum time for completion.
  5. State the float time for each non-critical activity.
  6. Given that each activity starts as early as possible, draw a resource histogram for the project on Figure 2.
  7. There are only 3 workers available at any time. Use resource levelling to explain why the project will overrun and state the minimum extra time required.
AQA D2 2006 January Q4
14 marks Standard +0.3
4 [Figures 3, 4 and 5, printed on the insert, are provided for use in this question.]
The network shows a system of pipes, with the lower and upper capacities for each pipe in litres per second. \includegraphics[max width=\textwidth, alt={}, center]{30a88efe-fe9e-4384-a3e3-da2a05326797-04_547_1214_555_404}
  1. Figure 3, on the insert, shows a partially completed diagram for a feasible flow of 10 litres per second from \(S\) to \(T\). Indicate, on Figure 3, the flows along the edges \(M N , P Q , N P\) and \(N T\).
    1. Taking your answer from part (a) as an initial flow, use flow augmentation on Figure 4 to find the maximum flow from \(S\) to \(T\).
    2. State the value of the maximum flow and illustrate this flow on Figure 5.
  2. Find a cut with capacity equal to that of the maximum flow.
AQA D2 2006 January Q5
13 marks Standard +0.3
5
  1. Display the following linear programming problem in a Simplex tableau. $$\begin{array} { l c } \text { Maximise } & P = 3 x + 2 y + 4 z \\ \text { subject to } & x + 4 y + 2 z \leqslant 8 \\ & 2 x + 7 y + 3 z \leqslant 21 \\ & x \geqslant 0 , y \geqslant 0 , z \geqslant 0 \end{array}$$
  2. Use the Simplex method to perform one iteration of your tableau for part (a), choosing a value in the \(z\)-column as pivot.
    1. Perform one further iteration.
    2. State whether or not this is the optimal solution, and give a reason for your answer.
AQA D2 2006 January Q6
11 marks Moderate -0.8
6 Sam is playing a computer game in which he is trying to drive a car in different road conditions. He chooses a car and the computer decides the road conditions. The points scored by Sam are shown in the table.
Road Conditions
\cline { 2 - 5 }\(\boldsymbol { C } _ { \mathbf { 1 } }\)\(\boldsymbol { C } _ { \mathbf { 2 } }\)\(\boldsymbol { C } _ { \mathbf { 3 } }\)
\cline { 2 - 5 }\(\boldsymbol { S } _ { \mathbf { 1 } }\)- 224
\cline { 2 - 5 } Sam's Car\(\boldsymbol { S } _ { \mathbf { 2 } }\)245
\cline { 2 - 5 }\(\boldsymbol { S } _ { \mathbf { 3 } }\)512
\cline { 2 - 5 }
\cline { 2 - 5 }
Sam is trying to maximise his total points and the computer is trying to stop him.
  1. Explain why Sam should never choose \(S _ { 1 }\) and why the computer should not choose \(C _ { 3 }\).
  2. Find the play-safe strategies for the reduced 2 by 2 game for Sam and the computer, and hence show that this game does not have a stable solution.
  3. Sam uses random numbers to choose \(S _ { 2 }\) with probability \(p\) and \(S _ { 3 }\) with probability \(1 - p\).
    1. Find expressions for the expected gain for Sam when the computer chooses each of its two remaining strategies.
    2. Calculate the value of \(p\) for Sam to maximise his total points.
    3. Hence find the expected points gain for Sam.
      SurnameOther Names
      Centre NumberCandidate Number
      Candidate Signature
      \section*{General Certificate of Education January 2006
      Advanced Level Examination} \section*{MATHEMATICS
      Unit Decision 2} MD02 \section*{Insert} Wednesday 18 January 20061.30 pm to 3.00 pm Insert for use in Questions 3 and 4.
      Fill in the boxes at the top of this page.
      Fasten this insert securely to your answer book.
AQA D2 2007 January Q1
11 marks Easy -1.2
1 [Figure 1, printed on the insert, is provided for use in this question.]
A building project is to be undertaken. The table shows the activities involved.
ActivityImmediate PredecessorsDuration (weeks)
A-2
B-1
CA3
DA, B2
EB4
FC1
G\(C , D , E\)3
HE5
I\(F , G\)2
J\(H , I\)3
  1. Complete an activity network for the project on Figure 1.
  2. Find the earliest start time for each activity.
  3. Find the latest finish time for each activity.
  4. State the minimum completion time for the building project and identify the critical paths.