Code / Block Coding Jr. / Unit 5: Boxes that remember: variables

Level 17 · The steps box लेवल 17 · क़दमों का डिब्बा

Lesson 17 of 20 · about 6 minutes · Meet a variable called “steps”.

⚡ 0 XP

Step 1 of 1

Level 17 · The steps box

"Pune"city

A variable is a labelled box that holds a number. Dabbu reads the box whenever a block uses it.

Change the number in one place and every block that reads it changes too.

🎯 Challenge: Level 17 · The steps box +25 XP

Meet a variable called “steps”. Set it to 5, then “move steps squares” — twice, with a turn in between.

Try twice to unlock the solution (0/2)

Loading blocks…
Lesson notes (text version)

1. Level 17 · The steps box

A variable is a labelled box that holds a number. Dabbu reads the box whenever a block uses it.

Change the number in one place and every block that reads it changes too.

Challenge: Level 17 · The steps box

Meet a variable called “steps”. Set it to 5, then “move steps squares” — twice, with a turn in between.

Search by task, format or tool name.