LearnViz Physics

Home / Topics / Current Electricity & Circuits

Logic gates

Intermediate

AND, OR, NOT built from transistors.

AND, OR, NOT, NAND, NOR, XOR built from transistors process binary signals. Combinations make adders, memory and computers.

Worked example

AND outputs 1 only if both inputs are 1.

Common mistake

NAND is universal.

In more detail

Logic gates perform basic Boolean operations such as AND, OR, NOT and NAND on electrical signals. They are built from transistors and form the basis of digital circuits.

Real-world uses

Open the interactive lesson, with simulation and quiz →

Frequently asked questions

What is a NAND gate?

An AND gate followed by a NOT, which is universal and can build any other gate.

What does a truth table show?

All possible input combinations and their outputs.

What does an AND gate do?

It gives a high output only when both of its inputs are high.

Related topics in Current Electricity & Circuits

Diodes · Rectifier circuits · Transistor as a switch and amplifier · Electrical safety · Household wiring · Electrolysis

← All Current Electricity & Circuits topics