Logic Gate Playground
- Math
Comments
Related to this simulation
Picked by meaning from games, worksheets, simulations, teacher tools and videos.
About this simulation
Students click switches A and B between 0 and 1 and see the output of the chosen gate. Wires glow green for 1 and stay dark for 0, and the truth table highlights the row matching the current inputs. Clicking the gate tile or pressing Next gate changes the gate, and a reset button returns the switches. Readouts show the inputs, output and gate name. The sim builds the link between binary values and simple rules such as AND needs both inputs on and XOR needs exactly one. It also introduces the half adder made from XOR and AND. Teachers can ask students to predict outputs before flipping.
What students can explore
- Click switch A and switch B through all four combinations and compare the output with the truth table.
- Click the gate tile to change from AND to OR and note which input patterns change.
- Find the gate where the output is 1 only when the inputs differ (XOR).
- Compare AND with NAND and describe how their outputs are opposites.
- Use the Glowing wires toggle and Reset switches to repeat your tests.
Learning objectives
- 1Describe the behaviour of AND, OR, XOR and NAND gates.
- 2Complete a truth table for a two-input gate.
- 3Predict a gate's output from its inputs.
- 4Explain how XOR and AND combine to add two bits in a half adder.
Questions teachers ask
Is it free to use?
Yes. It is completely free, needs no sign-up, and runs in any modern browser, including classroom whiteboards, tablets and phones. Just open the page and start.
What does an XOR gate do?
XOR gives 1 only when its two inputs are different. If both inputs are 0 or both are 1 the output is 0. In a half adder it provides the sum bit, while AND provides the carry.
How do I change the inputs and gate?
Click switches A and B to flip them between 0 and 1, and click the gate tile, or press Next gate, to change the gate type. The highlighted truth table row shows the current setting.
What is a NAND gate?
NAND is the opposite of AND: it outputs 0 only when both inputs are 1 and outputs 1 in every other case. NAND gates are so useful that any digital circuit can be built from them.
Embed this simulation
Drop it into your LMS, blog, or class site — free.
<iframe src="https://kiwibee.io/en/simulations/logic-gate-playground-3d-simulation/embed" title="Logic Gate Playground | KiwiBee" loading="lazy" allowfullscreen style="width:100%;height:min(70vh,620px);min-height:420px;border:0;border-radius:16px"></iframe>Bring interactive science into your classroom
KiwiBee's free teacher workspace brings lesson planning, worksheets, classroom tools, and gradebook together in one place.
Start free and create your first classWatch KiwiBee on YouTube
Short KiwiBee videos for teachers and schools. Subscribe, or follow KiwiBee wherever you are.
