OCR MEI D1 (Decision Mathematics 1) 2007 January

Mark scheme PDF ↗

Question 1 8 marks
View details
Each of the following symbols consists of boundaries enclosing regions. \includegraphics{figure_1} 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{figure_2} is \(\bullet \longrightarrow \bullet \longrightarrow \bullet\).
  1. Produce the graph for the symbol \includegraphics{figure_3}. [1]
  2. Give two symbols each having the graph \(\bullet \longrightarrow \bullet\). [2]
  3. Produce the graph for the symbol \includegraphics{figure_4}. [2]
  4. Produce a single graph for the composite symbol \includegraphics{figure_5}. [2]
  5. Give the name of a connected graph with \(n\) nodes and \(n - 1\) arcs. [1]
Question 2 8 marks
View details
The following algorithm is a version of bubble sort. Step 1 \quad Store the values to be sorted in locations L(1), L(2), \(\ldots\) , L(n) and set i to be the number, n, of values to be sorted. Step 2 \quad Set j = 1. Step 3 \quad Compare the values in locations L(j) and L(j+1) and swap them if that in L(j) is larger than that in L(j+1). Step 4 \quad Add 1 to j. Step 5 \quad If j is less than i then go to step 3. Step 5 \quad Write out the current list, L(1), L(2), \(\ldots\) , L(n). Step 6 \quad Subtract 1 from i. Step 7 \quad If i is larger than 1 then go to step 2. Step 8 \quad Stop.
  1. Apply this algorithm to sort the following list. 109 \quad 32 \quad 3 \quad 523 \quad 58. Count the number of comparisons and the number of swaps which you make in applying the algorithm. [4]
  2. Put the five values into the order which maximises the number of swaps made in applying the algorithm, and give that number. [2]
  3. 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 100 000 values? (Give your answer in hours and minutes.) [2]
Question 3 8 marks
View details
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.
  1. Show how to use single digit random numbers to simulate the process efficiently. You need to describe exactly how your simulation will work. [3]
  2. Use the random numbers in your answer book to run your simulation 5 times, recording your results. [2]
  3. From your results compute an estimate of the mean number of draws needed to get a vowel. [2]
  4. State how you could produce a more accurate estimate. [1]
Question 4 16 marks
View details
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
  1. Draw an activity-on-arc network to represent this information. [5]
  2. Find the early time and the late time for each event. Give the project duration and list the critical activities. [6]
  3. Calculate total and independent floats for each non-critical activity. [2]
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 £250, or in 8 days for an extra £500.
  • The bricklayer will cut his total of 7 days on activity B by up to 3 days at an extra cost of £350 per day.
  • The electrician could be paid £300 more to cut a day off activity D, or £600 more to cut two days.
  1. What is the cheapest way in which Cassi can get the house built in 42 days? [3]
Question 5 16 marks
View details
Leone is designing her new garden. She wants to have at least 1000 m\(^2\), split between lawn and flower beds. Initial costs are £0.80 per m\(^2\) for lawn and £0.40 per m\(^2\) for flowerbeds. Leone's budget is £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 m\(^2\) of lawn. Maintenance costs each year are £0.15 per m\(^2\) for lawn and £0.25 per m\(^2\) for flower beds. Leone wants to minimize the maintenance costs of her garden.
  1. Formulate Leone's problem as a linear programming problem. [7]
  2. Produce a graph to illustrate the inequalities. [6]
  3. Solve Leone's problem. [2]
  4. If Leone had more than £500 available initially, how much extra could she spend to minimize maintenance costs? [1]
Question 6 16 marks
View details
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\(-\)
  1. 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. [5]
  2. 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. [7]
  3. The factory manager prefers the following pair of connectors: \(\{\)AB, BC, BD, BE, BF\(\}\) and \(\{\)AE, BF, CE, DE, DF\(\}\). Give two possible reasons for this preference. [4]