Boolean logic and logic circuits – O Level Computer Science (2210)
10 questions · Clear filters
Question text
8
Consider the logic circuit:
A
B
X
C
(a) Write the logic expression for the given logic circuit.
…
… [3]
(b) Complete the truth table for the given logic circuit.
working space
A
B
C
X
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
[4]
© Cambridge University Press & Assessment 2026
Question text
8
Consider the logic expression:
Z = NOT (B OR NOT C) XOR (A NAND C)
(a) Draw a logic circuit for this logic expression.
Each logic gate must have a maximum of two inputs.
Do not simplify the logic expression.
A
B
Z
C
[5]
(b) Complete the truth table from the given logic expression.
working space
A
B
C
Z
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
[4]
© Cambridge University Press & Assessment 2026
Question text
7
Consider the logic expression:
X = (A AND B) XOR (B OR NOT C)
(a) Draw a logic circuit for this logic expression.
Each logic gate must have a maximum of two inputs.
Do not simplify the logic expression.
A
B
X
C
[4]
(b) Complete the truth table for the given logic expression.
Working space
A
B
C
X
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
[4]
ĬÓĊ®Ġ´íÈõÏĪÅĊÝû¶þ×
Question text
8
(a) Draw the symbol for an XOR logic gate and complete the truth table for it.
XOR logic gate symbol:
Truth table:
A
B
X
0
0
0
1
1
0
1
1
[2]
(b) Consider the logic rules in the following table:
Input
Binary value
Description
operator not present
0
A
1
operator present
0
ignition key present
B
ignition key not present
1
0
operator code correct
C
operator code not correct
1
A crane is a machine with a long arm used to lift heavy objects. The crane will only move:
•
if the operator is present and
•
either the ignition key is present, or the operator code is correct.
The crane moving is represented by X = 1.
(i)
Write the logic expression for the crane moving.
X = … [2]
(ii)
Complete the truth table for the crane moving.
Working space
A
B
C
X
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
[4]
Question text
8
Consider the logic expression:
Z = (R OR NOT T) XOR (NOT S AND T)
(a) Draw a logic circuit for this logic expression.
Each logic gate must have a maximum of two inputs.
Do not simplify this logic expression.
R
S
Z
T
[5]
(b) Complete the truth table from the given logic expression.
Working space
R
S
T
Z
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
[4]
Question text
2
Four logic functions and five standard symbols for logic gates are shown.
Draw one line to link each logic function to its standard symbol. Not all standard symbols will be
used.
Logic function
Standard symbol
AND
XOR
NAND
OR
[4]
Question text
8
A logic circuit is to be built to control the opening of a safe used to store money. There are two
keys, A and B, and a time switch C. The safe can only open if both keys are used and the time
switch is off.
not used
0
key A
used
1
not used
0
key B
used
1
switch off
0
time switch C
switch on
1
safe cannot open
0
safe X
safe can open
1
(a) Write the logic expression for this problem.
… [3]
(b) Complete the truth table for this problem.
Working space
A
B
C
X
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
[4]
Question text
9
Consider this logic expression.
Z = (NOT A OR B) AND (B XOR C)
(a) Draw a logic circuit for this logic expression.
Each logic gate must have a maximum of two inputs.
Do not simplify this logic expression.
A
B
Z
C
[4]
(b) Complete the truth table from the given logic expression.
Working space
A
B
C
Z
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
[4]
Question text
2
Four logic gates and five standard symbols for logic gates are shown.
Draw one line to link each logic gate to its standard symbol. Not all standard symbols will be used.
Logic gate
Standard symbol
AND
OR
NAND
NOT
[4]
Question text
8
Consider this logic expression.
X = (A OR B) AND (NOT B AND C)
Complete the truth table for this logic expression.
Working space
A
B
C
X
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
[4]