KS4 – Computer systems Learner Worksheet
Lesson 11 – Logic problems
Three-input logic problems
For each of the problems below, create a logic diagram, truth table, and Boolean
expression. Use your notes and the first example to help you.
Task 1 .
“A picture will be taken if the motion sensor or proximity sensor activates and the light is on.”
Logic circuit
Motion
Proximit Picture
Light
Truth table
Motion Proximity Light OR AND (Picture)
0 0 0 0 0
0 0 1 0 0
0 1 0 1 0
0 1 1 1 1
1 0 0 1 0
1 0 1 1 1
1 1 0 1 0
1 1 1 1 1
Page 1 Last updated: 21/09/2021
KS4 – Computer systems Learner worksheet
Lesson 11 – Logic problems
Boolean expression:
Picture = (motion or proximity) and light
Task 2 .
“The warning siren will sound on if the pressure is too high and the valve is not open, or the
temperature is too high.”
Logic circuit
Pressure
Valve Warning
Temperat
Truth table
Pressure Valve Temperature NOT AND OR
0 0 0 1 0 0
0 0 1 1 0 1
0 1 0 0 0 0
0 1 1 0 0 1
1 0 0 1 1 1
1 0 1 1 1 1
1 1 0 0 0 0
1 1 1 0 0 1
Boolean expression:
Warning siren = (pressure and not valve) or temperature
Page 2 Last updated: 21/09/2021
KS4 – Computer systems Learner worksheet
Lesson 11 – Logic problems
Resources are updated regularly — the latest version is available at: ncce.io/tcc.
This resource is licensed under the Open Government Licence, version 3. For more information on this licence, see
ncce.io/ogl.
Page 3 Last updated: 21/09/2021