5 questions0m 0s
Learn the skill
These sheets use pseudocode: readable instructions, not a particular programming language. SET score TO 2 gives score the value 2. SET score TO score + 3 reads the old value first, then replaces it. SHOW displays the current value without changing it.
Worked example
Trace SET score TO 2; SET score TO score + 3; SHOW score. The values are 2 then 5, and the display shows 5. A variable is a name for a value, not the printed word itself.