D1 January 2013 Q1
1.

Hero’s algorithm for finding a square root is described by the flow chart shown in Figure 1.
Given that \(N = 72\) and \(E = 8\),
The flow chart is used with \(N = 72\) and \(E = -8\),
| Scheme | Marks | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| M1 A1 A1 | ||||||||||||||||||||
| Output is R = 8.485 281 4 | A1ft | ||||||||||||||||||||
| (4) |
Notes
a1M1 At least two rows of cells in just E and R completed.
a1A1 CAO first two rows correct giving exact values or awrt 7dp (the exact second value for R is \(\frac{577}{68}\)).
a2A1 CAO third and fourth rows awrt 7dp
a3A1ft Output for R must follow through from their final value for R awrt 7dp – candidate must have answered ‘yes’ to score this mark. Output either on the answer line (or on the second page) or stated in the table but must be in the column for R below the row which contains ‘yes’.
Condone N = 72 on each row and entries appearing on separate rows throughout for full marks. Allow e.g. ticks/crosses etc. for yes/no.
| Scheme | Marks |
|---|---|
| We would get a negative output for R/ We would get the negative square root | B1 |
| (1) |
Notes
b1B1 Mention of ‘negative’ scores B1 however do not accept incorrect statements but bod that ‘negative’ only is implicitly describing the effect on the output. Accept ‘other square root’.
| Scheme | Marks |
|---|---|
| E cannot be zero | B1 |
| (1) | |
| (6 marks) |
Notes
c1B1 CAO (nothing/null etc. scores B0). Condone E = 0.