🚦 The three magic words
Why: Wire AND / OR / NOT gates and light the bulb.
Unlocks: Recipes — thinking in steps like a computer.
Storing numbers is nice, but a computer also decides things: show this notification or not? Is the password right? Is the alien hit by the laser?
Every decision it will ever make — every single one — is built from just three words:
AND — true only if both things are true. "I'll take an umbrella if it's raining AND I'm going out."
OR — true if at least one is true. "Dessert if it's my birthday OR it's Friday."
NOT — flips it. "Play outside if it's NOT raining."
You already use all three every day. Now use them the way a machine does — wire up some circuits:
AND only lights up when BOTH switches are on. Light the bulb!
From three words to a whole computer
Here's the jaw-dropping part: those little switch-and-bulb circuits are real. A processor is nothing more than billions of AND, OR and NOT circuits etched into a fingernail of silicon, wired so cleverly that together they can add numbers, compare them, and follow your instructions. There is no fourth ingredient. You have now seen everything a CPU is made of.
A security door opens when: badge AND fingerprint. You have your badge but forgot to scan your finger. What happens?