boolean-logic
boolean-logic
Exam Questions
Boolean Logic
Boolean Logic Diagrams / Combining Boolean Operators / Truth Tables
© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 1
Easy Questions
1 Complete the truth table for the AND logic gate.
A B A AND B
0 0
0 1
1 0
1 1
(1 mark)
© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 2
2 (a) Complete the truth table for the XOR logic gate.
A B A XOR B
0 0
0 1
1 0
1 1
(1 mark)
(1 mark)
A red light (R) in the game switches on if all of the following conditions are true:
sensor D is off
© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 3
sensor L is on
sensor W is on.
You must use the correct symbols for the logic gates.
(3 marks)
© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 4
4 (a) Draw the logic circuit, using only one logic gate, that is represented by the following
truth table:
0 0 0
0 1 1
1 0 1
1 1 1
(1 mark)
(b) Identify once choice to show the Boolean expression that is equivalent to the logic
circuit shown in Figure 6.
© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 5
Figure 6
A. A AND NOT B
B. NOT (A AND B)
C. (NOT A) AND B
D. (NOT A) AND (NOT B)
(1 mark)
(c) Identify one choice to show the Boolean expression which is equivalent to the logic
circuit shown in Figure 7.
Figure 7
© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 6
D. ((NOT A) OR (NOT B)) AND C
(1 mark)
Figure 3
(1 mark)
© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 7
Medium Questions
1 A logic circuit is being developed for an audio advert in a shop that plays automatically if
a customer is detected nearby.
The system has two sensors, A1 and A2, that detect if a customer is near. The audio
plays if either of these sensors is activated.
The system should only play if another audio system, S, is not playing.
The output from the circuit, for whether the advert should play or not, is Q.
(3 marks)
2 Write a Boolean expression to show how the output D is calculated from the inputs A,
B and C in Figure 3.
© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 8
You must use the correct symbols for the Boolean operators in your expression.
(2 marks)
© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 9
3 (a) A game uses three sensors.
A red light (R) in the game switches on if all of the following conditions are true:
sensor D is off
sensor L is on
sensor W is on
Another circuit in the game will output True if any two sensors are activated or if all three
sensors are activated. This has been represented as the Boolean expression:
(W . D) + (D . L) . (W . L)
Identify one choice that shows the expression with the error corrected.
A. (W . D) . (D . L) . (W . L)
B. W . D
( ) . ( D.L ) + ( W.L )
C. (W . D) + (D . L) + (W . L)
⎯⎯⎯⎯
D. W . D
( ) + ( D +L .) ( W.L )
(1 mark)
(b) A green light (G) in the game switches on if all of the following conditions are true:
sensor D is off
sensor L is off
sensor W is on.
© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 10
(3 marks)
A sewing machine is running (R) if either the foot pedal is on (F) or the hand dial is on (H)
but not both.
You should use only the gates AND, OR and NOT in your answer.
(3 marks)
© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 11
5 (a) A farmer uses an automated system to indicate if soil conditions are right for planting.
warm
wet
Figure 2
© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 12
The output (P) is:
0 if the conditions for planting have not been met
1 if the conditions for planting have been met.
T M A X Y P
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
(3 marks)
© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 13
(b) The farmer wants to modify the system so that it will indicate that the soil conditions are
right for planting if at least one of the three conditions has been met.
Describe changes that could be made to the logic circuit in Figure 2 to allow this to
happen.
(2 marks)
© 2025 Save My Exams, Ltd. Get more and ace your exams at savemyexams.com 14