Skip to main content
EnglandComputer ScienceSyllabus dot point

How do logic gates implement Boolean expressions, and how do we simplify those expressions using the laws of Boolean algebra?

Logic gates (AND, OR, NOT, XOR, NAND, NOR) and their truth tables, constructing and interpreting truth tables, and simplifying Boolean expressions using the laws of Boolean algebra including De Morgan's laws, distribution, association and commutation, and Karnaugh maps.

An OCR H446 answer on Boolean algebra and logic: the logic gates (AND, OR, NOT, XOR, NAND, NOR) and their truth tables, constructing truth tables for an expression, and simplifying Boolean expressions using the laws of Boolean algebra, De Morgan's laws and Karnaugh maps.

Generated by Claude Opus 4.814 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Examples in context
  4. Try this

What this dot point is asking

OCR wants the six logic gates with their truth tables, the ability to build and read a truth table for an expression, and fluent simplification of Boolean expressions using the laws of Boolean algebra, De Morgan's laws and Karnaugh maps. This is calculation and manipulation: expect "simplify this expression" and "complete this truth table" questions.

The answer

The logic gates and truth tables

The laws of Boolean algebra

De Morgan's laws and Karnaugh maps

Examples in context

Boolean simplification reduces the number of gates in a circuit, saving cost, power and propagation delay, which is why chip designers minimise expressions. De Morgan's laws let an entire processor be built from NAND gates alone (a universal gate). Karnaugh maps are the standard hand method for minimising a function of up to four variables. OCR links this directly to logic circuits such as adders, where these simplified expressions are realised, and to thinking logically in Component 02.

Try this

Q1. State the output of an XOR gate when both inputs are 1. [1 mark]

  • Cue. 0 (XOR outputs 1 only when the inputs differ).

Q2. Apply De Morgan's law to AB\overline{A \cdot B}. [1 mark]

  • Cue. A+B\overline{A} + \overline{B}.

Q3. Simplify A+ABA + A \cdot B and name the law. [2 marks]

  • Cue. AA, by the absorption law (since A+AB=A(1+B)=A1=AA + A \cdot B = A \cdot (1 + B) = A \cdot 1 = A).

Exam-style practice questions

Practice questions written in the style of OCR exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

OCR 20195 marksSimplify the Boolean expression AB+ABA \cdot B + A \cdot \overline{B} using the laws of Boolean algebra, naming the laws used, and verify the result with a truth table.
Show worked answer →

Simplification (up to 3): factor out AA using the distributive law: AB+AB=A(B+B)A \cdot B + A \cdot \overline{B} = A \cdot (B + \overline{B}). By the complement law, B+B=1B + \overline{B} = 1. So A1=AA \cdot 1 = A by the identity law. The simplified expression is AA.

Truth table verification (up to 2):

AA BB ABA \cdot B ABA \cdot \overline{B} sum
0 0 0 0 0
0 1 0 0 0
1 0 0 1 1
1 1 1 0 1

The sum column equals AA, confirming the simplification. Markers reward distribution, the complement law B+B=1B + \overline{B} = 1, the identity law, and a correct truth table.

OCR 20215 marksApply De Morgan's laws to simplify A+BA\overline{A + B} \cdot \overline{A}, and construct a truth table for the original expression.
Show worked answer →

Apply De Morgan (up to 3): A+B=AB\overline{A + B} = \overline{A} \cdot \overline{B}. So the expression becomes ABA=AB\overline{A} \cdot \overline{B} \cdot \overline{A} = \overline{A} \cdot \overline{B} (since AA=A\overline{A} \cdot \overline{A} = \overline{A} by idempotence). The simplified result is AB\overline{A} \cdot \overline{B}, equivalent to A+B\overline{A + B}.

Truth table (up to 2):

AA BB A+BA + B A+B\overline{A + B} A\overline{A} result
0 0 0 1 1 1
0 1 1 0 1 0
1 0 1 0 0 0
1 1 1 0 0 0

The result is 1 only when both are 0, matching AB\overline{A} \cdot \overline{B}. Markers reward the correct De Morgan expansion, the idempotent simplification, and a correct truth table.

Related dot points

Sources & how we know this