Everyday Learning العربية
Computer scienceZeros and ones · Lesson 1 of 5 · 6 min

How does a computer count with only on and off?

Inside the chip there are billions of tiny switches, each either on or off. Put a few in a row and they can count.

In this lesson

Four bulbs counting up.

Your notebook page

  • Places: 1, 2, 4, 8…
  • n bits → 2ⁿ numbers
  • A byte = 8 bits
  • Byte: 0–255

Where you'll see it today

Light switches in your home, the "8-bit" in old games, a computer's memory chips.

The course

Zeros and ones

Every lesson adds a part. Finish them all to build the Binary clock.

  1. 1Counting with switchesHow does a computer count with only on and off?
  2. 2Screen coloursHow many colours can your screen show?
  3. 3Text message lengthWhy does an Arabic SMS fit fewer letters?
  4. 4Phone storageHow many photos fit on your phone?
  5. 5Build the binary clockCan you read a clock made of bulbs?
Open in the app Download on the App Store