Everything you need before the bell rings
Learning Objectives
Students will be able to…
- ✓Explain what a variable is.
- ✓Match a variable to what it holds.
- ✓Change a value.
- ✓Use a variable in a program.
How does a program remember information while it runs?
Match the Variable to What It Holds
Project this and match each variable to what it holds — tap the variable, then tap the value.
45 minutes, five moves
Tap any phase to open the teacher moves and student actions.
Hook — A Box That Remembers
How does a game remember your score?
👩🏫 Teacher Moves
- Show a score going up.
- Ask how it remembers.
- Set the goal.
🎒 Student Actions
- Watch.
- Guess.
- Get ready.
Use — Variables
Students use the idea.
👩🏫 Teacher Moves
- Send students to Match the Variable.
- Match each one.
- Note a variable holds a value.
🎒 Student Actions
- Match.
- Say.
- Note it.
Modify — Change the Value
Students modify.
👩🏫 Teacher Moves
- Set score to 0, then add 1.
- Lower lives by 1.
- See what changed.
🎒 Student Actions
- Set.
- Lower.
- See it.
Create — Use a Variable
Students create.
👩🏫 Teacher Moves
- Name a variable (coins).
- Give it a starting value.
- Change it in a step.
🎒 Student Actions
- Name.
- Set.
- Change.
Reflect — Reflect
Students close.
👩🏫 Teacher Moves
- Say what a variable is.
- Name a value one could hold.
- Complete the exit ticket.
🎒 Student Actions
- Say it.
- Name one.
- Complete the exit ticket.
Built to the standards you report on
Aligned to the CSTA K-12 Computer Science Standards and the ISTE Standards for Students.
Create programs that use variables to store and modify data.
Create programs with sequences, events, loops & conditionals.
Decompose a problem into smaller parts.
Represent and use data.
One lesson, every learner
Multilingual Learners
- Label real boxes.
- Frame: “___ holds ___.”
- Pair talk first.
Support & Access
- Start with score only.
- Use a counter.
- One change at a time.
Stretch & Extend
- Use two variables together.
- Change a value in code.
- Compare number vs text.
What to gather
- 📽️Screen / board
- 📦Labeled boxes
- 💻Match the Variable
- 🎮Scratch or paper code
- 📓Notebooks
- 🎫Exit-ticket slips
Key terms — hover for a quick definition
Exit Ticket
Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students.
Reflect: variables.
Have students name a variable a game needs and what it holds. A printable variables worksheet is in the Computer Science library.
Study the key terms
Tap a card to flip it, then rate whether you knew it. Built from this lesson’s vocabulary.
Nice work!
Check your understanding
A quick self-check with instant feedback, drawn from this lesson’s key terms.
Nice work!
Printable worksheet
A print-and-go review sheet with a built-in answer key. Tap “Show answer key” to reveal answers, or print the clean version for students.
Part A · Write the word that matches each meaning
- what is inside the box
- a number variable in games
- a labeled box that holds a value
- put a value in a variable
- letters and words
- keep a value while the program runs
- update what a variable holds
- a value you can count with
Part B · Show what you learned
- What is a variable?
- What does a “lives” variable hold?
- What happens to “score” after you win a point?
Part B: 1) A labeled box that holds a value. 2) How many tries are left. 3) It goes up by 1.