How to run it in class
15 min- 1Step throughFill in the first row of the table together.
- 2Finish itStudents fill in the rest.
- 3Run to checkPress Run and compare.
Why it works
Filling in a trace table shows what happens at each step of a loop. Running the code to check gives instant feedback.
Ideas to adapt it
- Trace a loop with an if inside.
- Trace a while loop.
- Find a bug by tracing.
Questions
How long does it take?
About 15 minutes. It stays saved in your lesson, so you can come back to it next time.
Can I use it with one student?
Yes. Change the loop and trace it again.
Do students need an account?
No. Go live and share the link or the code. Students join from any device with nothing to install, and you can give each of them their own copy.
Is this starter free?
Yes. Open it, change anything and teach with it on the free plan, which has every feature and live lessons with up to 5 students. Try it first needs no account.
More coding starters
See all
Change one thing
Edit the code to make it do something new
Use this starter
Decisions with if
Guess what prints for each score
Use this starter
Find the bug
Code that gives the wrong answer
Use this starter



