Session XP: 0
Spec 1.3Paper 1

Logic Gates & Truth Tables

AND, OR, NOT, XOR — drawing circuits, completing truth tables, solving logic problems. Jun 2022 Q4(e) and Jun 2023 Q4(e) tested truth tables.

—
Best score
—
Last attempt
Best attempt progress
0
XP earned
Watch first — Craig 'n' Dave
Craig 'n' Dave · Edexcel 1CP2Simple logic diagrams (4:24)
Craig 'n' Dave · Edexcel 1CP2Truth tables (6:40)
Craig 'n' Dave · Edexcel 1CP2Applying logical operators in truth tables to solve problems (7:08)
Key facts

Gate symbols and truth tables — fill in the table

GateWhat it does
AND gate
OR gate
NOT gate
XOR gate (extra: not in the Edexcel spec)
NAND / NOR (extra: not in the Edexcel spec)

Common exam question types

  • 1. Complete a truth table for a given circuit
  • 2. Draw a logic circuit for a Boolean expression
  • 3. Work out the output of a circuit from given inputs
  • 4. Write the Boolean expression for a circuit
  • AND truth table: 0,0→0 | 0,1→0 | 1,0→0 | 1,1→1
  • OR truth table: 0,0→0 | 0,1→1 | 1,0→1 | 1,1→1
  • XOR truth table: 0,0→0 | 0,1→1 | 1,0→1 | 1,1→0

Truth table worked example (Jun 2023 Q4(e))

NOT, combined circuits and 3 inputs (spec 1.3.1) — fill in the table

PointDetail
NOT truth table
Number of rows
Row order for 3 inputs
Combined circuits
Real-world rules

Reading a 3-input table

  • Q = (A AND B) OR C is 1 whenever C is 1, and also when A and B are both 1.
  • The AND column is 1 only in the last two rows (110 and 111).
  • So Q is 1 in five rows: 001, 011, 101, 110 and 111.
  • Always check the row count first: 3 inputs must give 8 rows.
Worked example: three inputs
A B C | A AND B | Q = (A AND B) OR C
0 0 0 |    0    | 0
0 0 1 |    0    | 1
0 1 0 |    0    | 0
0 1 1 |    0    | 1
1 0 0 |    0    | 0
1 0 1 |    0    | 1
1 1 0 |    1    | 1
1 1 1 |    1    | 1
Exam questions — 7 questions · 16 marks · from real 1CP2 past papers
1 markAND gate1CP2 style

What is the output of an AND gate when input A = 1 and input B = 0?

A 1
B 0
C It depends on the circuit
D Undefined
1 markXOR gate (extension)Beyond spec: Edexcel names AND, OR, NOT only

What is the output of an XOR gate when both inputs are 1?

A 1 — because at least one input is 1
B 0 — because XOR outputs 1 only when inputs are different
C 1 — because all inputs are 1
D Depends on which input arrived first
4 marksComplete a truth table1CP2 Jun 2023 Q4(e) style

Complete the truth table for a circuit with two inputs (A and B) where the output is: NOT(A) AND B. For all four combinations of A and B, calculate the output. Show your working. (4 marks)

Hint: Work out NOT(A) first for each row, then AND that result with B. Four rows: (0,0), (0,1), (1,0), (1,1).
+40 XP
2 marksBoolean expression to circuit1CP2 style

Describe (as a list of components and connections) a logic circuit that implements: output = A OR (NOT B). (2 marks)

Hint: Break the expression apart: you need a NOT gate (for B) and an OR gate (combining A and NOT B). Describe the connections.
+20 XP
4 marksThree-input truth table1CP2 style

Complete a truth table for the expression Q = (A AND B) OR C. List every combination of A, B and C and give Q for each. (4 marks)

Hint: How many rows does a 3-input table need? Count up in binary from 000. Work out A AND B first, then OR with C.
+40 XP
1 markRows in a truth table1CP2 style

How many rows are needed in a truth table for a circuit with three inputs?

A 3
B 6
C 8
D 9
3 marksSolving a problem with logic1CP2 style

A warning light Q must come on when the machine is running (R = 1) and the safety guard is NOT closed (G = 0). (a) Write a logic expression for Q. (b) State the output Q for each of the four combinations of R and G. (3 marks)

Hint: Use NOT on G, then AND it with R. Four rows for two inputs.
+30 XP
Quick recall flashcards

Module complete! 🎉

Score loading...

⚡ +10 XP