Logic Gates
Build logic circuits from switches, lamps and AND, OR, NOT, XOR, NAND and NOR gates; the app shows the truth table and the logical expression.
Free, runs in the browser, no sign-in or installation.
- Subject
- Computer Science
- Area
- Logic
- Level
- Primary and secondary school
What you can do
- Add switches, gates and lamps from the tray, connect them by dragging wires, and flip the switches to see which lamps light up.
- The truth table (for up to five switches) and the logical expression for each lamp update as you build the circuit.
- Type a logical expression and the app builds the circuit, or type two expressions and check whether they are equivalent.
- Solve eight tasks with checking and solutions, including a half adder, a full adder, a majority vote and circuits from NAND gates only.
- Choose ANSI or IEC gate symbols, show expressions with ∧ ∨ ¬, in words or in Boolean notation, and download the circuit as a PNG.
Worksheets and lessons
Lessons with worksheets that use this app.
More apps: Computer Science
Binary CardsDot cards: binary, counting and overflow.
Binary NumbersBinary and decimal: a table, converting and practice.
Pixels and ColoursPixel pictures, RGB colours and letters in ASCII and UTF-8.
Binary AdditionAdding binary numbers in columns, step by step.
Two's ComplementNegative numbers in a computer: the number circle, converting and overflow.
