Logic circuits from Boolean expressions
About this lesson: Logic circuits from Boolean expressions
In short
Each operation in a Boolean expression becomes a gate. This circuit uses AND, NOT and OR. Toggle the inputs and follow the green wires (1) to the output.

What you'll explore
- A circuit from an expression: (A AND B) OR NOT C
- Each operation in a Boolean expression becomes a gate. This circuit uses AND, NOT and OR.
- Truth table: Every combination
- A truth table tests the circuit with every combination of inputs. Three inputs give 8 rows. Toggle the switches and the matching row lights up.
- Build more circuits: Brackets come first
- Choose an expression to see its circuit. The operation inside brackets (or NOT on a single input) gets its gate first.
- Check yourself: Work it out
- Q = (A AND B) OR NOT C, with A = 1, B = 0, C = 1.
Also in this lesson
- Common mix-ups
- The three gates
- Light switch logic
Words to know
- logic gate
- A circuit component that performs a Boolean operation.
- Boolean expression
- A statement using AND, OR and NOT.
- truth table
- A table of every input combination and its output.
- input
- A signal going into a gate (0 or 1).
- output
- The result coming out of a gate.
Sources
- BBC Bitesize KS3 Computer Science
- Raspberry Pi Foundation, Computing curriculum resources
← Digital sound and storage units · Machine learning and smart factories →