Questions D1 (899 questions)

Browse by board
AQA AS Paper 1 AS Paper 2 C1 C2 C3 C4 D1 D2 FP1 FP2 FP3 Further AS Paper 1 Further AS Paper 2 Discrete Further AS Paper 2 Mechanics Further AS Paper 2 Statistics Further Paper 1 Further Paper 2 Further Paper 3 Discrete Further Paper 3 Mechanics Further Paper 3 Statistics M1 M2 M3 Paper 1 Paper 2 Paper 3 S1 S2 S3 CAIE FP1 FP2 Further Paper 1 Further Paper 2 Further Paper 3 Further Paper 4 M1 M2 P1 P2 P3 S1 S2 Edexcel AEA AS Paper 1 AS Paper 2 C1 C12 C2 C3 C34 C4 CP AS CP1 CP2 D1 D2 F1 F2 F3 FD1 FD1 AS FD2 FD2 AS FM1 FM1 AS FM2 FM2 AS FP1 FP1 AS FP2 FP2 AS FP3 FS1 FS1 AS FS2 FS2 AS M1 M2 M3 M4 M5 P1 P2 P3 P4 PMT Mocks Paper 1 Paper 2 Paper 3 S1 S2 S3 S4 OCR AS Pure C1 C2 C3 C4 D1 D2 FD1 AS FM1 AS FP1 FP1 AS FP2 FP3 FS1 AS Further Additional Pure Further Additional Pure AS Further Discrete Further Discrete AS Further Mechanics Further Mechanics AS Further Pure Core 1 Further Pure Core 2 Further Pure Core AS Further Statistics Further Statistics AS H240/01 H240/02 H240/03 M1 M2 M3 M4 Mechanics 1 PURE Pure 1 S1 S2 S3 S4 Stats 1 OCR MEI AS Paper 1 AS Paper 2 C1 C2 C3 C4 D1 D2 FP1 FP2 FP3 Further Extra Pure Further Mechanics A AS Further Mechanics B AS Further Mechanics Major Further Mechanics Minor Further Numerical Methods Further Pure Core Further Pure Core AS Further Pure with Technology Further Statistics A AS Further Statistics B AS Further Statistics Major Further Statistics Minor M1 M2 M3 M4 Paper 1 Paper 2 Paper 3 S1 S2 S3 S4 SPS SPS ASFM SPS ASFM Mechanics SPS ASFM Pure SPS ASFM Statistics SPS FM SPS FM Mechanics SPS FM Pure SPS FM Statistics SPS SM SPS SM Mechanics SPS SM Pure SPS SM Statistics WJEC Further Unit 1 Further Unit 2 Further Unit 3 Further Unit 4 Further Unit 5 Further Unit 6 Unit 1 Unit 2 Unit 3 Unit 4
OCR MEI D1 2012 June Q3
3 The diagram shows three sets, A, B and C. Each region of the diagram contains at least one element. The diagram shows that B is a subset of \(\mathrm { A } , \mathrm { C }\) is a subset of A , and that B shares at least one element with C .
\includegraphics[max width=\textwidth, alt={}, center]{7330fba5-720f-47d5-a2ac-ad24e0cf097b-3_410_615_342_726} The two graphs below give information about the three sets \(\mathrm { A } , \mathrm { B }\) and C . The first graph shows the relation 'is a subset of' and the second graph shows the relation 'shares at least one element with'. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{7330fba5-720f-47d5-a2ac-ad24e0cf097b-3_195_261_977_621} \captionsetup{labelformat=empty} \caption{'is a subset of'}
\end{figure} \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{7330fba5-720f-47d5-a2ac-ad24e0cf097b-3_195_257_977_1155} \captionsetup{labelformat=empty} \caption{'shares at least one element with'}
\end{figure}
  1. Draw two graphs to represent the sets \(\mathrm { X } , \mathrm { Y }\) and Z shown in the following diagram.
    \includegraphics[max width=\textwidth, alt={}, center]{7330fba5-720f-47d5-a2ac-ad24e0cf097b-3_415_613_1388_731}
  2. Draw a diagram to represent the sets \(\mathrm { P } , \mathrm { Q }\) and R for which both of the following graphs apply. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{7330fba5-720f-47d5-a2ac-ad24e0cf097b-3_202_264_1980_621} \captionsetup{labelformat=empty} \caption{'is a subset of'}
    \end{figure} \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{7330fba5-720f-47d5-a2ac-ad24e0cf097b-3_200_260_1982_1155} \captionsetup{labelformat=empty} \caption{'shares at least one element with'}
    \end{figure}
OCR MEI D1 2012 June Q4
4 In a factory, two types of motor are made. Each motor of type X takes 10 man hours to make and each motor of type Y takes 12 man hours to make. In each week there are 200 man hours available. To satisfy customer demand, at least 5 of each type of motor must be made each week.
Once a motor has been started it must be completed; no unfinished motors may be left in the factory at the end of each week. When completed, the motors are put into a container for shipping. The volume of the container is \(7 \mathrm {~m} ^ { 3 }\). A type X motor occupies a volume of \(0.5 \mathrm {~m} ^ { 3 }\) and a type Y motor occupies a volume of \(0.3 \mathrm {~m} ^ { 3 }\).
  1. Define appropriate variables and from the above information derive four inequalities which must be satisfied by those variables.
  2. Represent your inequalities on a graph and shade the infeasible region. The profit on each type X is \(\pounds 100\) and on each type Y is \(\pounds 70\).
  3. The weekly profit is to be maximised. Write down the objective function and find the maximum profit.
  4. Because of absenteeism, the manager decides to organise the work in the factory on the assumption that there will be only 180 man hours available each week. Find the number of motors of each type that should now be made in order to maximise the profit.
OCR MEI D1 2012 June Q5
5 Each morning I reach into my box of tea bags and, without looking, randomly choose a bag. The bags are manufactured in pairs, which can be separated along a perforated line. So when I choose a bag it might be attached to another, in which case I have to separate them and return the other bag to the box. Alternatively, it might be a single bag, having been separated on an earlier day. I only use one tea bag per day, and the box always gets thoroughly shaken during the day as things are moved around in the kitchen. You are to simulate this process, starting with 5 double bags and 0 single bags in the box. You are to use single-digit random numbers in your simulation.
  1. On day 2 there will be 4 double bags and 1 single bag in the box, 9 bags in total. Give a rule for simulating whether I choose a single bag or a double bag, assuming that I am equally likely to choose any of the 9 bags. Use single-digit random numbers in your simulation rule.
  2. On day 3 there will either be 4 double bags or 3 double bags and 2 single bags in the box. Give a rule for simulating what sort of bag I choose in the second of these cases. Use single-digit random numbers in your simulation rule.
  3. Using the random digits in your answer book, simulate what happens on days 2,3 and 4 , briefly explaining your simulations. Give an estimate of the probability that I choose a single bag on day 5 .
  4. Using the random digits in your answer book, carry out 4 more simulations and record the results.
  5. Using your 5 simulations, estimate the probability that I choose a single bag on day 5 .
    [0pt] [Question 6 is printed overleaf.]
OCR MEI D1 2012 June Q6
6 The table shows the tasks involved in making a batch of buns, the time in minutes required for each task, and their precedences.
TaskTime (minutes)Immediate predecessors
Ameasure out flour0.5-
Bmix flour and water1A
Cshell eggs0.5-
Dmix in eggs and fat2B, C
Eget currants ready0.5-
Fget raisins ready0.5-
Gfold fruit into mix0.5D, E, F
Hbake10G
  1. Draw an activity on arc network for these activities.
  2. Mark on your diagram the early time and the late time for each event. Give the minimum completion time and the critical activities. Preparing the batch for baking consists of tasks A to G ; each of these tasks can only be done by one person. Baking, task H, requires no people.
  3. How many people are required to prepare the batch for baking in the minimum time?
  4. What is the minimum time required to prepare the batch for baking if only one person is available? Jim is preparing and baking three batches of buns. He has one oven available for baking. For the rest of the question you should consider 'preparing the batch for baking' as one activity.
  5. Assuming that the oven can bake only one batch at a time, draw an activity on arc diagram for this situation and give the minimum time in which the three batches of buns can be prepared and baked.
  6. Assuming that the oven is big enough to bake all three batches of buns at the same time, give the minimum time in which the three batches of buns can be prepared and baked.
OCR MEI D1 2014 June Q1
2 marks
1 The diagram shows the layout of a Mediterranean garden. Thick lines represent paths.
\includegraphics[max width=\textwidth, alt={}, center]{aac29742-fee8-48a9-896c-e96696742251-2_961_1093_440_468}
  1. Draw a graph to represent this information using the vertices listed below, and with arcs representing the 18 paths. Vertices: patio (pa); pool (po); top steps (ts); orange tree (or); fig tree (fi); pool door (pd); back door (bd); front door (fd); front steps (fs); gate (gat); olive tree (ol); garage (gar). [2] Joanna, the householder, wants to walk along all of the paths.
  2. Explain why she cannot do this without repeating at least one path.
  3. Write down a route for Joanna to walk along all of the paths, repeating exactly one path. Write down the path which must be repeated. Joanna has a new path constructed which links the pool directly to the top steps.
  4. Describe how this affects Joanna's walk, and where she can start and finish. (You are not required to give a new route.)
OCR MEI D1 2014 June Q2
2 Honor either has coffee or tea at breakfast. On one third of days she chooses coffee, otherwise she has tea. She can never remember what she had the day before.
  1. Construct a simulation rule, using one-digit random numbers, to model Honor's choices of breakfast drink.
  2. Using the one-digit random numbers in your answer book, simulate Honor's choice of breakfast drink for 10 days. Honor also has either coffee or tea at the end of her evening meal, but she does remember what she had for breakfast, and her choice depends on it. If she had coffee at breakfast then the probability of her having coffee again is 0.55 . If she had tea for breakfast, then the probability of her having tea again is 0.15 .
  3. Construct a simulation rule, using two-digit random numbers, to model Honor's choice of evening drink given that she had coffee at breakfast. Construct a simulation rule, using two-digit random numbers, to model Honor's choice of evening drink given that she had tea at breakfast.
  4. Using your breakfast simulation from part (ii), and the two-digit random numbers in your answer book, simulate Honor's choice of evening drink for 10 days.
  5. Use your results from parts (ii) and (iv) to estimate the proportion of Honor's drinks, breakfast and evening meal combined, which are coffee. \section*{Question 3 begins on page 4}
OCR MEI D1 2014 June Q3
3 Six remote villages are linked by a set of roads. Two villages are connected directly if there is a road between them which does not pass through another village. The table gives the lengths in miles of all direct connections.
ABCDEF
A67123
B6108
C7102
D12298
E89
F38
  1. Why might it be thought surprising that the direct distance between A and D is as long as 12 miles? Give a possible reason why the distance is longer than might have been expected.
  2. Use the tabular form of Prim's algorithm, starting at A , to find a minimum connector for these villages. Draw your connector and give its total length.
OCR MEI D1 2014 June Q4
4 The table lists tasks which are involved in adding a back door to a garage. The table also lists the duration and immediate predecessor(s) for each task. Each task is undertaken by one person.
TaskDuration (hours)Immediate predecessor(s)
Ameasure0.5-
Bmanufacture frame and door5A
Ccut hole in wall2A
Dfit lintel and marble step1.5C
Efit frame1B, C
Ffit door1E
Grepair plaster around door1E
  1. Draw an activity on arc network for these activities.
  2. Mark on your diagram the early time and the late time for each event. Give the minimum completion time and the critical activities.
  3. Produce a schedule to show how two people can complete the project in the minimum time. Soon after starting activity D , the marble step breaks. Getting a replacement step adds 4 hours to the duration of activity D.
  4. How does this delay affect the minimum completion time, the critical activities and the minimum time needed for two people to complete the project? \section*{Question 5 begins on page 6}
OCR MEI D1 2014 June Q5
5
  1. The following instructions operate on positive integers greater than 4.
    Step 10 Choose any positive integer greater than 4, and call it \(n\).
    Step 15 Write down \(n\).
    Step 20 If \(n\) is even then let \(n = \frac { n } { 2 }\) and write down the result.
    Step 30 If \(n\) is odd then let \(n = 3 n + 1\) and write down the result.
    Step 40 Go to Step 20.
    1. Apply the instructions with 6 as the chosen integer, stopping when a sequence repeats itself.
    2. Apply the instructions with 256 as the chosen integer, stopping when a sequence repeats itself.
    3. Add an instruction to stop the process when \(n\) becomes 1 .
    4. It is not known if, when modified to stop cycling through \(4,2,1\), the instructions form an algorithm. What would need to be known for it to be an algorithm?
  2. Six items with weights given in the table are to be packed into boxes each of which has a capacity of 10 kg .
    ItemABCDEF
    Weight \(( \mathrm { kg } )\)216335
    The first-fit algorithm is as follows.
    \includegraphics[max width=\textwidth, alt={}, center]{aac29742-fee8-48a9-896c-e96696742251-7_809_1280_660_356}
    1. Use the first-fit algorithm to pack the items in the order given, and state how many boxes are needed.
    2. Place the items in increasing order of weight, and then apply the first-fit algorithm.
    3. Place the items in decreasing order of weight, and then apply the first-fit algorithm. An optimal solution is one which uses the least number of boxes.
    4. Find a set of weights for which placing in decreasing order of weight, and then applying the firstfit algorithm, does not give an optimal solution. Show both the results of first-fit decreasing and an optimal solution.
    5. First-fit decreasing has quadratic complexity. If it takes a person 30 seconds to apply first-fit decreasing to 6 items, about how long would it take that person to apply it to 60 items?
OCR MEI D1 2014 June Q6
6 Ian the chef is to make vegetable stew and vegetable soup for distribution to a small chain of vegetarian restaurants. The recipes for both of these require carrots, beans and tomatoes. 10 litres of stew requires 1.5 kg of carrots, 1 kg of beans and 1.5 kg of tomatoes.
10 litres of soup requires 1 kg of carrots, 0.75 kg of beans and 1.5 kg of tomatoes. Ian has available 100 kg of carrots, 70 kg of beans and 110 kg of tomatoes.
  1. Identify appropriate variables and write down three inequalities corresponding to the availabilities of carrots, beans and tomatoes.
  2. Graph your inequalities and identify the region corresponding to feasible production plans. The profit on a litre of stew is \(\pounds 5\), and the profit on a litre of soup is \(\pounds 4\).
  3. Find the most profitable production plan, showing your working. Give the maximum profit. Ian can buy in extra tomatoes at \(\pounds 2.50\) per kg .
  4. What extra quantity of tomatoes should Ian buy? How much extra profit would be generated by the extra expenditure? \section*{END OF QUESTION PAPER} \section*{OCR}
OCR MEI D1 2015 June Q1
1 The directed bipartite graph represents links between chairlifts and ski runs in one part of a ski resort. Chairlifts are represented by capital letters, and ski runs are represented by numbers. For example, chairlift A takes skiers to the tops of ski runs 1 and 2, whereas ski run 2 takes skiers to the bottom of chairlift B .
\includegraphics[max width=\textwidth, alt={}, center]{a27c868b-4fc4-4e82-b27f-d367b15b42c2-2_551_333_493_849}
  1. The incomplete map in your answer book represents the three chairlifts and ski run 2 . Complete the map by drawing in the other 4 ski runs. Angus wants to ski all 5 ski runs, starting and finishing at the bottom of chairlift A .
  2. Which chairlifts does Angus have to repeat, and why?
  3. Which ski runs does Angus have to repeat, and why? The chairlifts and ski runs shown above form only part of the resort. In fact, chairlift C also takes skiers to the bottom of chairlift \(D\).
  4. Why can this information not be represented in a bipartite graph?
OCR MEI D1 2015 June Q2
7 marks
2 The following algorithm operates on the equations of 3 straight lines, each in the form \(y = m _ { i } x + c _ { i }\).
Step 1Set \(i = 1\)
Step 2Input \(m _ { i }\) and \(c _ { i }\)
Step 3If \(i = 3\) then go to Step 6
Step 4Set \(i = i + 1\)
Step 5Go to Step 2
Step 6Set \(j = 1\)
Step 7Set \(a = j + 1\)
Step 8If \(a > 3\) then set \(a = a - 3\)
Step 9Set \(b = j + 2\)
Step 10If \(b > 3\) then set \(b = b - 3\)
Step 11Set \(d _ { j } = m _ { b } - m _ { a }\)
Step 12If \(d _ { j } = 0\) then go to Step 20
Step 13Set \(x _ { j } = \frac { c _ { a } - c _ { b } } { d _ { j } }\)
Step 14Set \(y _ { j } = m _ { a } \times x _ { j } + c _ { a }\)
Step 15Record \(\left( x _ { j } , y _ { j } \right)\) in the print area
Step 16If \(j = 3\) then go to Step 19
Step 17Set \(j = j + 1\)
Step 18Go to Step 7
Step 19Stop
Step 20Record "parallel" in the print area
Step 21Go to Step 16
  1. Run the algorithm for the straight lines \(y = 2 x + 8 , y = 2 x + 5\) and \(y = 4 x + 3\) using the table given in your answer book. The first five steps have been completed, so you should continue from Step 6. [7]
  2. Describe what the algorithm achieves.
OCR MEI D1 2015 June Q3
3 Mary takes over a small café. She will sell two types of hot drink: tea and coffee.
A coffee filter costs her \(\pounds 0.10\), and makes one cup of coffee. A tea bag costs her \(\pounds 0.05\) and makes one cup of tea. She has a total weekly budget of \(\pounds 50\) to spend on coffee filters and tea bags. She anticipates selling at least 500 cups of hot drink per week. She estimates that between \(50 \%\) and \(75 \%\) of her sales of cups of hot drink will be for cups of coffee. Mary needs help to decide how many coffee filters and how many tea bags to buy per week.
  1. Explain why the number of tea bags which she buys should be no more than the number of coffee filters, and why it should be no less than one third of the number of coffee filters.
  2. Allocate appropriate variables, and draw a graph showing the feasible region for Mary's problem. Mary's partner suggests that she buys 375 coffee filters and 250 tea bags.
  3. How does this suggestion relate to the estimated demand for coffee and tea?
OCR MEI D1 2015 June Q4
4 The table defines a network on 6 nodes, the numbers representing distances between those nodes.
ABCDEF
A32783
B345
C246
D75
E862
F32
  1. Use Dijkstra's algorithm to find the shortest routes from A to each of the other vertices. Give those routes and their lengths.
  2. Jack wants to find a minimum spanning tree for the network.
    1. Apply Prim's algorithm to the network, draw the minimum spanning tree and give its length. Jill suggests the following algorithm is easier.
      Step 1 Remove an arc of longest length which does not disconnect the network
      Step 2 If there is an arc which can be removed without disconnecting the network then go to Step 1
      Step 3 Stop
    2. Show the order in which arcs are removed when Jill's algorithm is applied to the network.
    3. Explain why Jill's algorithm always produces a minimum spanning tree for a connected network.
    4. In a complete network on \(n\) vertices there are \(\frac { n ( n - 1 ) } { 2 }\) arcs. There are \(n - 1\) arcs to include when using Prim's algorithm. How many arcs are there to remove using Jill's algorithm? For what values of \(n\) does Jill have more arcs to remove than Prim has to include?
OCR MEI D1 2015 June Q5
5 The table lists activities which are involved in framing a picture. The table also lists their durations and their immediate predecessors. Except for activities C and H, each activity is undertaken by one person. Activities C and H require no people.
ActivityDuration (mins)Immediate predecessor(s)
Aselect mounting5-
Bglue picture to mounting5A
Callow mounting glue to dry20B
Dmeasure for frame5A
Eselect type of frame10A
Fcut four frame pieces5D, E
Gpin and glue frame pieces together5F
Hallow frame glue to dry20G
Icut and bevel glass30D
Jfit glass to frame5H, I
Kfit mounted picture to frame5C, J
  1. Draw an activity on arc network for these activities.
  2. Mark on your diagram the early time and the late time for each event. Give the minimum completion time and the critical activities. A picture is to be framed as quickly as possible. Two people are available to do the job.
  3. Produce a schedule to show how two people can complete the picture framing in the minimum time. To reduce the completion time an instant glue is to be used. This will reduce the time for activities C and H to 0 minutes.
  4. Produce a schedule for two people to complete the framing in the new minimum completion time, and give that time.
OCR MEI D1 2015 June Q6
6 Adrian and Kleo like to go out for meals, sometimes to a French restaurant, and sometimes to a Greek restaurant. If their last meal out was at the French restaurant, then the probability of their next meal out being at the Greek restaurant is 0.7 , whilst the probability of it being at the French restaurant is 0.3 . If their last meal out was at the Greek restaurant, then the probability of their next meal out being at the French restaurant is 0.6 , whilst the probability of it being at the Greek restaurant is 0.4 .
  1. Construct two simulation rules, each using single-digit random numbers, to model their choices of where to eat.
  2. Their last meal out was at the Greek restaurant. Use the random digits printed in your answer book to simulate their choices for the next 10 of their meals out. Hence estimate the proportion of their meals out which are at the French restaurant, and the proportion which are at the Greek restaurant. Adrian and Kleo find a Hungarian restaurant which they like. The probabilities of where they eat next are now given in the following table.
    \backslashbox{last meal out}{next meal out}FrenchGreekHungarian
    French\(\frac { 1 } { 5 }\)\(\frac { 3 } { 5 }\)\(\frac { 1 } { 5 }\)
    Greek\(\frac { 1 } { 2 }\)\(\frac { 3 } { 10 }\)\(\frac { 1 } { 5 }\)
    Hungarian\(\frac { 1 } { 3 }\)\(\frac { 1 } { 3 }\)\(\frac { 1 } { 3 }\)
  3. Construct simulation rules, each using single-digit random numbers, to model this new situation.
  4. Their last meal out was at the Greek restaurant. Use the random digits printed in your answer book to simulate their choices for the next 10 of their meals out. Hence estimate the proportion of their meals out which are at each restaurant. \section*{END OF QUESTION PAPER}
OCR MEI D1 2016 June Q1
1 Pierre knows that, if he gambles, he will lose money in the long run. Nicolas tries to convince him that this is not the case. Pierre stakes a sum of money in a casino game. If he wins then he gets back his stake plus the same amount again. If he loses then he loses his stake. Nicolas says that Pierre can guarantee to win by repeatedly playing the game, even though the probability of winning an individual game is less than 0.5 . His idea is that Pierre should bet in the first game with a stake of \(\pounds 100\). If he wins then he stops, as he will have won \(\pounds 100\). If he loses then he plays again with a stake of \(\pounds 200\). If he wins then he has lost \(\pounds 100\) and won \(\pounds 200\). This gives a total gain of \(\pounds 100\), and he stops. If he loses then he plays again with a stake of \(\pounds 400\). If he wins this time he has lost \(\pounds 100\) and \(\pounds 200\) and won \(\pounds 400\). This gives a total gain of \(\pounds 100\), and he stops. Nicolas's advice is that Pierre simply has to continue in this way, doubling his stake every time that he loses, until he eventually wins. Nicolas says that this guarantees that Pierre will win \(\pounds 100\). You are to simulate what might happen if Pierre tries this strategy in a casino game in which the probability of him winning an individual game is 0.4 , and in which he has \(\pounds 1000\) available.
  1. Give an efficient rule for using 1-digit random numbers to simulate the outcomes of individual games, given that the probability of Pierre winning an individual game is 0.4 .
  2. Explain why at most three random digits are needed for one simulation of Nicolas's strategy, given that Pierre is starting with \(\pounds 1000\).
  3. Simulate five applications of Nicolas's strategy, using the five sets of three 1-digit random numbers in your answer book.
  4. Summarise the results of your simulations, giving your mean result.
OCR MEI D1 2016 June Q2
2 A bag contains 26 cards. A different letter of the alphabet is written on each one. A card is chosen at random and its letter is written down. The card is returned to the bag. The bag is shaken and the process is repeated several times. Tania wants to investigate the probability of a letter appearing twice. She wants to know how many cards need to be chosen for this probability to exceed 0.5. Tania uses the following algorithm. Step 1 Set \(n = 1\)
Step 2 Set \(p = 1\)
Step 3 Set \(n = n + 1\)
Step 4 Set \(p = p \times \left( \frac { 27 - n } { 26 } \right)\)
Step 5 If \(p < 0.5\) then stop
Step 6 Go to Step 3
  1. Run the algorithm.
  2. Interpret your results. A well-known problem asks how many randomly-chosen people need to be assembled in a room before the probability of at least two of them sharing a birthday exceeds 0.5 (ignoring anyone born on 29 February).
  3. Modify Tania's algorithm to answer the birthday problem. (Do not attempt to run your modified algorithm.)
  4. Why have 29 February birthdays been excluded?
OCR MEI D1 2016 June Q3
3 The adjacency graph of a cube
\includegraphics[max width=\textwidth, alt={}, center]{e88abde1-8769-4a3c-b115-031cea08d9a6-4_106_108_214_735}
is shown. Vertices on the graph represent faces of the cube. Two vertices are connected by an arc if the corresponding faces of the cube share an edge.
\includegraphics[max width=\textwidth, alt={}, center]{e88abde1-8769-4a3c-b115-031cea08d9a6-4_401_464_246_1334} The second graph is the complement of the adjacency graph, i.e. the graph that consists of the same vertices together with the arcs that are not in the adjacency graph.
\includegraphics[max width=\textwidth, alt={}, center]{e88abde1-8769-4a3c-b115-031cea08d9a6-4_403_464_737_1334} Throughout this question we wish to colour solids so that two faces that share an edge have different colours. The second graph shows that the minimum number of colours required for a cube is three, one colour for the top and base, one for the front and back, and one for the left and right.
  1. Draw the adjacency graph for a square-based pyramid, and draw its complement. Hence find the minimum number of colours needed to colour a square-based pyramid.
    \includegraphics[max width=\textwidth, alt={}, center]{e88abde1-8769-4a3c-b115-031cea08d9a6-4_161_202_1434_1548}
  2. (A) Draw the adjacency graph for an octahedron, and draw its complement.
    (B) An octahedron can be coloured using just two colours. Explain how this relates to the complement of the adjacency graph.
    \includegraphics[max width=\textwidth, alt={}, center]{e88abde1-8769-4a3c-b115-031cea08d9a6-4_227_205_1731_1548}
OCR MEI D1 2016 June Q4
4 Two products are to be made from material that is supplied in a single roll, 20 m long and 1 m wide. The two products require widths of 47 cm and 32 cm respectively. Two ways of cutting lengths of material are shown in the plans below.
\includegraphics[max width=\textwidth, alt={}, center]{e88abde1-8769-4a3c-b115-031cea08d9a6-5_408_1538_520_269}
\includegraphics[max width=\textwidth, alt={}, center]{e88abde1-8769-4a3c-b115-031cea08d9a6-5_403_1533_952_274}
  1. Given that there should be no unnecessary waste, draw one other cutting plan that might be used for a cut of length \(z\) metres.
  2. Write down an expression for the total area that is wasted in terms of \(x , y\) and \(z\). All of the roll is to be cut, so \(x + y + z = 20\).
    There needs to be a total length of at least 20 metres of the material for the first product, the one requiring width 47 cm .
  3. Write this as a linear constraint on the variables. There needs to be a total length of at least 24 metres of the material for the second product, the one requiring width 32 cm .
  4. Write this as a linear constraint on the variables.
  5. Formulate an LP in terms of \(x\) and \(y\) to minimise the area that is wasted. You will need to use the relationship \(x + y + z = 20\), together with your answers to parts (ii), (iii) and (iv).
  6. Solve your LP graphically, and interpret the solution.
OCR MEI D1 2016 June Q5
5 A village amateur dramatic society is planning its annual pantomime. Three rooms in the village hall have been booked for one evening per week for 12 weeks. The following activities must take place. Their durations are shown.
ActivityDuration (weeks)
Achoose lead actors1
Bchoose rest of actors1
Cchoose dancers1
Drehearse lead actors8
Erehearse rest of actors6
Frehearse dancers6
Gprepare scenery6
Hinstall scenery1
Iprepare music2
Jmake costumes4
Kdress rehearsals2
Each activity needs a room except for activities G, I and J.
Choosing actors and dancers can be done in the same week. Rehearsals can begin after this. Rehearsing the dancers cannot begin until the music has been prepared. The scenery must be installed after rehearsals, but before dress rehearsals.
Making the costumes cannot start until after the actors and dancers have been chosen. Everything must be ready for the dress rehearsals in the final two weeks of the 12-week preparation period.
  1. Complete the table in your answer book by showing the immediate predecessors for each activity.
  2. Draw an activity on arc network for these activities.
  3. Mark on your network the early time and the late time for each event. Give the critical activities. It is discovered that there is a double booking and that one of the rooms will not be available after week 6.
  4. Using the space provided, produce a schedule showing how the pantomime can be ready in time for its first performance.
OCR MEI D1 2016 June Q6
6 A mountain ridge separates two populated areas. Networks representing roads connecting the villages in each area are shown below. The numbers on the arcs represent distances in kilometres.
\includegraphics[max width=\textwidth, alt={}, center]{e88abde1-8769-4a3c-b115-031cea08d9a6-7_524_1429_340_319} There is also a mountain road of length 15 kilometres connecting C to Z .
  1. A national bus company needs a route from A to X .
    1. Use Dijkstra's algorithm on the complete network, including CZ, to find the shortest route from A to X . Give the route and its corresponding distance.
    2. Would it need fewer computations to use Dijkstra's algorithm on the network for villages A to F to find the shortest route from A to C, and then use Dijkstra's algorithm on the network for villages U to Z to find the shortest route from Z to X? Give a brief justification for your answer.
  2. The local council needs to discover which roads it should keep clear of snow during the winter to keep all the villages connected, and the corresponding total length of road.
    1. Use Kruskal's algorithm on the network for villages A to F to find a minimum connector for \(\{ \mathrm { A } , \mathrm { B } , \mathrm { C } , \mathrm { D } , \mathrm { E } , \mathrm { F } \}\). Show your use of the algorithm. Draw your minimum connector.
    2. Use Prim's algorithm on the network for villages U to Z to find a minimum connector for \(\{ \mathrm { U } , \mathrm { V } , \mathrm { W } , \mathrm { X } , \mathrm { Y } , \mathrm { Z } \}\), starting at U . Show your use of the algorithm. Draw your minimum connector.
    3. What is the total length of road that the council must keep clear of snow?
Edexcel D1 Q1
1. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{6c6b7934-ab46-4a87-8a11-f99bf9a5d743-02_629_700_196_443} \captionsetup{labelformat=empty} \caption{Fig 1}
\end{figure}
  1. Find a Hamiltonian cycle for the graph shown in Figure 1.
  2. Starting with your cycle, construct a plane drawing of the graph, showing your method clearly.
    (5 marks)
Edexcel D1 Q2
2. (a) The following list of numbers is to be sorted into descending order. $$\begin{array} { l l l l l l } 35 & 23 & 10 & 46 & 24 & 11 \end{array}$$ Use the Bubble sort algorithm to obtain a sorted list, giving the state of the list at each stage where two values could be interchanged.
(b) Find the maximum number of interchanges needed when 8 values are sorted into descending order using the Bubble sort algorithm.
(c) Use the first-fit decreasing algorithm to fit the data in part (a) into bins of size 50. Explain how you decided in which bin to place the number 11.
Edexcel D1 Q3
3. This question should be answered on the sheet provided. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{6c6b7934-ab46-4a87-8a11-f99bf9a5d743-03_744_1524_319_315} \captionsetup{labelformat=empty} \caption{Fig. 2}
\end{figure} Figure 2 shows an activity network. The nodes represent events and the arcs represent the activities. The number in each bracket gives the time, in days, needed to complete the activity.
  1. Calculate the early and late times for each event using appropriate forward and backward scanning.
    (5 marks)
  2. Hence, determine the activities which lie on the critical path.
  3. State the minimum number of days needed to complete the entire project.