Boolean logic – IGCSE Computer Science (0478)

75 questions · page 2 of 5

0 / 0Answer a question to start your score.
Quick quiz (10)Saved 0
Advertisement
16
0478/23/O/N/24 · Question 8Oct/Nov 2024Paper 234 marks
Loading question…
Question text

8
A logic circuit is to be built to control the automatic opening of a window. The window W opens if
the temperature T is too high, the heater H is off, and the air conditioning A is off.
air conditioning off
0
air conditioning A
air conditioning on
1
not too high
0
temperature T
too high
1
heater off
0
heater H
heater on
1
window closed
0
window W
window open
1
Complete the truth table for this problem.
A
T
H
W
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]
ĬÑĊ®Ġ´íÈõÏĪÅĊßùµþ×

17
0478/21/M/J/24 · Question 8May/June 2024Paper 219 marks
Loading question…
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]

18
0478/22/M/J/24 · Question 2May/June 2024Paper 224 marks
Loading question…
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]

Advertisement
19
0478/22/M/J/24 · Question 8May/June 2024Paper 227 marks
Loading question…
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]

20
0478/23/M/J/24 · Question 2May/June 2024Paper 238 marks
Loading question…
Question text

2
(a) Four logic gate symbols and five logic functions are shown.
Draw one line to link each logic gate symbol to the appropriate logic function.
Not all logic functions will be used.
Logic gate symbol
Logic function
AND
XOR
NOT
NAND
OR
[4]
(b) Complete the truth table for this logic circuit.
A
B
Z
C
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]

21
0478/22/F/M/24 · Question 7Feb/March 2024Paper 228 marks
Loading question…
Question text

7
Consider the logic expression:
X = (A XOR B) AND (NOT B AND 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
X
C
[4]
(b) Complete the truth table from 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]

22
0478/21/O/N/23 · Question 1Oct/Nov 2023Paper 211 marks
Loading question…
Question text

1
Tick (3) one box to show which operator means less than or equal to.
A
OR
B
<
C
<=
D
>=
[1]

23
0478/21/O/N/23 · Question 7Oct/Nov 2023Paper 218 marks
Loading question…
Question text

7
Consider this logic circuit.
A
B
X
C
(a) Write a logic expression for this logic circuit. Do not attempt to simplify this logic expression.
X = …
…
[4]
(b) Complete the truth table from 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]

Advertisement
24
0478/22/O/N/23 · Question 9Oct/Nov 2023Paper 228 marks
Loading question…
Question text

9
Consider the logic expression:
Z = (A NAND B) OR NOT (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
Z
B
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]

25
0478/23/O/N/23 · Question 6Oct/Nov 2023Paper 2311 marks
Loading question…
Question text

6
There are three descriptions of logic gates. Each logic gate has two inputs A and B with one
output X.
Identify each logic gate.
Complete a truth table for each logic gate.
(a) The only time the output is 1 is when both inputs are 1.
A
B
X
Logic gate …
0
0
Complete the truth table for this description.
0
1
1
0
1
1
[2]
(b) The output is 1 when both inputs are different.
A
B
X
Logic gate …
0
0
Complete the truth table for this description.
0
1
1
0
1
1
[2]
(c) The only time the output is 1 is when both inputs are 0.
A
B
X
Logic gate …
0
0
Complete the truth table for this description.
0
1
1
0
1
1
[2]
(d) Consider this logic expression:
X = (NOT A OR NOT B) OR NOT C
Draw a logic circuit for this logic expression. Each logic gate must have a maximum of two
inputs. Do not attempt to simplify this logic expression.
A
B
X
C
[5]

26
0478/21/M/J/23 · Question 9May/June 2023Paper 218 marks
Loading question…
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]

27
0478/22/M/J/23 · Question 2May/June 2023Paper 224 marks
Loading question…
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]

28
0478/22/M/J/23 · Question 8May/June 2023Paper 224 marks
Loading question…
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]

Advertisement
29
0478/23/M/J/23 · Question 8May/June 2023Paper 238 marks
Loading question…
Question text

8
Consider the logic expression:
Z is 1 if (A = 1 AND C = NOT 1) AND (B = 1 NOR C = 1)
(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]

30
0478/22/F/M/23 · Question 7Feb/March 2023Paper 229 marks
Loading question…
Question text

7
Consider this logic expression.
X = (A OR NOT B) AND (B AND NOT 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
X
C
[5]
(b) Complete the truth table from 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]

Advertisement