Boolean Logic
Boolean Logic
Name:
_
Boolean logic
_______________________
Class:
_
_______________________
Date:
_
Time: 23 minutes
Marks: 23 marks
Comments:
Page 1 of 11
Q1.
Complete the truth table for the AND logic gate.
A B A AND B
0 0
0 1
1 0
1 1
(Total 1 mark)
Q2.
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.
(Total 3 marks)
Q3.
The diagram below shows a logic circuit.
Page 2 of 11
(a) State the type of logic gate labelled G1 in the diagram.
G1 _________________________________________
(1)
G2 _________________________________________
(1)
___________________________________________________________________
___________________________________________________________________
(1)
(d) Complete the following truth table for the logic circuit shown in the diagram above by
filling in the grey shaded cells.
A B C D E F
0 0 0 0 0 0
0 0 1 0 1 1
0 1 0 0 0 0
0 1 1 0 1 1
1 0 0
1 0 1 0 1 1
1 1 0 1
1 1 1
(3)
(Total 6 marks)
Q4.
Page 3 of 11
The diagram below shows a logic circuit.
(a) State the name of the logic gate that has been labelled X.
___________________________________________________________________
(1)
(b) Fill in the empty cells to complete the part of the truth table below for the logic
circuit.
Outputs of Final
Inputs
Gates Output
A B C X Y Q
0 0 0
0 1 0
1 0 1
(3)
(c) By analysing the logic circuit and the truth table that you have completed, shade in
the lozenges next to the two statements below which are correct.
Page 4 of 11
the circuit will always be 0.
(2)
(Total 6 marks)
Q5.
A B A OR B
0 0
0 1
1 0
1 1
(1)
(b) Complete the truth table for the logic circuit shown in the figure below.
A B X Y Z
0 0
0 1
1 0
1 1
(3)
• The automatic door has two sensors, one on either side of the door, sensor F
and sensor B. The door opens when either of these sensors is activated.
• The door system can also be turned on / off using a manual switch, S. The
door will not open unless S is on.
• The output from this logic circuit, for whether the door is open or not, is D.
(3)
(Total 7 marks)
Page 5 of 11
Mark schemes
Q1.
Mark is for AO1 (understanding)
A B A AND B
0 0 0
0 1 0
1 0 0
1 1 1
Q2.
3 marks for AO2 (apply)
Max 2 marks if not fully correct (the fully correct answer is given in example 1).
R. Incorrect symbols
Page 6 of 11
Example 3 (Marks B and C)
[3]
Q3.
(a) Mark is for AO1 (recall)
AND (gate);
1
OR (gate);
1
Page 7 of 11
(c) Mark is for AO1 (recall)
Q4.
(a) Mark is for AO1 (knowledge and understanding)
NOT (gate);
1
Outputs Final
Inputs
of Gates Output
A B C X Y Q
0 0 0 1 0 0
0 1 0 1 1 1
1 0 1 0 1 0
3
Page 8 of 11
1 mark: for each correct lozenge shaded;
B If input B is 1 then the value of input C has no effect on the output of the circuit.
C If input A is 1 then the value of input C has no effect on the output of the circuit.
Q5.
A B A OR B
0 0 0
0 1 1
1 0 1
1 1 1
1
A B X Y Z
0 0 0 0 1
0 1 0 0 1
1 0 0 0 1
1 1 1 1 0
3
Page 9 of 11
3
[7]
Page 10 of 11
Examiner reports
Q1.
This question was about logic gates, logic circuits and truth tables.
The vast majority of students were able complete the truth table for the AND gate
and nearly half managed to correctly draw the logic circuit given. Common errors on
this question involved incorrect symbols being used for the logic gates and putting
the NOT gate at the end of the circuit. The vast majority of students managed to pick
up at least one mark on this question.
Q2.
This question was about logic gates, logic circuits and truth tables.
The vast majority of students were able complete the truth table for the AND gate
and nearly half managed to correctly draw the logic circuit given. Common errors on
this question involved incorrect symbols being used for the logic gates and putting
the NOT gate at the end of the circuit. The vast majority of students managed to pick
up at least one mark on this question.
Q3.
This question was about logic gates, logic circuits and truth tables.
The vast majority of students were able to correctly identify the two logic gates, with
most being able to correctly state what a NOT logic gate does. Almost three-
quarters of students were able to correctly complete the truth table and those who
had incorrectly completed columns D or E were awarded a mark if they had correctly
followed the logic through to complete column F.
Page 11 of 11