D1 January 2003
D1 January 2003
D1 January 2003
6689
Edexcel GCE
Decision Mathematics D1
Advanced/Advanced Subsidiary
Friday 17 January 2003 Afternoon
Time: 1 hour 30 minutes
Materials required for examination Items included with question
papers
Nil Answer booklet
Candidates may use any calculator EXCEPT those with the facility for symbolic
algebra, differentiation and/or integration. Thus candidates must NOT use
calculators such as the Texas Instruments TI 89, TI 92, Casio CFX 9970G,
Hewlett Packard HP 48G.
Instructions to Candidates
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.
Information for Candidates
Full marks may be obtained for answers to ALL questions.
This paper has eight questions.
Advice to Candidates
You must ensure that your answers t parts of questions are clearly labelled. o
without working may gain no credit.
You must show sufficient working to make your methods clear to the Examiner. Answers
This publication may only bereproduced in accordancewith Edexcel copyright policy.
Edexcel Foundation is aregistered charity. 2003 Edexcel
N11379A
1.
Figure 1
Use the planarity algorithm to show that the graph in Fig. 1 is planar.
(4)
A B
C
D E
N11379A
2
2. At Tesafe supermarket there are 5 trainee staff, Homan (H), J enna (J), Mary (M), Tim (T )
and Yoshie (Y). They each must spend one week in each of 5 departments, Delicatessen (D),
Frozen foods (F), Groceries (G), Pet foods (P), Soft drinks (S). Next week every department
requires exactly one trainee. The table below shows the departments in which the trainees
have yet to spend time.
Trainee Departments
H D, F, P
J G, D, F
M S, P, G
T F, S, G
Y D
Initially H, J, M and T are allocated to the first department in their list.
(a) Draw a bipartite graph to model this situation and indicate the initial matching in a
distinctive way.
(2)
Starting from this matching,
(b) use the maximum matching algorithm to find a complete matching. You must make clear
your alternating path and your complete matching.
(4)
3. A manager wishes to purchase seats for a new cinema. He wishes to buy three types of seat;
standard, deluxe and majestic. Let the number of standard, deluxe and majestic seats to be
bought be x, y and z respectively.
He decides that the total number of deluxe and majestic seats should be at most half of the
number of standard seats.
The number of deluxe seats should be at least 10% and at most 20% of the total number of
seats.
The number of majestic seats should be at least half of the number of deluxe seats.
The total number of seats should be at least 250.
Standard, deluxe and majestic seats each cost 20, 26 and 36, respectively.
The manager wishes to minimize the total cost, C, of the seats.
Formulate this situation as a linear programming problem, simplifying your inequalities so
that all the coefficients are integers.
(9)
N11379A
3
4. Figure 2
The arcs in Fig. 2 represent roads in a town. The weight on each arc gives the time, in
minutes, taken to drive along that road. The times taken to drive along AB and DE vary
depending upon the time of day.
A police officer wishes to drive along each road at least once, starting and finishing at A. The
journey is to be completed in the least time.
(a) Briefly explain how you know that a route between B and E will have to be repeated.
(1)
(b) List the possible routes between B and E. State how long each would take, in terms of x
where appropriate.
(2)
(c) Find the range of values that x must satisfy so that DE would be one of the repeated arcs.
(3)
Given that x =7,
(d) find the total time needed for the police officer to carry out this journey.
(3)
E
A
C
B
D
x +5
12
9
10
2x
11
N11379A
4
5. Figure 3
A project is modelled by the activity network in Fig. 3. The activities are represented by the
arcs. One worker is required for each activity. The number in brackets on each arc gives the
time, in hours, to complete the activity. The earliest event time and the latest event time are
given by the numbers in the left box and right box respectively.
(a) State the value of x and the value of y.
(2)
(b) List the critical activities.
(2)
(c) Explain why at least 3 workers will be needed to complete this project in 38 hours.
(2)
(d) Schedule the activities so that the project is completed in 38 hours using just 3 workers.
You must make clear the start time and finish time of each activity.
(4)
A(11)
38 38
x 31
0 0 12 12 17 y
11 11
8 8 23 30
F(8)
L(7)
E(6) J(14)
B(10) K(9)
G(5)
D(4) H(6)
C(8) M(8)
I(11)
Key
Earliest Latest
event time event time
N11379A
5
6. 25 22 30 18 29 21 27 21
The list of numbers above is to be sorted into descending order.
(a) (i) Perform the first pass of a bubble sort, giving the state of the list after each exchange.
(ii) Perform further passes, giving the state of the list after each pass, until the algorithm
terminates.
(5)
The numbers represent the lengths, in cm, of pieces to be cut from rods of length 50 cm.
(b) (i) Show the result of applying the first fit decreasing bin packing algorithm to this
situation.
(ii) Determine whether your solution to (b) (i) has used the minimum number of 50 cm
rods.
(4)
N11379A
6
7. Figure 4
Figure 4 shows a capacitated directed network. The number on each arc is its capacity. The
numbers in circles show a feasible flow from sources A and B to sinks I, J and K.
Take this as the initial flow pattern.
(a) On Diagram 1 in the answer booklet, add a supersource S and a supersink W to obtain a
capacitated network with a single source and single sink. State the minimum capacities of
the arcs you have added.
(3)
(b) (i) Use the given initial flow and the labelling procedure on Diagram 2 to find the
maximum flow through the network. You must list each flow-augmenting route you
use together with its flow.
(ii) Verify that your flow is maximal.
(9)
(c) Show your maximum flow pattern on Diagram 3.
(2)
E
C
A
B
D
F I
K
J H
G
8 8 10 25 3 12
30
10 9
20
10 7
5 1
6 1
7 7
5
4
20 15
15 9
16 15
6 6
6 6
5 2
N11379A
7
8. The tableau below is the initial tableau for a maximising linear programming problem.
(a) For this problem x 0, y 0, z 0. Write down the other two inequalities and the
objective function.
(3)
(b) Solve this linear programming problem.
(8)
(c) State the final value of P, the objective function, and of each of the variables.
(3)
Basic Variable x y z r s Value
r
2 3 4 1 0 8
s
3 3 1 0 1 10
P
-8 -9 -5 0 0 0
END
N11379A
8