Boolean logic – IGCSE Computer Science (0478)

75 questions · page 3 of 5

0 / 0Answer a question to start your score.
Quick quiz (10)Saved 0
Advertisement
31
0478/11/O/N/22 · Question 5Oct/Nov 2022Paper 1111 marks
Loading question…
Question text

5
Consider the logic statement:
X = ((((B OR C) AND NOT C) NAND B) OR NOT A)
(a) Draw a logic circuit to represent the given logic statement.
Do not attempt to simplify the logic statement. All logic gates must have a maximum of two
inputs.
A
B
X
C
[6]
(b) State the name of one logic gate that is not included in the given logic statement.
… [1]
(c) Complete the truth table for the given logic statement.
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]

32
0478/12/O/N/22 · Question 7Oct/Nov 2022Paper 126 marks
Loading question…
Question text

7
NAND, OR and XOR are three types of logic gate.
(a) Four statements are shown about the logic gates.
Tick (✓) to show which statements apply to each logic gate. Some statements may apply to
more than one logic gate.
NAND
OR
XOR
Statement
(✓)
(✓)
(✓)
if both inputs are 1, the output is 1
if both inputs are different from each other, the output is 1
if both inputs are 0, the output is 0
if both inputs are the same as each other, the output is always 0
[4]
(b) NAND, OR, XOR, NOR and NOT are all examples of logic gates.
State the name of one other logic gate and complete its truth table.
Logic gate …
Truth table:
A
B
Output
0
0
0
1
1
0
1
1
[2]
Permission to reproduce items where third-party owned material protected by copyright is included has been sought and cleared where possible. Every
publisher will be pleased to make amends at the earliest possible opportunity.
To avoid the issue of disclosure of answer-related information to candidates, all copyright acknowledgements are reproduced online in the Cambridge
Assessment International Education Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download
at www.cambridgeinternational.org after the live examination series.
Cambridge Assessment International Education is part of Cambridge Assessment. Cambridge Assessment is the brand name of the University of Cambridge

33
0478/13/O/N/22 · Question 5Oct/Nov 2022Paper 1310 marks
Loading question…
Question text

5
Consider the logic statement:
X = ((((B AND C) OR NOT C) NOR B) XOR NOT A)
(a) Draw a logic circuit to represent the given logic statement.
Do not attempt to simplify the logic statement. All logic gates must have a maximum of two
inputs.
A
X
B
C
[6]
(b) Complete the truth table for the given logic statement.
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
34
0478/11/M/J/22 · Question 8May/June 2022Paper 1110 marks
Loading question…
Question text

8
Consider the following logic statement:
X = (((A AND NOT B) OR (NOT (B NOR C))) AND C)
(a) Draw a logic circuit to represent the given logic statement.
Do not attempt to simplify the logic statement. All logic gates must have a maximum of two
inputs.
A
X
B
C
[6]
(b) Complete the truth table for the given logic statement.
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]

35
0478/12/M/J/22 · Question 5May/June 2022Paper 129 marks
Loading question…
Question text

5
Consider the following logic statement:
X = ((A OR B) AND (NOT (B XOR C)) AND C)
(a) Draw a logic circuit to represent the given logic statement.
Do not attempt to simplify the logic statement. All logic gates must have a maximum of two
inputs.
A
B
X
C
[5]
(b) Complete the truth table for the given logic statement.
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]

36
0478/13/M/J/22 · Question 3May/June 2022Paper 138 marks
Loading question…
Question text

3
AND, OR and XOR are three examples of logic gates.
(a) Four statements are given about these logic gates.
Tick (3) to show which statements apply to each logic gate. Some statements may apply to
more than one logic gate.
AND
OR
XOR
Statement
(3)
(3)
(3)
if both inputs are 0, the output is 0
if both inputs are different, the output is 1
if both inputs are 1, the output is 1
if both inputs are the same, the output is always 0
[4]
(b) NOT, AND, OR and XOR are all examples of logic gates.
State the name of two other logic gates and complete a truth table for each.
Logic gate 1 …
Truth table:
A
B
Output
0
0
0
1
1
0
1
1
Logic gate 2 …
Truth table:
A
B
Output
0
0
0
1
1
0
1
1
[4]

37
0478/12/F/M/22 · Question 3Feb/March 2022Paper 127 marks
Loading question…
Question text

3
(a) Tick (3) to show which logic gates will give an output of 1 for the given inputs A and B.
Inputs
AND
OR
NAND
NOR
XOR
A = 1
B = 1
A = 0
B = 0
A = 1
B = 0
[3]
(b) Draw the logic circuit for the given logic statement:
X = (A XOR B) AND (B OR NOT C)
Do not attempt to simplify the logic statement. All logic gates must have a maximum of two
inputs.
A
B
X
C
[4]

38
0478/11/O/N/21 · Question 10Oct/Nov 2021Paper 1111 marks
Loading question…
Question text

10 Consider the following logic statement:
X = (((A OR B) OR (NOT (B XOR C))) AND C)
(a) Draw a logic circuit to represent the given logic statement.
Do not attempt to simplify the logic statement. All logic gates must have a maximum of two
inputs.
A
B
X
C
[5]
(b) State the name of a logic gate that does not appear in the logic statement and draw the
symbol for the logic gate.
Name of logic gate …
Logic gate symbol:
[2]
(c) Complete the truth table for the given logic statement.
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
39
0478/12/O/N/21 · Question 11Oct/Nov 2021Paper 1211 marks
Loading question…
Question text

11
Consider the following logic statement:
X = (((A AND B) OR (NOT (B OR C))) NAND C)
(a) Draw a logic circuit to represent the given logic statement.
Do not attempt to simplify the logic statement. All logic gates must have a maximum of two
inputs.
A
B
X
C
[5]
(b) Complete the truth table for the given logic statement.
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]
(c) Identify two logic gates that are not included in the given logic statement.
Logic gate 1 …
Logic gate 2 …
[2]
Permission to reproduce items where third-party owned material protected by copyright is included has been sought and cleared where possible. Every
publisher will be pleased to make amends at the earliest possible opportunity.
To avoid the issue of disclosure of answer-related information to candidates, all copyright acknowledgements are reproduced online in the Cambridge
Assessment International Education Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download
at www.cambridgeinternational.org after the live examination series.
Cambridge Assessment International Education is part of the Cambridge Assessment Group. Cambridge Assessment is the brand name of the University of

40
0478/13/O/N/21 · Question 8Oct/Nov 2021Paper 1310 marks
Loading question…
Question text

8
Consider the following logic statement:
X = (((A OR B) AND (NOT(B XOR C))) OR NOT C)
(a) Draw a logic circuit to represent the given logic statement.
Do not attempt to simplify the logic statement. All logic gates must have a maximum of two
inputs.
A
B
X
C
[6]
(b) Complete the truth table for the given logic statement.
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]

41
0478/11/M/J/21 · Question 6May/June 2021Paper 1110 marks
Loading question…
Question text

6
Consider the logic statement:
X = (((A AND B) OR (C AND NOT B)) XOR NOT C)
(a) Draw a logic circuit to represent the given logic statement.
Do not attempt to simplify the statement. All logic gates must have a maximum of two inputs.
A
B
X
C
[6]
(b) Consider the completed truth table for the given logic statement.
Row
Working space
A
B
C
X
number
0
1
0
0
0
1
2
0
0
1
0
3
0
1
0
1
4
0
1
1
0
5
1
0
0
1
6
1
0
1
0
7
1
1
0
1
8
1
1
1
There are four errors in the truth table in the output (X) column.
Identify the four incorrect outputs.
Write the row number to identify each incorrect output.
Row …
Row …
Row …
Row …
[4]

42
0478/12/M/J/21 · Question 3May/June 2021Paper 1210 marks
Loading question…
Question text

3
Consider the logic statement:
X = ((((NOT A AND B) OR C) AND B) NOR (B OR C))
(a) Draw a logic circuit to represent the given logic statement.
Do not attempt to simplify the statement. All logic gates must have a maximum of two inputs.
A
B
X
C
[6]
(b) Consider the completed truth table for the given logic statement.
Row
Working space
A
B
C
X
number
1
1
0
0
0
1
2
0
0
1
1
3
0
1
0
0
4
0
1
1
1
5
1
0
0
0
6
1
0
1
1
7
1
1
0
1
8
1
1
1
There are four errors in the truth table in the output (X) column.
Identify the four incorrect outputs.
Write the row number to identify each incorrect output.
Row …
Row …
Row …
Row …
[4]

43
0478/13/M/J/21 · Question 8May/June 2021Paper 137 marks
Loading question…
Question text

8
Consider the following logic circuit:
A
X
B
C
(a) Two NOT gates are used in the given logic circuit.
Identify three other logic gates that are used in the given logic circuit.
1 …
2 …
3 …
[3]
(b) Consider the completed truth table for the given logic circuit.
Row
Working space
A
B
C
X
number
0
1
0
0
0
1
2
0
0
1
0
3
0
1
0
0
4
0
1
1
1
5
1
0
0
1
6
1
0
1
0
7
1
1
0
1
8
1
1
1
There are four errors in the truth table in the output (X) column.
Identify the four incorrect outputs.
Write the row number to identify each incorrect output.
Row …
Row …
Row …
Row …
[4]

Advertisement
44
0478/12/F/M/21 · Question 5Feb/March 2021Paper 128 marks
Loading question…
Question text

5
Computers use logic gates.
(a) State the single logic gate that produces each truth table.
Truth table
Logic gate
A
B
Output
0
0
1
0
1
1
…
1
0
1
1
1
0
A
B
Output
0
0
0
0
1
1
…
1
0
1
1
1
0
A
B
Output
0
0
1
0
1
0
…
1
0
0
1
1
0
[3]
(b) An aeroplane has a warning system that monitors the height of the aeroplane above the
ground, whether the aeroplane is ascending or descending, and the speed of the aeroplane.
Input
Binary value
Condition
1
Height is less than 500 metres
Height
(H)
0
Height is greater than or equal to 500 metres
Ascending or
1
Aeroplane is ascending or in level flight
Descending
0
Aeroplane is descending
(A)
1
Speed is less than or equal to 470 knots
Speed
(S)
0
Speed is greater than 470 knots
The warning system will produce an output of 1 that will sound an alarm (W) when either of
these conditions apply:
Height is less than 500 metres and the aeroplane is descending
or
The aeroplane is descending and speed is greater than 470 knots
Draw a logic circuit to represent the warning system.
H
A
W
S
[5]

45
0478/11/O/N/20 · Question 4Oct/Nov 2020Paper 1112 marks
Loading question…
Question text

4
Consider the given logic statement:
X = ((NOT (A NAND B)) OR (B NOR C))
(a) Draw a logic circuit to represent the given logic statement.
All logic gates must have a maximum of two inputs. Do not attempt to simplify the logic
statement.
A
B
X
C
[4]
(b) Complete the truth table for the given logic statement.
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]
(c) The logic statement given has four different logic gates.
Identify two other logic gates and complete a truth table for each.
Logic gate
Truth table
A
B
X
0
0
…
0
1
1
0
1
1
Logic gate
Truth table
A
B
X
0
0
…
0
1
1
0
1
1
[4]

Advertisement