The Secret Language of Computers: Binary Numbers
Did you ever wonder how a computer knows what to show on the screen or how a video game moves? The answer is hidden in a simple, yet powerful system called Binary. In this adventure you’ll learn what binary numbers are, why they matter, and even try a quick experiment yourself!
1. What Is Binary?
- Binary (pronounced “bye‑nah‑ree”) means two.
- In everyday life we count with ten symbols: 0‑9. That’s called Decimal (base‑10).
- Binary uses only Two Symbols: 0 and 1. Each symbol is called a Bit (short for binary digit).
Why Only 0 And 1?
Computers are made of tiny switches that can be either Off (0) or On (1). By arranging many switches together, they can represent huge amounts of information.
Cause And Effect: Because a computer can only sense “off” or “on”, it must use binary to store and process data.
Example: Counting to 5 in Binary
| Decimal (our usual numbers) | Binary (bits) |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 2 | 10 |
| 3 | 11 |
| 4 | 100 |
| 5 | 101 |
Notice how each new binary number adds a digit just like we add a new place when we reach 10, 100, 1000, etc.
2. Turning Numbers into Binary (and Back)
Converting Decimal → Binary
- Divide the decimal number by 2.
- Write Down the remainder (0 or 1).
- Keep The Quotient and repeat until it’s 0.
- Read The Remainders Backward – that’s the binary answer!
Example: Convert 13 to binary.
| Step | Quotient | Remainder |
|---|---|---|
| 13 ÷ 2 = 6 | 1 | |
| 6 ÷ 2 = 3 | 0 | |
| 3 ÷ 2 = 1 | 1 | |
| 1 ÷ 2 = 0 | 1 |
Read the remainders from bottom to top → 1101.
Converting Binary → Decimal
Add up each bit multiplied by its Place Value (1, 2, 4, 8, …).
Example: Binary 1010 = (1×8) + (0×4) + (1×2) + (0×1) = 10 in decimal.
3. Binary in Real Life
- Text: Every letter you type is turned into a binary code (e.g., the letter A is 01000001).
- Images: A picture is just a huge list of binary numbers that tell the computer the color of each tiny dot (pixel).
- Games: When you press a button, the console sends a binary signal to tell the game what to do.
Did You Know? The first computer program, written by Ada Lovelace in 1843, used binary‑like concepts long before electronic computers existed!
4. Mini Experiment: Build Your Own Binary Counter
What You Need
- 8 small paper cards
- A marker
Steps
- Write 0 on one side of each card and 1 on the other.
- Arrange the cards in a row. From left to right, label their place positions 7, 6, 5, 4, 3, 2, 1, 0 underneath.
- Start with every card showing 0:
00000000. This represents decimal 0. - To add 1, flip the rightmost card to 1:
00000001. - If a card already shows 1 when you add, flip it to 0 and carry to the card on its left, just as decimal addition carries to a new place.
- Keep counting and observe the pattern. Eight bits can represent unsigned values from 0 through 255.
5. Quiz
-
What Two Symbols Are Used In Binary?
a) 0 and 1 ✓
b) 2 and 3
c) A and B
d) X and Y -
What Does A Single Bit Represent?
a) A whole word
b) A picture
c) Either off (0) or on (1) ✓
d) A number from 0 to 9 -
What Decimal Number Does The Binary 101 Equal?
a) 3
b) 5 ✓
c) 6
d) 7