D1 June 2007 Q3
3. An algorithm is described by the flow chart shown in Figure 3.

(a) Given that \(x = 54\) and \(y = 63\), complete the table in the answer book to show the results obtained at each step when the algorithm is applied. (7)
(b) State what the algorithm achieves. (2)
| Scheme | Marks | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| M1 A1 A1ft M1 A1ft A1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| \(A = 3402\) | B1ft | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| (7) |
| Scheme | Marks |
|---|---|
| The product \(xy\). | B2, 1, 0 |
| (2) | |
| (9 marks) |