GCSE – Lesson 13 – Trace tables
This lesson has been designed to deepen learners’ understanding of a while loop whilst introducing trace tables. Learners will be given an example of how to use a trace table, then they will be given various loops to trace. Trace tables are a valuable part of programming because they allow learners to walk through code and detect errors.
Learning objectives
- Use a trace table to walkthrough code that uses a while loop
- Use a trace table to detect and correct errors in programs
Package contents
- Lesson plans
- Slide decks
- Learner resources
- Homework
Don't have an account?
GCSE revision
A comprehensive range of content and helpful practice questions are also available for this topic.
View on Ada Computer ScienceEnjoyed teaching these lessons? Found a mistake?
Fill in a short form to give feedback on these resources.