Back to 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:
Logic · Computer Science - 4CP0

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

Logic statements and expressions

By the end: I can evaluate and develop logic statements using Boolean logic.

Key learning points

  1. A logic statement is a statement that evaluates to either True or False.
  2. You can write a logic statement to represent an outcome where the result is dependent on Boolean variables.
  3. Boolean logic combines multiple logic statements into an expression that is either True or False.

Keywords

Boolean
an expression that evaluates to either True or False
logic statement
an expression that is either True or False
logic expression
a combination of logical operators and variables that is either True or False

A common mistake

Mistake: Boolean logic statements should be processed in the order they are read (from left to right).

In fact: Boolean operators have an order of precedence that affects the which operator applies to which variable. If a different order is required, brackets should be used.

Check what you learned

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

If A = True, B = True and C = False, which of these is a correctly evaluated expression?
Label the output for this sentence: “If it is raining and not windy, I take an umbrella.”

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.