Logic expressions and circuits
Introduit| English | Sens |
|---|---|
| logic circuit/ˈlɒdʒɪk ˈsɜːkɪt/ | circuit logique |
| problem statement/ˈprɒbləm ˈsteɪtmənt/ | énoncé du problème |
| truth table/truːθ ˈteɪbl/ | table de vérité |
| logic expression/ˈlɒdʒɪk ekˈspreʃn/ | expression logique |
From statement to circuit
- Gates are combined into logic circuits 逻辑电路 to carry out a task.
- The same logic can be a problem statement 问题陈述, an expression, a circuit, or a truth table 真值表.
- You must move between all four.
Logic expressions 逻辑表达式
- A logic expression writes a circuit using letters and gate words.
- e.g.
(A AND B) OR (NOT C)means: doA AND B, doNOT C, then OR the two results.

Logic expressions & circuits
gates combine into circuits
Each gate has a rule; combine them to build a circuit — explore one gate at a time.
The expression (A AND B) OR (NOT C) means:
Difficulté 1/5 · 100 pièces + un petit bonus lors de la première réussite aujourd'hui
Work out each part — (A AND B) and (NOT C) — then OR them together.
Logic circuits
- A logic circuit joins gates: the output of one gate becomes the input of another.
- At IGCSE a circuit has up to three inputs and one output.

For X = (A AND B) OR C with A=1, B=0, C=1, what is X?
Difficulté 1/5 · 100 pièces + un petit bonus lors de la première réussite aujourd'hui
A AND B = 0; 0 OR C(=1) = 1, so X = 1.
From statement to truth table
- Problem → circuit: pick out the conditions and the logic words. "An alarm (X) sounds when the door is open (A) AND the system is on (B)" →
X = A AND B. - Completing a truth table: write all input combinations (3 inputs → 8 rows), work out each gate's output column in order, and the last column is the final output.
- Draw the circuit exactly as stated — don't simplify it.


Match each English phrase to its logic expression.
Difficulté 2/5 · 140 pièces + un petit bonus lors de la première réussite aujourd'hui
Turn the words into gates: "and" → AND, "or" → OR, "not" → NOT, "exactly one" → XOR.
How many rows does a truth table have for a circuit with 3 inputs?
Difficulté 2/5 · 140 pièces + un petit bonus lors de la première réussite aujourd'hui
Each input doubles the combinations: 2^3 = 8 rows (000 to 111).
When drawing a circuit from a problem statement, you should:
Difficulté 1/5 · 100 pièces + un petit bonus lors de la première réussite aujourd'hui
At IGCSE you draw the circuit as described — simplification is not required.
Worked example: a fan from a statement
A fan X switches on if the temperature is high (T = 1) and the window is not open (W = 0), or if the override switch is on (H = 1). Write the expression and find X when T = 1, W = 1, H = 0.
- The statement gives X = (T AND NOT W) OR H: a NOT gate on W feeds an AND gate with T, and that output goes into an OR gate with H.
- With T = 1, W = 1, H = 0: NOT W = 0, so T AND NOT W = 1 AND 0 = 0. Then 0 OR H = 0 OR 0 = 0: the fan stays off, because the window is open and there is no override.
How many rows does a truth table for a circuit with 4 inputs need?
Difficulté 2/5 · 140 pièces + un petit bonus lors de la première réussite aujourd'hui
$2^4 = 16$ combinations of inputs.
For X = (T AND NOT W) OR H, what is X when T = 0, W = 1, H = 1?
Difficulté 1/5 · 100 pièces + un petit bonus lors de la première réussite aujourd'hui
T AND NOT W = 0, but H = 1, so 0 OR 1 = 1.
You've got it
- a logic expression uses letters + AND/OR/NOT; a circuit chains gates (≤3 inputs, 1 output)
- turn a problem statement into an expression by spotting the logic words
- a truth table has $2^n$ rows ($n$ inputs); add a working column per gate
- draw the circuit exactly as stated, without simplifying