Ones and Zeros A song about binary numbers

Subject
Computer science
Genre
Electronic
Level
Ages 10–16
Length
1:24
Tempo
120 BPM

Sing it back

Can you finish the lyrics?

Eight quick questions on “Ones and Zeros”. No music, just your memory. Then share your score and challenge a friend.

Binary numbers in one paragraph

Binary is the base-2 number system computers use. Each digit (bit) is 0 or 1, and place values double from right to left: 1, 2, 4, 8, 16, 32, 64, 128. Eight bits make a byte, which can store 256 different values (0–255).

Key facts from the song

  • Binary place values double from right to left: 1, 2, 4, 8, 16, 32, 64, 128.
  • To convert to decimal, add the place values where the bit is 1: 1010 = 8 + 2 = 10.
  • Eight bits make one byte.
  • A byte stores 256 values, from 0 (00000000) to 255 (11111111).

Where it fits in your course

GCSE
GCSE Computer Science: Data representation
England
KS3

Lyrics

Verse 1

Computers only speak in on and off, one and zero

Each bit’s a little switch that’s either on or off, you know

Read from right to left and watch the place values double

One, two, four, eight, sixteen, counting with no trouble

Chorus

Ones and zeros, binary is base two

Every place is double the one before, it’s true

Eight bits make a byte, that’s the rule we know

Zero up to two-fifty-five, that’s how far it goes

Verse 2

Keep on doubling: thirty-two, sixty-four, one-twenty-eight

Now take one-zero-one-zero and let’s calculate

Add the places that are lit, and eight plus two makes ten

Eight ones make two-fifty-five, the biggest byte, my friend

Chorus

Ones and zeros, binary is base two

Every place is double the one before, it’s true

Eight bits make a byte, that’s the rule we know

Zero up to two-fifty-five, that’s how far it goes

Outro

Kilobyte, megabyte, gigabyte, it’s bits in the end

Ones and zeros, binary, the language that we send

Binary numbers flashcards

Say the answer out loud, then tap the card to check it. Or test yourself quick-fire.

  1. 1What number base is binary, and what digits does it use?

    Base 2; each digit, called a bit, is 0 or 1.

  2. 2What are the place values of an 8-bit binary number?

    1, 2, 4, 8, 16, 32, 64, 128, doubling from right to left.

  3. 3How many bits make one byte?

    Eight bits.

  4. 4What is the binary number 1010 in decimal?

    10, because 8 + 2 = 10.

Questions about binary numbers

Still wondering about something? Ask us and we’ll reply within two working days.

How do you convert binary to decimal?

Write the place values 1, 2, 4, 8 and so on from right to left, then add the values where the bit is 1. For example, 1010 is 8 + 2 = 10.

How many values can a byte hold?

A byte is 8 bits, so it can hold 2⁸ = 256 different values, from 0 to 255.

Welcome to BrainBeats

Sign in or create your free account

No password needed. Pick Google, or we’ll email you a sign-in link.

Continue with Google

or

Part of BrainBeats Plus

Unlock this song

Start your free week

7 days free, then $5.99/month billed yearly. Cancel anytime.

or

Play a free song