Trace Tables

Question

Welcome to Trace Table Practice

Select a topic and question above to get started. You will be shown a code snippet and asked to complete a trace table by tracking the values of variables as the code executes.

How to use

  • Click any white cell in the trace table and type the value of that variable at that step.
  • Use Tab, Enter, or the arrow keys to move between cells.
  • You can enter values in any row — only the order within each column matters.
  • Click Check Answer to see which cells are correct (green) or wrong (red).
  • An Output column (if present) tracks what the program prints.

Exam board pseudocode

Use the Python / AQA / OCR / CIE chips to switch between Python and pseudocode in your exam board's style. Python questions are automatically converted when you select a board.