D1 January 2011 Q2
2.
23 29 11 34 10 14 35 17
The numbers represent the sizes, in megabytes (MB), of eight files.
The files are to be stored on 50 MB discs.
| Scheme | Marks |
|---|---|
| Lower bound = \(\dfrac{173}{50} = 3.46\) so 4 bins | B1 B1 |
| (2) |
Notes
1M1= 1B1: Cao 4
1A1= 2B1: either (173 ± 20) ÷50 or 3<answer<4 seen.
| Scheme | Marks |
|---|---|
| Bin 1: 23 + 11 + 10 Bin 4: 35 Bin 2: 29 + 14 Bin 5: 17 Bin 3: 34 | M1 A1 A1 |
| (3) |
Notes
1M1: First four items placed correctly and at least 6 values put in bins
1A1: Bin 1 correct (condone cumulative totals)
2A1: All correct (condone cumulative totals)
| Scheme | Marks | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e.g.
| M1 A1 A1ft A1cso | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| (4) |
Notes
1M1: Bubble sort, one pass complete end term 35 or 10, consistent direction.
1A1: First two passes correct
2A1ft: Next two passes correct
3A1: cso + ‘final’ or re-listing etc.
Alt (c)
| 23 | 29 | 11 | 34 | 10 | 14 | 35 | 17 | |
| 35 | 23 | 29 | 11 | 34 | 10 | 14 | 17 | |
| 35 | 34 | 23 | 29 | 11 | 17 | 10 | 14 | A1 |
| 35 | 34 | 29 | 23 | 17 | 11 | 14 | 10 | |
| 35 | 34 | 29 | 23 | 17 | 14 | 11 | 10 | A1ft |
Misread for Q2(c)
Sorting into ascending order
If list reversed into descending order at end, allow full marks
(i) Left to right
| 23 | 29 | 11 | 34 | 10 | 14 | 35 | 17 | |
| 23 | 11 | 29 | 10 | 14 | 34 | 17 | 35 | |
| 11 | 23 | 10 | 14 | 29 | 17 | 34 | 35 | A1 |
| 11 | 10 | 14 | 23 | 17 | 29 | 34 | 35 | |
| 10 | 11 | 14 | 17 | 23 | 29 | 34 | 35 | A1ft List in order |
(ii) right to left
| 23 | 29 | 11 | 34 | 10 | 14 | 35 | 17 | |
| 10 | 23 | 29 | 11 | 34 | 14 | 17 | 35 | |
| 10 | 11 | 23 | 29 | 14 | 34 | 17 | 35 | A1 |
| 10 | 11 | 14 | 23 | 29 | 17 | 34 | 35 | |
| 10 | 11 | 14 | 17 | 23 | 29 | 34 | 35 | A1ft List in order |
If list not reversed remove last 2A if earned
Numbers changing during the course of the sort
- If the number change does not alter the sort (e.g. 23 becomes 25) remove final A only. If persists in (d) but does not affect answer similarly remove final A only in (d).
- If the number alters the sort (e.g 23 becomes 32) mark as a misread in (c) and if persists in (d) mark (c) and (d) together as a misread – so just take 2 marks off in total for these two sections.
| Scheme | Marks |
|---|---|
| Bin 1: 35 + 14 Bin 3: 29 + 17 Bin 2: 34 + 11 Bin 4: 23 + 10 | M1 A1 A1cso |
| (3) | |
| (12 marks) |
Notes
1M1: Bin 3 correct and at least 6 values put in bins
1A1: two bins correct (condone cumulative totals)
2A1: cso (condone cumulative totals)