AS June 2022 Q1
1.
| 55 | 44 | 34 | 59 | 28 | 37 | 41 | 52 | 33 | 42 | 47 |
The list of eleven numbers shown above is to be sorted into ascending order.


| Scheme | Marks | AO | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| M1 A1 A1ft A1 | 1.1b 1.1b 1.1b 1.1b | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| (4) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Notes
M1: Quick Sort, pivot, p, chosen (must be choosing middle right or middle left). After the first pass the list must read (values less than the pivot), pivot, (values greater than the pivot). If choosing one pivot per iteration then M1 only. This mark can be scored if one number only is either missing or incorrect or an additional number is added to the list.
A1: First two passes correct (pivots for third pass need not be chosen)
A1ft: Third and fourth passes correct (follow through from their second pass and choice of pivots) (pivot(s) for the fifth pass need not be chosen). After their second pass their list must contain either 10, 11 or 12 numbers (so allow one additional/missing number)
A1: cso – if choosing middle right pivots then they must include a fifth pass and if choosing middle left then they must include a sixth pass
SC: If list is sorted into descending order, then award a maximum of M1A1A0A0 (so 2 marks) as in the scheme above even if the list is re-ordered after the sort is complete
| Scheme | Marks | AO |
|---|---|---|
| DE, CF, CD, reject CE; BC, EG, reject FG; reject BD, AB, (reject AC, reject DG) | M1 A1 A1 | 1.1b 1.1b 1.1b |
| (3) |
Notes
M1: Kruskal: first three arcs correctly chosen (DE, CF, CD), and arc CE rejected at the correct time. No follow through from an incorrect list. Condone list of weights for this mark only (28, 33, 34 and reject 37)
A1: First five arcs correctly chosen (DE, CF, CD, BC, EG), and arc FG rejected at the correct time. Must state the arcs and not the corresponding weights for this mark
A1: cso including all rejections correct and at the correct time. We do not need to see the explicit rejection of arcs AC and DG but if these are explicitly rejected then they must be in the correct order. Note that a list of all the arcs in the correct order followed by a list of the arcs in the MST can score full marks
| Scheme | Marks | AO |
|---|---|---|
(i)![]() | B1 | 2.2a |
| (ii) (Total weight =) 230 | B1 | 2.2a |
| (2) | ||
| (9 marks) |
Notes
(i) B1: Correct MST drawn
(ii) B1: Correct weight
