Code Crew G3 / Week 04 / Monday
1/6
Week 04 Β· Variables

Monday

// Boxes that hold things

Monday: Meet the Idea

ROCKET keeps a box on the desk labeled SCORE. Right now it holds the number 0. When Rocket scores a goal, the box changes to 1. Then 2. Then 3. The box has the SAME NAME but a DIFFERENT VALUE. That box is a VARIABLE.

Big Idea
VARIABLE = a box with a NAME.
The VALUE inside can change.
The name stays the same.

Quick Try

Pick a name for a box. Pick a starting value.

name = __________ value = __________
After 5 minutes I want value = __________