Variable State Lab

Track named values through a program, predict final state, and debug a command that updates the wrong variable.

Grade 5 Β· CMP-0012 / CMP-0011 Β· no voice

Initial state

Command bank

State-changing program

Build a program and predict both final variable values.

State timeline

StepCommand
No program run yet.

A variable is a named place for a value that can change. Updating one variable does not automatically change another.

βŒ‚ Orco Academy