Let’s Find Out How Computers Work
🔍 Can we use Switches to Make a Choice!?
We now know that switches can turn electricity ON or OFF. That’s great for sending messages. But what if we want a machine to make a choice?
👉 What if we want to say, “If A is ON and B is ON, then turn the light ON”?
That’s where logic begins.
🧩 Logic Is Just Clear Rules
In real life, we make choices using logic every day:
-
“If it’s raining AND I forgot my umbrella, I’ll stay inside.”
-
“If I’m hungry OR it’s lunchtime, I’ll eat.”
Computers do the same thing—but using electricity.
They use logic switches to do this. These are tiny electric parts that follow exact rules.
⚙️ The Three Basic Logic Rules
-
AND – “Only turn ON if both are ON.”
-
OR – “Turn ON if one or both are ON.”
-
NOT – “Do the opposite. If it’s ON, turn OFF.”
Just these three rules let computers make choices, follow steps, and do math.
Finish Course Early?
You have not completed all required lessons and assessments.