Course Content
Part 1: What Does the CPU Really Do?
What Is a CPU and Why Is It So Important? The Difference Between RAM, Storage, and the CPU What Happens When You Click a Button on Your Computer?
0/4
Part 5: How the CPU Talks to Memory and Storage
This part will explain how the CPU and memory are like two people trying to talk across a busy room — and why the CPU needs clever helpers like RAM and cache instead of going straight to the hard drive.
0/4
Part 6: Paths and Highways: How CPUs Talk to Everything
So far, we’ve learned how the CPU works with RAM, cache, and storage. But the CPU doesn’t live alone — it has to talk to memory, graphics cards, USB sticks, and more.
0/4
How Computers Think: Inside the CPU

🔍 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

  1. AND – “Only turn ON if both are ON.”

  2. OR – “Turn ON if one or both are ON.”

  3. NOT – “Do the opposite. If it’s ON, turn OFF.”

Just these three rules let computers make choices, follow steps, and do math.

 

0% Complete