Binary code is the language of computers. It uses just two numbers: 0 and 1. Every piece of information inside a computer is made up of these two numbers!
💡 Fun Fact: The word "binary" means "two parts" — just 0 and 1!
🖥️ Why do computers use binary?
Computers are electronic machines. They can detect if electricity is ON or OFF. We use:
⚡ 1 = Electricity is ON
🛑 0 = Electricity is OFF
That's why computers love using 0s and 1s. It's simple and fast!
🔢 How do we represent numbers?
Binary numbers work differently from the numbers we use every day (0-9). For example:
Decimal 1 = Binary 1
Decimal 2 = Binary 10
Decimal 3 = Binary 11
Decimal 4 = Binary 100
💡 Tip: Each time you move to the next binary place, it doubles! (1, 2, 4, 8, 16...)
💬 Letters and words in binary
Computers also use binary to represent letters! For example:
Letter A = 01000001
Letter B = 01000010
Letter C = 01000011
So when you type "ABC," the computer sees a long string of 0s and 1s!
🎮 Fun example
Let's say you want to write the word "Hi" in binary:
H = 01001000
i = 01101001
Pretty cool, right?
🎯 Quiz
To complete this lesson, you must get at least 80% correct. Good luck!
🧠 What should you remember?
🔢 Binary uses only 0s and 1s
⚡ 1 means ON, 0 means OFF
💬 Letters are also made of binary
🎯 Computers can do amazing things with just two numbers!