Question 1

Part 1(a) — solution
Mark points
- Include the ideas shown in the solution above.
Part 1(b)(i) — solution
Mark points
- Include the ideas shown in the solution above.
Part 1(b)(ii) — solution
- To terminate a (conditional) loop when a value has been found
- When the variable can take only one of two possible values
- (Accept by example): When a variable is recording when an action has
Mark points
- To terminate a (conditional) loop when a value has been found
- When the variable can take only one of two possible values
- (Accept by example): When a variable is recording when an action has
Part 1 — solution
Mark points
- Include the ideas shown in the solution above.
Part 1 — solution
Mark points
- Include the ideas shown in the solution above.
Part 1 — solution
Mark points
- Include the ideas shown in the solution above.
Part 1 — solution
Mark points
- Include the ideas shown in the solution above.
Part 1 — solution
Mark points
- Include the ideas shown in the solution above.
Part 1 — solution
Mark points
- Include the ideas shown in the solution above.
Part 1 — solution
Mark points
- Include the ideas shown in the solution above.







