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.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
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 . [1 mark]
- Cue. .
Q3. Simplify and name the law. [2 marks]
- Cue. , by the absorption law (since ).
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 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 using the distributive law: . By the complement law, . So by the identity law. The simplified expression is .
Truth table verification (up to 2):
| 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 , confirming the simplification. Markers reward distribution, the complement law , the identity law, and a correct truth table.
OCR 20215 marksApply De Morgan's laws to simplify , and construct a truth table for the original expression.Show worked answer →
Apply De Morgan (up to 3): . So the expression becomes (since by idempotence). The simplified result is , equivalent to .
Truth table (up to 2):
| 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 . Markers reward the correct De Morgan expansion, the idempotent simplification, and a correct truth table.
Related dot points
- Number systems: binary, denary and hexadecimal conversion, representing negative numbers with sign and magnitude and two's complement, binary addition and subtraction, fixed-point binary fractions, and the use of hexadecimal and bitwise masks.
An OCR H446 answer on number systems: converting between binary, denary and hexadecimal, representing negative numbers with sign and magnitude and two's complement, binary addition and subtraction, fixed-point binary fractions, and the use of hexadecimal and bitwise masks.
- Floating-point representation of real numbers using a mantissa and an exponent (both in two's complement), normalisation of a floating-point number, and the trade-off between range and precision.
An OCR H446 answer on floating-point representation: storing real numbers with a mantissa and an exponent in two's complement, how to normalise a floating-point number, and the trade-off between range and precision when bits are divided between mantissa and exponent.
- Logic circuits built from gates: the half adder and full adder for binary addition, and the D-type flip-flop as a single-bit memory element, including their truth tables and Boolean expressions.
An OCR H446 answer on logic circuits: the half adder and full adder that perform binary addition (with their sum and carry expressions and truth tables), and the D-type flip-flop that stores a single bit, including how these combine to build arithmetic and memory.
- Thinking logically: identifying the decision points and conditions that affect the flow of a solution; computational methods including problem recognition, divide and conquer, backtracking, heuristics, performance modelling and visualisation.
An OCR H446 answer on thinking logically and computational methods: identifying decision points and conditions in a solution, and the methods of problem recognition, divide and conquer, backtracking, heuristics, performance modelling and visualisation that make problems solvable.
- The structure and function of the processor: the arithmetic logic unit, control unit, registers (PC, ACC, MAR, MDR, CIR), buses (data, address, control), and the fetch-decode-execute cycle in the von Neumann architecture.
An OCR H446 answer on the structure and function of the processor: the ALU, control unit, the five registers (PC, ACC, MAR, MDR, CIR), the data, address and control buses, and a step-by-step trace of the fetch-decode-execute cycle in the von Neumann architecture.