Docsity

Palmer - Mathematics - Exam, Exams of Mathematics

Toggle sidebar
bg1
EXAMINER : Mr M Bamber
DEPARTMENT : Math.Sciences TEL.NO 50345 / 44756
MAY 2011 EXAMINATIONS
DECISION AND DISCRETE MATHEMATICS
TIME ALLOWED: Two Hours
INSTRUCTIONS TO CANDIDATES
This paper is divided into two sections. All the questions are based on material studied in
workshops and tutorials for this module.
There are 5 questions in Section A. You should answer ALL the questions in Section A.
There are 3 longer questions in Section B. You should answer TWO questions from Section B.
Use INSERT 1 provided with this paper to submit your answer to Question A3 (a).
If you choose to answer question B1, use INSERT 2 provided with this paper to submit your answer to
Question B1 (a), (g).
If you choose to answer question B2, use INSERT 3 provided with this paper to submit your answer to
Question B2 (c).
If you choose to answer question B3, use INSERT 4 provided with this paper to submit your answer to
Question B3 (a).
MATH016 Page 1 of 15 Continued
PAPER CODE NO.
MATH 016
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Palmer - Mathematics - Exam and more Exams Mathematics in PDF only on Docsity!

EXAMINER : Mr M Bamber

DEPARTMENT : Math.Sciences TEL.NO 50345 / 44756

MAY 2011 EXAMINATIONS

DECISION AND DISCRETE MATHEMATICS

TIME ALLOWED: Two Hours

INSTRUCTIONS TO CANDIDATES

This paper is divided into two sections. All the questions are based on material studied in

workshops and tutorials for this module.

There are 5 questions in Section A. You should answer ALL the questions in Section A.

There are 3 longer questions in Section B. You should answer TWO questions from Section B.

Use INSERT 1 provided with this paper to submit your answer to Question A3 (a).

If you choose to answer question B1, use INSERT 2 provided with this paper to submit your answer to

Question B1 (a), (g).

If you choose to answer question B2, use INSERT 3 provided with this paper to submit your answer to

Question B2 (c).

If you choose to answer question B3, use INSERT 4 provided with this paper to submit your answer to

Question B3 (a).

MATH016 Page 1 of 15 Continued

PAPER CODE NO.

MATH 016

SECTION A

ANSWER ALL THE QUESTIONS FROM THIS SECTION (40 Marks)

A

The following list gives the names of some students who have represented Britain in the International Mathematics Olympiad.

Roper ( R ), Palmer ( P ), Boase ( B ), Young ( Y ), Thomas ( T ), Kenney ( K ), Morris ( M ),

Halliwell ( H ), Wicker ( W ), Garesalingam ( G ).

A computer program uses the Quick Sort algorithm to sort the names above into alphabetical order. Apply the Quick Sort algorithm to the above list in order to determine the number of comparisons needed to sort the list, making your method clear. (7)

(Total 7 marks)

A

(a) Describe the differences between Prim’s algorithm and Kruskal’s algorithm for finding a minimum connector for a network. (3)

(b) Listing the arcs in the order that you select them, find a minimum connector for the network in the diagram above, using (i) Prim’s algorithm, (ii) Kruskal’s algorithm. (4) (Total 7 marks)

A B

C

D

E

F

G

A4.

Five tour guides, Alice, Emily, George, Rose and Weidi, need to be assigned to five coach trips, 1, 2, 3, 4 and 5. A bipartite graph showing their preferences is given in Figure 1 and an initial matching is given in Figure 2.

(a) Use the maximum matching algorithm, starting with vertex G, to increase the number of matchings. State the alternating path you used. (2)

(b) List the improved matching you found in (a). (1)

(c) Explain why a complete matching is not possible. (2)

Weidi agrees to be assigned to coach trip 3, 4 or 5.

(d) Starting with your current maximal matching , use the maximum matching algorithm to obtain a complete matching. (3) (Total 8 marks)

A

The diagram above shows the paths in Bill’s garden. The length of each path is given in metres. Each morning Bill likes to inspect the garden. He starts and finishes at A and traverses each path at least once.

(a) Use the route inspection algorithm to find the minimum distance he must walk. State which paths must be traversed more than once and state a route of minimum length. (6)

Caroline, a friend of Bill’s, wishes to look at the garden covering each path at least once. However, she wants to start at B and finish at a vertex other than B.

(b) In order for Caroline to walk a minimum distance, determine where she should end her walk and the distance she will cover. Explain your method carefully and give a possible route. (5) (Total 11 marks)

A

B

C

D

E

(c) Explain what is meant by a critical path. (2)

The sum of all the activity times is 110 days and each activity requires just one worker. The project must be completed in the minimum time.

(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) List the activities that must be happening on day 20. (2)

(f) Comment on your answer to part (e) with regard to the lower bound you found in part (d). (2)

(g) On the Gantt Chart (Cascade Chart) in INSERT 2G , schedule the activities, using the minimum number of workers, so that the project is completed in 30 days.

(Total 20 marks)

B2.

The tableau below is the initial tableau for a linear programming problem in x , y and z. The objective is to maximise the profit, P.

basic variable x y z r s t Value r 12 4 5 1 0 0 246

s 9 6 3 0 1 0 153 t 5 2 – 2 0 0 1 171

P – 2 – 4 – 3 0 0 0 0

Using the information in the tableau, write down

(a) the objective function, (2)

(b) the three constraints as inequalities with integer coefficients. (3)

Taking the most negative number in the profit row to indicate the pivot column at each stage,

(c) solve this linear programming problem. Use the tables on INSERT 3 (note: SPARE tables are provided in case of errors: there is no suggestion that you should need all the tables).

Make your method clear by stating the row operations you use. (11)

(d) State the final values of the objective function and each variable. (3)

One of the constraints is not at capacity.

(e) Explain how it can be identified. (1) (Total 20 marks)

INSERT 1 (for answering Question A3 part (a))

Please detach this INSERT and attach it securely to your script.

INSERT 2

(for answering part (a) of Question B1)

Please detach this INSERT and attach it securely to your script.

(a)

KEY

A(10)

B(9)

C(11)

E(4)

F(2)

G(1)

H(9)

I(15)

J(15)

L(16)

D(11)

K(7)

Early event

time

Late event

time

INSERT 3 (for answering part (c) of

Question B2)

Please detach this INSERT and attach it securely to your script.

B2 (c)

You may not need to use all of these tableaux.

b.v. x y z r s t Value

Row operations

b.v. x y z r s t Value

Row operations

b.v. x y z r s t Value

Row operations

INSERT 3 (continued)

b.v. x y z r s t Value

Row operations

b.v. x y z r s t Value

Row operations

b.v. x y z r s t Value

Row operations

(9)