301.3 Variables and Constants
Practise exam questionsVariables and Constants — Note 3 of 4
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=10Back to Variables and Constants
Specification notes for programming are in Paper 2.