The language of 0 and 1

On or off

Inside a computer there are billions of tiny switches. A switch can only be two things: on or off. We write that as 1 and 0.

One of those 0s or 1s is called a bit. Eight bits together are called a byte.

Counting with lights

Every light has a value: 128, 64, 32, 16, 8, 4, 2 and 1. You add up the lights that are on.

So 00000101 is 4 + 1 = 5.

Your turn: make the number

Tap the lights until you have the right number.

Letters are numbers too

The computer has a list where every letter has a number. A is 65 and B is 66.

So when you type the letter A, the computer stores 01000001. Photos, music and videos work like this too: they are all just lots and lots of numbers.

Quiz: question 1 of 4

How many bits are there in a byte?

Quiz: question 2 of 4

What is 00000011 in normal numbers?

Quiz: question 3 of 4

Why do computers use 0 and 1?

Quiz: question 4 of 4

How does a computer store the letter A?

Bit boss