Knowledge organisersVariables and Constants
Track value changes in code.
Tracing means following code line by line and recording the value of each variable after each statement. This is often done with a trace table.
x = 3
y = x + 2
x = y * 2
# Trace: x=3 → y=5 → x=10