Code Crew G3 / Week 04 / Crew Quest
6/6
Week 04 · Variables

Crew Quest

// Boxes that hold things

Week 4 Recap

  1. VARIABLE = box with a NAME that holds a VALUE.
  2. score = score + 1 means 'put the new total back in the box'.
  3. Good NAMES make code easy to read.
Try This Without Paper
1. Pick a 'mood variable' for the day. Update it after dinner.
2. Track how many pages you read this week; that's a variable.
3. Help count groceries into bags. Each bag is a variable.

Coming up next…

Week 5: FUNCTIONS. Give a group of steps a name and reuse them.

← Friday