Track progress, take quizzes and save notes on this lesson.

Free forever · no card needed

Start free
Intermediate

Logic Gates to Circuits: Worked Practice

Support lesson — extends 3.4.2 Boolean logic

Aligned to the AQA 8525 specification

Level
Intermediate
Reading time
5 min
Published
9 June 2026
Updated
1 July 2026
On this page
  1. 1.From Gates to Circuits
  2. 2.Tracing a Circuit Step by Step
  3. 3.Truth Tables With Intermediate Columns
  4. 4.Three-Input Circuits
  5. 5.Boolean Expressions and Circuit Diagrams
  6. 6.Common Mistakes

Key takeaways

  • AQA 8525 uses only three logic gates: NOT flips its input, AND outputs 1 only if both inputs are 1, and OR outputs 1 if at least one input is 1.
  • To trace a multi-gate circuit, work left to right, calculating and labelling the output of each gate before moving on to the next.
  • A truth table for a multi-gate circuit needs one column per intermediate value, not just columns for the inputs and the final output.
  • A two-input circuit always has exactly 4 rows and a three-input circuit always has exactly 8 rows, because the row count is 2 to the power of the number of inputs.
  • NOT A AND B means (NOT A) AND B, with the NOT applying only to A; reading it as NOT (A AND B) gives a completely different truth table.

From Gates to Circuits

The Boolean logic spec lesson covers the three gates AQA 8525 requires: NOT, AND, and OR. Exam questions, however, rarely ask about a single gate in isolation. They present a circuit — several gates connected together — and ask you to complete a truth table or determine the output for given inputs.

This lesson is entirely worked practice. Every example uses only AND, OR, and NOT — no other gates are required for AQA 8525.

Quick gate reference:

GateSymbolRule
NOT¬AFlips the input: 0→1, 1→0
ANDA AND BOutput is 1 only if both inputs are 1
ORA OR BOutput is 1 if at least one input is 1

Tracing a Circuit Step by Step

When a circuit has more than one gate, work through it left to right — calculate the output of each gate before moving to the next.

Example circuit:

(NOT A) AND BABNOTANDOutput

This circuit feeds A through a NOT gate first, then ANDs the result with B.

Inputs: A = 1, B = 0

StepOperationValue
1NOT ANOT 1 = 0
2(NOT A) AND B0 AND 0 = 0
Output0

Inputs: A = 0, B = 1

StepOperationValue
1NOT ANOT 0 = 1
2(NOT A) AND B1 AND 1 = 1
Output1

Always label intermediate values as you go. On an exam diagram, write the value on each wire after each gate — the examiner can see your working and may award method marks even if your final answer is wrong.

Truth Tables With Intermediate Columns

For a circuit with multiple gates, a truth table needs one column per intermediate value, not just one for each input and one for the output. This keeps you from making errors and shows the examiner your reasoning.

Example: Circuit for (A OR B) AND (NOT A)

Step 1 — identify all intermediate values:

  • A OR B
  • NOT A
  • Final output: (A OR B) AND (NOT A)

Step 2 — build the table with all columns:

ABA OR BNOT A(A OR B) AND (NOT A)
00010
01111
10100
11100

Checking each row:

  • Row 1: A=0, B=0 → OR=0, NOT A=1 → 0 AND 1 = 0
  • Row 2: A=0, B=1 → OR=1, NOT A=1 → 1 AND 1 = 1
  • Row 3: A=1, B=0 → OR=1, NOT A=0 → 1 AND 0 = 0
  • Row 4: A=1, B=1 → OR=1, NOT A=0 → 1 AND 0 = 0

For a circuit with 2 inputs, there are always exactly 4 rows (2² = 4). For 3 inputs: 8 rows (2³ = 8). Never skip rows.

Three-Input Circuits

When a circuit has three inputs, the truth table has 8 rows. Write out all combinations of A, B, C systematically: treat it like binary counting — C alternates every row, B alternates every two rows, A alternates every four rows.

Example: (A AND B) OR (NOT C)

ABCA AND BNOT C(A AND B) OR (NOT C)
000011
001000
010011
011000
100011
101000
110111
111101

Notice: the output is 1 whenever C = 0 (NOT C = 1), or when both A and B are 1 regardless of C.

How much of this have you taken in?

Quiz yourself on this section, free, no card needed.

Test myself

Boolean Expressions and Circuit Diagrams

AQA may give you a Boolean expression and ask you to draw or complete the circuit, or give you a circuit and ask you to write the expression.

Expression → Circuit:

Expression: (A AND B) OR (NOT B)

Read it as a recipe:

  1. Feed A and B into an AND gate
  2. Feed B into a NOT gate
  3. Feed both outputs into an OR gate
(A AND B) OR (NOT B)ABANDNOTOROutput

Circuit → Expression:

Work left to right, naming each gate's output:

  • Gate 1 (NOT on A): NOT A
  • Gate 2 (AND on NOT A, and B): (NOT A) AND B
  • If there were a further gate, continue chaining

The expression for the full circuit is: (NOT A) AND B

Common Mistakes

1. Applying NOT to the wrong input

NOT A AND B means (NOT A) AND B — the NOT applies only to A. A common error is interpreting it as NOT (A AND B), which gives a completely different truth table. If in doubt, add brackets.

2. Missing rows in the truth table

A two-input circuit has exactly 4 rows. A three-input circuit has exactly 8 rows. Skipping rows or duplicating rows will give a wrong answer even if your gate logic is correct.

3. Confusing AND and OR outputs

AND outputs 1 only when all inputs are 1 — it is the "strict" gate. OR outputs 1 when any input is 1 — it is the "generous" gate. Students frequently swap these under exam conditions.

4. Not using intermediate columns

Trying to calculate a multi-gate circuit "in your head" in one step leads to errors. Always add intermediate columns. They cost nothing and prevent mistakes.

5. Writing the expression in the wrong order

The expression should reflect the order gates are encountered from inputs to output — not the order you happened to notice them. Trace from left (inputs) to right (output).

Key terms

NOT gate
A gate that flips its single input: 0 becomes 1 and 1 becomes 0.
AND gate
A gate whose output is 1 only if both of its inputs are 1.
OR gate
A gate whose output is 1 if at least one of its inputs is 1.
Logic circuit
Several logic gates connected together to produce an output from one or more inputs.
Truth table
A table listing every combination of inputs and the resulting output, with one row per combination.
Intermediate value
The output of a gate partway through a circuit, given its own column in a truth table.
Boolean expression
A written formula using AND, OR, and NOT that describes a logic circuit, such as (A AND B) OR (NOT B).

Frequently asked questions

A two-input circuit always has exactly 4 rows and a three-input circuit always has exactly 8 rows, because the number of rows is 2 to the power of the number of inputs. Never skip or duplicate rows, even if your gate logic is correct.

Work through the circuit left to right, calculating the output of each gate before moving to the next, and label the intermediate value on each wire as you go. Use a truth table with one column per intermediate value rather than trying to do it in one step.

No. NOT A AND B means (NOT A) AND B, so the NOT applies only to A. Reading it as NOT (A AND B) produces a completely different truth table. If in doubt, add brackets to make the order clear.

Generate revision on any topic you study

Type any topic you're studying and Aicademy generates a complete lesson, quiz, and flashcard set, personalised to your level.

Lessons on anything

Structured, level-matched lessons on any topic you study

Practice quizzes

Find out what you actually know before the exam does

Flashcard sets

Lock in key concepts with instant revision cards

Ask Aica

Stuck on something? Get a clear explanation, any time

Prev

Exam Technique and Command Words

Next

Writing Exam-Style Programs

Related lessons

Top students don’t revise more. They revise what counts.

Start revising free

Free to start. No card needed.