D1 January 2010 Q4
4. A builder is asked to replace the guttering on a house. The lengths needed, in metres, are
0.6, 4.0, 2.5, 3.2, 0.5, 2.6, 0.4, 0.3, 4.0 and 1.0
Guttering is sold in 4 m lengths.
| Scheme | Marks | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| M1 A1 A1ft A1ft A1 cso | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| (5) |
Notes
1M1 Pivot, p, chosen. List sorted, >p, p. <p or <p, p, >p. If only choosing 1 pivot per iteration M1 only
1A1 1st pass correct and chosen next two pivots correctly for sublists >1
2A1ft 2nd pass correct and chosen next two pivots correctly for sublists >1
3A1ft 3rd pass correct and next pivot for sublist >1 chosen correctly.
4A1 cso.
Misread in part (a)
- If they have misread a number at the start of part (a), so genuinely miscopied and got for example 0.1 instead of 1.0 then mark the whole question as a misread – removing the last two A or B marks earned. This gives a maximum total of 9.
- If they misread their own numbers during the course of part (a) then count it as an error in part (a) but mark parts (b) and (c) as a misread. So they would lose marks in (a) for the error and then the last two A or B marks earned in (b) and (c) - giving a maximum of 8 or maybe 7 marks depending on how many marks they lose in (a).
The most popular misread is the one listed above – where 1.0 has changed to 0.1 giving
4.0 4.0 3.2 2.6 2.5 0.6 0.5 0.4 0.3 0.1 at the end of (a) for this one (b) and (c) are:
(b) Length 1: 4
Length 2: 4
Length 3: 3.2 0.6 0.1
Length 4: 2.6 0.5 0.4 0.3
Length 5: 2.5
(c) 18.2/4 = 4.55 so 5 bins, or total is 18.2 or 1.8 ‘spare’
Yes answer in (b) uses the minimum number of bins.
Alternate solutions for Question 4
Choosing middle left
| 0.6 | 4.0 | 2.5 | 3.2 | 0.5 | 2.6 | 0.4 | 0.3 | 4.0 | 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.5, 0.4) |
| 4.0 | 4.0 | 3.2 | 2.6 | 2.5 | 1.0 | 0.6 | 0.5 | 0.4 | 0.3 | (pivots 3.2) |
| 4.0 | 4.0 | 3.2 | 2.6 | 2.5 | 1.0 | 0.6 | 0.5 | 0.4 | 0.3 | |
| 4.0 | 4.0 | 3.2 | 2.6 | 2.5 | 1.0 | 0.6 | 0.5 | 0.4 | 0.3 |
Question 4 sorting into ASCENDING order (full marks if then reversed, otherwise MISREAD)
Middle left
| 0.6 | 4.0 | 2.5 | 3.2 | 0.5 | 2.6 | 0.4 | 0.3 | 4.0 | 1.0 | (pivot 0.5) |
| 0.4 | 0.3 | 0.5 | 0.6 | 4.0 | 2.5 | 3.2 | 2.6 | 4.0 | 1.0 | (pivot 0.4, 3.2) |
| 0.3 | 0.4 | 0.5 | 0.6 | 2.5 | 2.6 | 1.0 | 3.2 | 4.0 | 4.0 | (pivot 2.5, 4.0) |
| 0.3 | 0.4 | 0.5 | 0.6 | 1.0 | 2.5 | 2.6 | 3.2 | 4.0 | 4.0 | (pivot 0.6) |
| 0.3 | 0.4 | 0.5 | 0.6 | 1.0 | 2.5 | 2.6 | 3.2 | 4.0 | 4.0 |
Middle right
| 0.6 | 4.0 | 2.5 | 3.2 | 0.5 | 2.6 | 0.4 | 0.3 | 4.0 | 1.0 | (pivot 2.6) |
| 0.6 | 2.5 | 0.5 | 0.4 | 0.3 | 1.0 | 2.6 | 4.0 | 3.2 | 4.0 | (pivot 0.4, 3.2) |
| 0.3 | 0.4 | 0.6 | 2.5 | 0.5 | 1.0 | 2.6 | 3.2 | 4.0 | 4.0 | (pivot 0.5, 4.0) |
| 0.3 | 0.4 | 0.5 | 0.6 | 2.5 | 1.0 | 2.6 | 3.2 | 4.0 | 4.0 | (pivot 2.5) |
| 0.3 | 0.4 | 0.5 | 0.6 | 1.0 | 2.5 | 2.6 | 3.2 | 4.0 | 4.0 | (pivot 1.0) |
First (1)
| 0.6 | 4.0 | 2.5 | 3.2 | 0.5 | 2.6 | 0.4 | 0.3 | 4.0 | 1.0 | (pivot 0.6) |
| 0.5 | 0.4 | 0.3 | 0.6 | 4.0 | 2.5 | 3.2 | 2.6 | 4.0 | 1.0 | (pivot 0.5, 4.0) |
| 0.4 | 0.3 | 0.5 | 0.6 | 2.5 | 3.2 | 2.6 | 1.0 | 4.0 | 4.0 | (pivots 0.4, 2.5) |
| 0.3 | 0.4 | 0.5 | 0.6 | 1.0 | 2.5 | 3.2 | 2.6 | 4.0 | 4.0 | (pivots 3.2) |
| 0.3 | 0.4 | 0.5 | 0.6 | 1.0 | 2.5 | 2.6 | 3.2 | 4.0 | 4.0 |
First (2)
| 0.6 | 4.0 | 2.5 | 3.2 | 0.5 | 2.6 | 0.4 | 0.3 | 4.0 | 1.0 | (pivot 0.6) |
| 0.5 | 0.4 | 0.3 | 0.6 | 4.0 | 2.5 | 3.2 | 2.6 | 4.0 | 1.0 | (pivot 0.5, 4.0) |
| 0.4 | 0.3 | 0.5 | 0.6 | 2.5 | 3.2 | 2.6 | 1.0 | 4.0 | 4.0 | (pivots 0.4, 2.5) |
| 0.3 | 0.4 | 0.5 | 0.6 | 1.0 | 2.5 | 3.2 | 2.6 | 4.0 | 4.0 | (pivots 3.2) |
| 0.3 | 0.4 | 0.5 | 0.6 | 1.0 | 2.5 | 2.6 | 3.2 | 4.0 | 4.0 |
| Scheme | Marks |
|---|---|
| Length 1: 4 Length 2: 4 Length 3: 3.2 0.6 | M1 |
| Length 4: 2.6 1.0 0.4 | A1 |
| Length 5: 2.5 0.5 0.3 | A1 |
| A1 | |
| (4) |
Notes
M1 left column & 1.0 in place
A1 0.6 & 0.5
A1 0.4
A1 All correct (c.s.o)
| Scheme | Marks |
|---|---|
| 19.1/4 = 4.775 so 5 lengths needed, accept total is 19.1m, or refer to 0.9 ‘spare . | B1 |
| Yes, the answer to (b) does use the minimum number of bins. | DB1 |
| (2) | |
| (11 marks) |