GCSE Computer Science (Eduqas)

Topic Summaries

ALGORITHMS AND PROGRAMMING: Designing, creating, and refining algorithms

Trace tables

  • Trace tables are tools used to manually follow the steps of an algorithm and track the value of variables at each stage.
  • They are useful in spotting logical errors and understanding how an algorithm works.

x = 0

FOR i = 1 TO 3

x = x + i

NEXT i

OUTPUT x

i x
1 1
2 3
3 6
Final output: 6

Unlock Trace tables

Sign up to unlock the rest of this topic — plus every other topic, video, flashcard set and eBook guide in your SnapRevise Digital subscription.

Cancel anytime — instant access the moment you sign up.