Join gates into circuits. Move between a logic expression, a truth table and a logic circuit — a skill that comes up regularly in Paper 2 logic questions.
In the Gates Lab you learnt the six gates one at a time. In this lab you join them into logic circuits with up to three inputs, and move between three ways of describing the same circuit:
X = (A AND B) OR NOT CThe syllabus asks you to create a circuit, complete a truth table and write a logic expression from any of the others. These conversions come up regularly in Paper 2 logic questions.
"The gates compose. The circuit computes the function." All three forms describe the same circuit. Learn to move between them carefully and you have the core of this topic.
B OR NOT C vs NOT (B OR C) trapX = (leave it out if the question already gives it).X = (A OR B) AND NOT C.Sum-of-products is a reliable method: it always gives a correct expression, using only NOT, AND and OR.
X = (term 1) OR (term 2) OR …X = (NOT A AND B) OR (A AND B).The reverse of §4.2. Draw from the right (final gate) and work left.
The syllabus says circuits must be drawn for the statement given, without simplification. Even if you can spot a shorter circuit that does the same job, draw the one the expression describes — gate for gate.
Each example: given → steps → result → why it works.
Some of these are noted in Cambridge examiner reports; the rest come from the syllabus and good exam habits. Every one has a fix.
Typical instructions in logic questions, and what they ask you to do.
X = (A OR B) AND NOT C — use the gate names and brackets0 / 8 revealed
X = followed by that gate. Then work back through its inputs.Expression ↔ truth table ↔ circuit: you use working columns, you know sum-of-products, you start from the final gate and you draw circuits as given.
Next up: the Problem Statements Lab — where you turn real-world rules into expressions, truth tables and circuits.
10.1–10.7 Gates Lab
📍 10.8–10.10 Composition Lab (this page)
10.11 Problem Statements Lab
Next: Topic 11 Programming Scenarios
Covers Cambridge 0478 Topic 10, outcome 3: (a) create logic circuits, (b) complete truth tables and (c) write logic expressions — each from a logic expression, a logic circuit or a truth table. Circuits have up to three inputs and one output, and are drawn as given, without simplification. Problem statements are in the next lab.
Learn slows down what Book Notes covered. When you're comfortable, head to Activities and open the Circuit Builder.
| Form | Example | Good for |
|---|---|---|
| Expression | X = (A AND B) OR NOT C | Writing it down compactly |
| Truth table | 8 rows · A, B, C and X columns | Checking every case |
| Circuit | 3 gates: AND on A, B; NOT on C; both into an OR | Seeing how it is built |
The circuit for X = (A AND B) OR NOT C.
Question: "Draw a logic circuit for X = (A AND B) OR (A AND NOT B)."
Four gates: an AND on A and B, a NOT on B, an AND on A and NOT B, and an OR joining the two ANDs. This is what the question asks for.
The output happens to equal A, so a student draws a single wire from A to X. Same truth table — but it isn't the circuit for the statement given, so it doesn't earn the marks.
The rule: one gate for each gate name in the expression, wired the way the brackets say.
Any time a gate's output feeds another gate, give it a label — D, E, F — and a column in the truth table. Fill one column at a time, all rows, before moving on.
Example. For X = (A OR B) AND NOT C:
| A | B | C | D (A OR B) | E (NOT C) | X (D AND E) |
|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 1 | 0 |
| 0 | 0 | 1 | 0 | 0 | 0 |
| 0 | 1 | 0 | 1 | 1 | 1 |
| 0 | 1 | 1 | 1 | 0 | 0 |
| 1 | 0 | 0 | 1 | 1 | 1 |
| 1 | 0 | 1 | 1 | 0 | 0 |
| 1 | 1 | 0 | 1 | 1 | 1 |
| 1 | 1 | 1 | 1 | 0 | 0 |
Notice. Column D only uses A and B. Column E only uses C. Column X only uses D and E. You never juggle three inputs at once.
A.B, OR as A + B and NOT as a bar over the letter. In this course write logic expressions in words, using the gate names: X = (A OR B) AND NOT C.The Circuit Builder has 5 modes. Start with Modes 4 and 5 (completing truth tables). Modes 1, 2 and 3 unlock once you have checked an answer in both.
This lab covers Topic 10, outcome 3:
Not in this lab: problem statements — those are in the Problem Statements Lab.
Five modes, one for each way of moving between the three forms. In Mode 3 your expression is checked for the same circuit: C OR (A AND B) matches (A AND B) OR C, but a simplified version that only behaves the same does not.
Unlocking: Modes 1, 2 and 3 unlock after you have checked an answer in Mode 4 and in Mode 5.
Quick single-row questions from circuits and expressions: work out X for one row. Streaks show at 3 · 6 · 10 correct. Sprint is for speed — it doesn't change your Mastery.
Answers from the Circuit Builder, Practice and Exam, by skill.
Mode 4 · Circuit → Truth table. See a circuit and complete the output column.
Mode 5 · Expression → Truth table. See an expression and complete the output column. Use working columns on paper.
Mode 1 · Expression → Circuit. Read an expression and choose the circuit that matches it, from three. Sketch it on paper first.
Mode 2 · Truth table → Circuit. Read a truth table and choose the circuit that produces it.
Mode 3 · Circuit → Expression. Read a circuit and write its expression in words.
Skills you get wrong come back more often. Filter by difficulty or run the whole pool. Missed questions are saved to Mistakes.
Paper 2 style questions on logic circuits. Answer every part, then press Mark my answer — circuits, truth tables and logic expressions are checked automatically.
Written in the style of Cambridge Paper 2, where Boolean logic is assessed. In the real exam you draw circuits — sketch each one on paper first, then use the "choose the circuit" parts here to check your drawing.
Read these before your exam. Then look at Mistakes to see the ones you make.
Six one-liners to recite before your exam.
Tick each item as you master it. In the skill grid, tap a status chip to set it yourself. When all 12 are ticked, the Module Mastered banner unlocks.
Mastered = 3+ attempts and ≥70% accuracy. Tap the status chip to override it.
Turn real-world rules into logic expressions, truth tables and circuits.
10.1–10.7 Gates Lab
📍 10.8–10.10 Composition Lab (this page)
10.11 Problem Statements Lab
Next: Topic 11 Programming Scenarios
Every wrong Practice, Exam or Circuit Builder answer is saved here automatically.
Your attempts, accuracy and mastery counts in the Composition Lab.
Bookmark an exam question to save it here.
Jot notes as you learn. Everything here is saved on this device only.
Sent mistakes, saved key facts, and things you want to keep. Search across everything.