← Back to Age 9
Age 9 • Lesson 2 • Logic Gates

Logic Gate Door Puzzle

Open magic doors using AND, OR, and NOT logic. Turn switches on or off, test your answer, and unlock the final badge.

🚪 Puzzle Doors

⬜ Open the AND door
⬜ Open the OR door
⬜ Open the NOT door
Door 1: AND Gate
A AND B must be true
🔒
Turn on both switches to open the AND door.
Choose the switch values, then test the logic.
🏅 Badge earned: Logic Door Master!

🧠 Logic Concept

A logic gate is like a small decision rule. It checks true or false conditions and decides whether something should happen.

AND: true only when both A and B are ON.
OR: true when A or B is ON.
NOT: flips the answer. ON becomes false, OFF becomes true.

In real coding, logic gates help games, apps, and robots make decisions:

If player has key AND reaches door → open door.
If battery low OR signal lost → show warning.
If player is NOT ready → do not start.