Paper 3: Multi-step loop problems
Chapter practice with ten items, answers and a one-line note for each, about 25 minutes.
| Item | Detail |
|---|---|
| Questions | 10 |
| Suggested time | 25 |
| Difficulty mix | Foundation 4 · Intermediate 2 · Challenge 2 · Error redo 2 |
| Chapter | Chapter: Programming basics: variables and loops |
| Level | Challenge |
| # | Answer | One-line note |
|---|---|---|
| 1 | 33 | 100 divided by 3 and rounded down gives 33. |
| 2 | 5,050 | Pairs of 1 plus 100 give 101, and 50 such pairs make 5,050. |
| 3 | 120 | 1 times 2 times 3 times 4 times 5 gives 120. |
| 4 | 12 times | Three outer passes times four inner passes gives 12. |
| 5 | 90 | 2 plus 4 up to 18 adds to 90. |
| 6 | 123 | Floor division by 10 removes the last digit. |
| 7 | 225.0 | A ten percent discount multiplies by 0.9, giving 225.0. |
| 8 | 80.0 | The total 240 over three subjects gives 80.0. |
| 9 | 13 | The sequence runs 1, 1, 2, 3, 5, 8 and 13, so b is 13. |
| 10 | The condition stays true and the loop never ends | The variable used by the condition must be updated inside the body. |
Want the whole chapter? See all four difficulty papers on the chapter page.Tutor Registration →
Questions and answers are written originally by the TutorZone team and are not taken from any school, publisher or examination authority paper. Every value is checked by computer.

