Decision Mathematics D1 - A minimum of blind …...Decision Mathematics D1 Mark scheme. October 2014...

20
Decision Mathematics D1 Mark scheme. October 2014 test paper 1. Art (A) 61 93 73 50 48 42 Biology (B) 61 114 82 83 63 58 Chemistry (C) 93 114 59 94 77 88 Drama (D) 73 82 59 89 104 41 English (E) 50 83 94 89 91 75 French (F) 48 63 77 104 91 68 Graphics (G) 42 58 88 41 75 68 The table shows the travelling times, in seconds, to walk between seven departments in a college. (a) Use Prim’s algorithm, starting at Art, to find the minimum spanning tree for the network represented by the table. You must clearly state the order in which you select the edges of your tree. (3) (b) Draw the minimum spanning tree using the vertices given in Diagram 1 in the answer book. (1) (c) State the weight of the tree. (1)

Transcript of Decision Mathematics D1 - A minimum of blind …...Decision Mathematics D1 Mark scheme. October 2014...

Page 1: Decision Mathematics D1 - A minimum of blind …...Decision Mathematics D1 Mark scheme. October 2014 test paper 1. Art (A) – 61 93 73 50 48 42 Biology (B) 61 – 114 82 83 63 58

Decision Mathematics D1

Mark scheme. October 2014 test paper

1.Art (A) – 61 93 73 50 48 42

Biology (B) 61 – 114 82 83 63 58

Chemistry (C) 93 114 – 59 94 77 88

Drama (D) 73 82 59 – 89 104 41

English (E) 50 83 94 89 – 91 75

French (F) 48 63 77 104 91 – 68

Graphics (G) 42 58 88 41 75 68 –

The table shows the travelling times, in seconds, to walk between seven departments in acollege.

(a)  Use Prim’s algorithm, starting at Art, to find the minimum spanning tree for the networkrepresented by the table. You must clearly state the order in which you select the edgesof your tree.

(3)

(b)  Draw the minimum spanning tree using the vertices given in Diagram 1 in the answerbook.

(1)

(c)  State the weight of the tree.(1)

Page 2: Decision Mathematics D1 - A minimum of blind …...Decision Mathematics D1 Mark scheme. October 2014 test paper 1. Art (A) – 61 93 73 50 48 42 Biology (B) 61 – 114 82 83 63 58

1.(a) AG, DG, AF; AE BG; CD M1 A1 A1    (3)

(b) B1                 (1)

(c) Weight of tree = 298 (s)B1                 (1)5 marks

2

Page 3: Decision Mathematics D1 - A minimum of blind …...Decision Mathematics D1 Mark scheme. October 2014 test paper 1. Art (A) – 61 93 73 50 48 42 Biology (B) 61 – 114 82 83 63 58

2.

Figure 2

Sharon is planning a road trip from Preston to York. Figure 2 shows the network of roads thatshe could take on her trip. The number on each arc is the length of the corresponding road inmiles.

(a)  Use Dijkstra’s algorithm to find the shortest route from Preston (P) to York (Y). State theshortest route and its length.

(6)

Sharon has  a   friend,   John,  who  lives   in  Manchester   (M).  Sharon decides   to   travel   fromPreston to York via Manchester so she can visit John. She wishes to minimise the length ofher route.

(b)  State the new shortest route. Hence calculate the additional distance she must travel tovisit John on this trip. You must make clear the numbers you use in your calculation.

(3)

Page 4: Decision Mathematics D1 - A minimum of blind …...Decision Mathematics D1 Mark scheme. October 2014 test paper 1. Art (A) – 61 93 73 50 48 42 Biology (B) 61 – 114 82 83 63 58

2. (a)

M1

A1 (PBCAW)

A1 (HMS)

A1ft (LY)

Shortest route:  P – B – A – S – L – Y Length: 89 (miles)

B1B1ft              (6)

(b) Shortest route:  P – C – H – M – L – Y Difference in routes: (41 + 40 + 21) – 89 = 13 (miles)

B1M1 A1          (3)9 marks

4

Page 5: Decision Mathematics D1 - A minimum of blind …...Decision Mathematics D1 Mark scheme. October 2014 test paper 1. Art (A) – 61 93 73 50 48 42 Biology (B) 61 – 114 82 83 63 58

3.24 14 8 x 19 25 6 17 9

The numbers in the list represent the exact weights, in kilograms, of 9 suitcases. One suitcaseis weighed inaccurately and the only information known about the unknown weight, x kg, ofthis suitcase is that 19 < x ≤ 23. The suitcases are to be transported in containers that can holda maximum of 50 kilograms.

(a)  Use the first­fit bin packing algorithm, on the list provided, to allocate the suitcases tocontainers.

(3)

(b)  Using   the   list   provided,   carry  out   a   quick   sort   to   produce   a   list   of   the   weights   indescending order. Show the result of each pass and identify your pivots clearly.

(4)

(c)  Apply the first­fit decreasing bin packing algorithm to the ordered list to determine the 2possible allocations of suitcases to containers.                                                                 (4)

After the first­fit decreasing bin packing algorithm has been applied to the ordered list, one ofthe containers is full.(d)  Calculate the possible integer values of x. You must show your working.

(2)

3. (a)

Bin 1: 24  14  8                                  Bin 2: x 19  6 Bin 3:  25  17                                  Bin 4:  9

M1 A1 A1    (3)

(b)

e.g. using middle right24      14       8        x       19      25        6        17       9              pivot 19

24       x       25     19       14        8        6       17       9              pivots x    6

24      25       x      19       14        8       17        9       6              pivots 25  17

25      24       x       19       17      14        8        9       6               pivots (24) 8    

25      24       x       19       17      14        9        8       6               pivot 9

25      24       x       19       17      14        9        8       6               (sort complete)        

M1 (quick sort)

A1 (1st pass/pivots for 2nd)

A1ft (2nd /3rd pass/pivot for 4th)

A1cso           (4)

(c)

(i) Bin 1: 25  24                            (ii) Bin 1: 25  24

    Bin 2:  x   19  9                               Bin 2:  x  19  8

    Bin 3: 17  14  8  6                           Bin 3: 17  14  9  6

M1 A1 A1 A1(4)

(d)x + 19 + 9 = 50  x  = 22x + 19 + 8 = 50  x  = 23

B2,1,0           (2)13 marks 

Page 6: Decision Mathematics D1 - A minimum of blind …...Decision Mathematics D1 Mark scheme. October 2014 test paper 1. Art (A) – 61 93 73 50 48 42 Biology (B) 61 – 114 82 83 63 58

4.

Figure 1[The total weight of the network is 451]

Figure 1 models a network of tracks in a forest that need to be inspected by a park ranger.The number on each arc is the length, in km, of that section of the forest track.

Each track must be traversed at least once and the length of the inspection route must beminimised. The inspection route taken by the ranger must start and end at vertex A.

(a)  Use the route inspection algorithm to find the length of a shortest inspection route. Statethe arcs that should be repeated. You should make your method and working clear.

(5)

(b)  State the number of times that vertex J would appear in the inspection route.(1)

The landowner decides to build two huts, one hut at vertex K and the other hut at a differentvertex. In future, the ranger will be able to start his inspection route at one hut and finish atthe other. The inspection route must still traverse each track at least once.

(c)  Determine   where   the   other   hut   should   be   built   so   that   the   length   of   the   route   isminimised. You must give reasons for your answer and state a possible route and itslength.

(4)

6

Page 7: Decision Mathematics D1 - A minimum of blind …...Decision Mathematics D1 Mark scheme. October 2014 test paper 1. Art (A) – 61 93 73 50 48 42 Biology (B) 61 – 114 82 83 63 58

4. (a)

D(A)E + F(J)K = 35 + 15 = 50*D(HJ)F + E(FJ)K = 24 + 40 = 64D(HJ)K + EF = 33 + 25 = 58Arcs DA, AE, FJ, JK will be traversed twiceRoute length = 451 + 50 = 501 (km)

M1 A1 (2 correct) A1 (3 correct)  A1  A1ft              (5)

(b) Vertex J would appear 3 times in the shortest inspection route B1                 (1)

(c)

We only have to repeat one pair of odd vertices which does not include vertex K(DE = 35, DF = 24, EF = 25)

DF is the smallest of the three so repeat DF (DH, HJ, JF) and therefore the other hut should be built at E

Route e.g. EADEHDHJFBEFCGFJHLGKJLMK

The length of the route is 475 (km)

DM1

A1

A1

A1ft              (4)

10 marks

Page 8: Decision Mathematics D1 - A minimum of blind …...Decision Mathematics D1 Mark scheme. October 2014 test paper 1. Art (A) – 61 93 73 50 48 42 Biology (B) 61 – 114 82 83 63 58

5.31 10 38 45 19 47 35 28 12

(a)  Use the first­fit bin packing algorithm to determine how the numbers listed above can bepacked into bins of size 60.

(3)

(b)  Carry out a quick sort to produce a list of the numbers in descending order. You shouldshow the result of each pass and identify your pivots clearly.

(4)

8

Page 9: Decision Mathematics D1 - A minimum of blind …...Decision Mathematics D1 Mark scheme. October 2014 test paper 1. Art (A) – 61 93 73 50 48 42 Biology (B) 61 – 114 82 83 63 58

5. (a) Bin 1: 31  10   19 M1 A1 A1      Bin 2: 38  12                    (3)Bin 3: 45Bin 4: 47Bin 5: 35Bin 6: 28

(b) e.g. middle right31    10     38     45    19    47    35      28    12                         Pivot  19 M131    38     45     47    35    28    19     10    12                         Pivots 47, 12 A147    31     38    45    35    28     19    12    10                         Pivots 45 (10)47    45    31     38    35    28    19     12    10                        Pivot 35  A1ft47    45    38    35    31    28    19     12    10                        Pivot 28 (38)47    45    38    35    31    28    19    12     10                    (sort complete) A1              (4)

Page 10: Decision Mathematics D1 - A minimum of blind …...Decision Mathematics D1 Mark scheme. October 2014 test paper 1. Art (A) – 61 93 73 50 48 42 Biology (B) 61 – 114 82 83 63 58

ANSWER BOOK

10

Page 11: Decision Mathematics D1 - A minimum of blind …...Decision Mathematics D1 Mark scheme. October 2014 test paper 1. Art (A) – 61 93 73 50 48 42 Biology (B) 61 – 114 82 83 63 58
Page 12: Decision Mathematics D1 - A minimum of blind …...Decision Mathematics D1 Mark scheme. October 2014 test paper 1. Art (A) – 61 93 73 50 48 42 Biology (B) 61 – 114 82 83 63 58

2

12

Page 13: Decision Mathematics D1 - A minimum of blind …...Decision Mathematics D1 Mark scheme. October 2014 test paper 1. Art (A) – 61 93 73 50 48 42 Biology (B) 61 – 114 82 83 63 58
Page 14: Decision Mathematics D1 - A minimum of blind …...Decision Mathematics D1 Mark scheme. October 2014 test paper 1. Art (A) – 61 93 73 50 48 42 Biology (B) 61 – 114 82 83 63 58

14

Page 15: Decision Mathematics D1 - A minimum of blind …...Decision Mathematics D1 Mark scheme. October 2014 test paper 1. Art (A) – 61 93 73 50 48 42 Biology (B) 61 – 114 82 83 63 58
Page 16: Decision Mathematics D1 - A minimum of blind …...Decision Mathematics D1 Mark scheme. October 2014 test paper 1. Art (A) – 61 93 73 50 48 42 Biology (B) 61 – 114 82 83 63 58

16

Page 17: Decision Mathematics D1 - A minimum of blind …...Decision Mathematics D1 Mark scheme. October 2014 test paper 1. Art (A) – 61 93 73 50 48 42 Biology (B) 61 – 114 82 83 63 58

4.

Page 18: Decision Mathematics D1 - A minimum of blind …...Decision Mathematics D1 Mark scheme. October 2014 test paper 1. Art (A) – 61 93 73 50 48 42 Biology (B) 61 – 114 82 83 63 58

18

Page 19: Decision Mathematics D1 - A minimum of blind …...Decision Mathematics D1 Mark scheme. October 2014 test paper 1. Art (A) – 61 93 73 50 48 42 Biology (B) 61 – 114 82 83 63 58

5

Page 20: Decision Mathematics D1 - A minimum of blind …...Decision Mathematics D1 Mark scheme. October 2014 test paper 1. Art (A) – 61 93 73 50 48 42 Biology (B) 61 – 114 82 83 63 58

Total 7 marks

20