Back to Logic
N
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
1
Boolean logic and logic gates
2
Logic statements and expressions
3
Truth tables
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
Boolean logic is a form of algebra where all logical relations can be expressed as a combination of AND, OR and NOT.
A logic gate is a fundamental component of a digital circuit.
Each logic gate has a symbol, which is used in circuit diagrams.
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?
George Boole
Claude Shannon
Charles Babbage
Alan Turing
What does a Boolean expression evaluate to?
True or False
a numerical value
a text message
Which of the following is an example of a Boolean statement?
The sky is blue.
Please open the window.
What is your favourite film?
How old are you?
Which logic gate has only one input and one output?
NOT
AND
OR
How many possible input combinations exist for an AND gate with two inputs?
4
1
2
8
Check answers
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
A logic statement is a statement that evaluates to either True or False.
You can write a logic statement to represent an outcome where the result is dependent on Boolean variables.
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?
A AND (NOT C) = True
A OR C = False
B AND C = True
NOT B = True
Label the output for this sentence: “If it is raining and not windy, I take an umbrella.”
weather (W)
raining (R)
windy (W)
umbrella (U)
Check answers
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
A truth table is a way of summarising and checking the logic of a circuit.
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)?
True
False
Which Boolean expression represents the following scenario: "I will go to the park if it is sunny OR it is NOT raining."
NOT sunny AND raining
sunny OR NOT raining
sunny AND NOT raining
NOT sunny OR raining
What is the output of the Boolean expression (True AND False) OR True?
True
False
A truth table with three inputs will have how many rows?
4
6
8
12
In a truth table for the expression A AND (B OR C), which columns would you include?
A, B, C, A AND B, A AND (B OR C)
A, B, C, B OR C, A AND (B OR C)
A, B, C, A OR C, A AND (B OR C)
A, B, C, A AND C, A AND (B OR C)
Check answers
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.