0️⃣ What Is Binary Code?
5th Grade 🤖 Coding & AI
Binary is a way to write numbers using only 0 and 1. Computers store everything — words, pictures, music — in binary.
On and off
Inside a computer are billions of tiny switches that are either off (0) or on (1). Each 0 or 1 is a bit. Eight bits make a byte.
Counting in binary
In binary, each place is worth double the one to its right: 1, 2, 4, 8, 16… So 1 = 1, 10 = 2, 11 = 3, 100 = 4 and 101 = 5.
Letters too
Every letter has a number code. Capital A is 65, which is 01000001 in binary. Your name is a string of 0s and 1s to a computer!
Quick quiz
Which digits does binary use?
How many bits make a byte?
What number is 11 in binary?