GCSE – Lesson 13 – Trace tables

Curriculum KS4 Unit Lesson

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