Français

Learn logic gates

One page per gate, with the truth table, real-life examples and a circuit to play. Use them to revise before a test, prepare a lesson or simply see what goes on inside a chip. Each page ends with 4 questions.

Exercises on every page (needs JavaScript).

The pages of the course

The AND gate

The AND gate outputs 1 only if all its inputs are 1. Truth table, symbols, everyday examples and a circuit to play.

Exercises on the page

Read and play

The OR gate

The OR gate outputs 1 as soon as one of its inputs is 1. Truth table, symbols, everyday examples and a circuit to play.

Exercises on the page

Read and play

The NOT gate

The NOT gate inverts its input: 0 becomes 1, 1 becomes 0. Truth table, symbol, examples and a circuit to play with NOT and AND.

Exercises on the page

Read and play

The XOR gate

The XOR gate outputs 1 when its two inputs are different. Truth table, symbol, examples (two-way switch, addition) and a circuit to play.

Exercises on the page

Read and play

The NAND and NOR gates

NAND and NOR are AND and OR gates followed by an inversion. Truth tables, symbols, and why you can build anything from NAND gates. Circuit to play.

Exercises on the page

Read and play

The truth table

A truth table gives a circuit's output for every combination of inputs. How to build one, how many rows it has, and a three-input circuit to play.

Exercises on the page

Read and play

Practical guides

Three guides to get going: the gates one by one, an escape game at home, and where to start.

Logic gates explained simply: AND, OR, NOT and XOR

AND, OR, NOT and XOR explained with everyday examples, a diagram and a truth table for each gate, and a free circuit to play for every one.

How to run a printable escape game at home

Printing on A4, timing, ages, the game master's job and what to do when a team gets stuck: a guide to running a printable escape game at home.

Learning logic through play: where to start

Where to start when you learn logic through play: the 10 free circuits, the daily challenge, the lessons and Bit's Journey, in order.