Back to Boolean Logic

Oak National Academy

Lessons written by expert teachers in England, each with slides, a video and quizzes.

Their topic:
Boolean logic
For your topic:
Boolean Logic · Computer Science - 9210

Use these lessons alongside our lesson note, which covers your syllabus in full.

What this covers in your syllabus

3 lessons from Oak National Academy

Lesson 1 of 3 · GCSE level, ages 14 to 16

Boolean logic and logic gates

By the end: I can identify different logic gates and construct the truth table for each logic gate.

Key learning points

  1. Boolean logic is a form of algebra where all logical relations can be expressed as a combination of AND, OR and NOT.
  2. A logic gate is a fundamental component of a digital circuit.
  3. Each logic gate has a symbol, which is used in circuit diagrams.
  4. Each logic gate has a unique truth table that shows how the output changes with different inputs.

Keywords

Boolean
an expression that evaluates to either True or False
logic gate
an electronic component that carries out a logical operation
truth table
a table showing the outputs for all possible combinations of inputs to a logic gate or logic circuit

A common mistake

Mistake: All logic gates have two inputs and one output.

In fact: The number of inputs depends on the logic gate. The NOT gate is different in that it only has one input.

Check what you learned

From Oak National Academy's exit quiz. Choose every answer that is right.

Who introduced Boolean logic?
What does a Boolean expression evaluate to?
Which of the following is an example of a Boolean statement?
Which logic gate has only one input and one output?
How many possible input combinations exist for an AND gate with two inputs?

A computing lesson by Oak National Academy licensed under the Open Government Licence (OGL) v3.0. Read the licence

Lesson 2 of 3 · GCSE level, ages 14 to 16

Creating logic circuits

By the end: I can create circuit diagrams to represent logic circuits that solve a problem.

Key learning points

  1. A logic circuit is a set of two or more logic gates that are connected to implement more complex logic.
  2. A digital electronic circuit in a computer system is used to realise solutions to problems.
  3. A circuit diagram illustrates how logic gates are combined to create digital circuits.

Keywords

logic circuit
a combination of two or more logic gates used to represent a more complex logical statement
circuit diagram
a picture used to represent a more complex logical statement

A common mistake

Mistake: Pupils often find it difficult to know what order logic gates should be evaluated. Without brackets, there is still an order of precedence.

In fact: Remind pupils of how the order of precedence in maths is applied to calculations. In a similarway, logic gates should be evaluated in the order: brackets, NOT, AND, OR.

Check what you learned

From Oak National Academy's exit quiz. Choose every answer that is right.

Which logic gate has the highest operator precedence?
Sofia created a logic circuit to show that cake AND ice cream is NOT allowed. Which logic statement correctly represents this?
You are tasked with designing a logic circuit for the statement: "Q = A AND B or C". Which of the following logic gates do you need, and what is the correct order of evaluation?

A computing lesson by Oak National Academy licensed under the Open Government Licence (OGL) v3.0. Read the licence

Lesson 3 of 3 · GCSE level, ages 14 to 16

Truth tables

By the end: I can construct a truth table to represent a Boolean expression or circuit.

Key learning points

  1. A truth table is a way of summarising and checking the logic of a circuit.
  2. The table shows all possible combinations of inputs and, for each combination, the output the circuit will produce.

Keywords

truth table
a table showing the outputs for all possible combinations of inputs to a logic gate or logic circuit
Boolean expression
an expression that evaluates to either True or False

A common mistake

Mistake: A truth table can only have the column headings of single inputs like A, B, or X.

In fact: A truth table can have column headings that calculate the value of the expression, for example (A OR B).

Check what you learned

From Oak National Academy's exit quiz. Choose every answer that is right.

What is the output of the Boolean expression NOT (True AND False)?
Which Boolean expression represents the following scenario: "I will go to the park if it is sunny OR it is NOT raining."
What is the output of the Boolean expression (True AND False) OR True?
A truth table with three inputs will have how many rows?
In a truth table for the expression A AND (B OR C), which columns would you include?

A computing lesson by Oak National Academy licensed under the Open Government Licence (OGL) v3.0. Read the licence

The wording comes from each publisher. The layout and the links to your syllabus are ours.