7 · Lesson 7 of 8

Trace tables

Syllabus 7.7Syllabus 7.8

What this lesson covers

  • Complete a trace table to dry-run an algorithm
  • Identify errors in algorithms and suggest corrections

Key vocabulary

Trace table
A table recording the values of variables and outputs at each step of a dry run.
Dry run
Working through an algorithm by hand, step by step, with test data.
Rogue value
A special value that stops an input loop, such as −1 or 999.

Check your learning

  • Quick check: 4 questions
  • Key vocabulary test: 3 terms
  • Activity 1: Which values? · 5 questions
  • Activity 2: Trace tables quiz · 6 questions
  • Activity 3: Doing a dry run · drag and drop
Loading Bits of Bytes…