← Back to Games

⚡ Logic Gate Lab

Explore AND, OR, NOT gates and build circuits!

AND Gate
OR Gate
NOT Gate
🔧 Build Circuits

⚡ AND Gate

The AND gate outputs 1 only when ALL inputs are 1.
Think of it like: "Is input A on AND input B on?"

A
B
AND
0
Q

Boolean Expression

A AND B = 0

📊 Truth Table

ABQ
000
010
100
111

⚡ OR Gate

The OR gate outputs 1 when ANY input is 1.
Think of it like: "Is input A on OR input B on (or both)?"

A
B
OR
0
Q

Boolean Expression

A OR B = 0

📊 Truth Table

ABQ
000
011
101
111

⚡ NOT Gate (Inverter)

The NOT gate inverts the input - it outputs the opposite value.
If input is 1, output is 0. If input is 0, output is 1.

A
NOT
1
Q

Boolean Expression

NOT A = 1

📊 Truth Table

AQ
01
10

🔧 Circuit Challenges

Challenge 1:

Build a circuit where Q = 1 only when A = 1 AND B = 1

Inputs
A
B
Gate 1
?
Output
?
Q