Ages 10–12 · Foundation
Loop trace
Apply iteration to justify a solution to the loop trace task.
Understand the idea
Iteration must make progress while processing the intended values.
Your challenge
x=1; while x<10: x=x*2. Final x?
- 16
- 8
- 10
How to explore
- Identify the inputs, goal or constraint in this iteration situation.
- Work through the stated rule or operation without adding assumptions.
- Check your proposed response against every relevant detail in the question.
Open the activity to work with its controls and check your reasoning. Progress stays in this browser.
Keep exploring
DON’T LET THE QUESTION END HEREGive that curiosity
Open the learning space