NEW Explore the Scratch Block Dictionary, tutorials, textbook, and classroom guides

Start learning →

How Computers Count: Binary & 0/1 Switches

📌 What you will learn

Discover how numbers, text, and pixel art are represented with simple on/off (1 and 0) switches.

Lesson goal & core concept

Understand binary place values (1, 2, 4, 8, 16) through a hands-on Scratch experiment.

Just like decimal uses powers of 10, binary uses powers of 2—every switch is either 0 (off) or 1 (on).

Step-by-step practice

Work through these steps in the Scratch editor, predicting each result before clicking the green flag.

  • Make 4 clickable lamp sprites representing 8, 4, 2, and 1.
  • Toggle each lamp between 0 (off) and 1 (on).
  • Sum the active values to display any number from 0 to 15 live!

Mini challenge & next steps

Represent your age in binary using 5 clickable lamp sprites (16, 8, 4, 2, 1).

Scratch Learning Textbook Home Return to the full 4-stage curriculum overview. Learn more → Scratch Block Dictionary Look up any block used in this chapter. Learn more →

FAQ

How long should I spend on "How Computers Count: Binary & 0/1 Switches"?

Aim for 15–20 minutes: read the concept, test the small example, modify one value to see what changes, and try the mini challenge.

This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.