Electrical & Computer

Logic Gate Lab

Digital logic you can poke. Click the inputs A, B and C to flip them, cycle each gate through AND / OR / XOR / NAND / NOR / XNOR (shown in IEC notation), and watch the wires light up with their signal. The 8-row truth table fills in and highlights your current input combination — so the gate ↔ table mapping finally clicks.

1A0B1C&≥11
out = (A AND B) OR C

Truth table

ABCOut
0000
0011
0100
0111
1000
1011
1101
1111

Click A, B or C in the diagram to toggle inputs; the highlighted row is your current state. Cycle each gate to compare logic.

How to use this simulation

Digital logic you can poke. Click the inputs A, B and C to flip them, cycle each gate through AND / OR / XOR / NAND / NOR / XNOR (shown in IEC notation), and watch the wires light up with their signal. The 8-row truth table fills in and highlights your current input combination — so the gate ↔ table mapping finally clicks.

Everything runs in your browser — no sign-up, no download. Change a value and the result updates instantly, so you can build a feel for how each input shapes the outcome. It pairs with Crameleon's practice exams and step sheets when you want to go from intuition to working the problems.