8
6 (a) Complete the truth table for the given logic circuit.
Do not attempt to simplify the logic circuit.
B X
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]
© UCLES 2020 0478/12/F/M/20
9
(b) A water control system uses a switch and two pressure sensors.
The outputs of the switch and sensors are shown in the table.
Sensor or Switch Output of 1 Output of 0
Switch
On Off
(S1)
Pressure Sensor
>= 3 <3
(P1)
Pressure Sensor
>= 3 <3
(P2)
Create a logic circuit that will produce an output (X) of 1 when:
The switch S1 is on
and
either P1 is less than 3 or P2 is less than 3, but not both.
All logic gates used must have a maximum of two inputs.
S1
P1 X
P2
[4]
© UCLES 2020 0478/12/F/M/20 [Turn over
8
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
Height 1 Height is less than 500 metres
(H) 0 Height is greater than or equal to 500 metres
Ascending or 1 Aeroplane is ascending or in level flight
Descending
(A) 0 Aeroplane is descending
Speed 1 Speed is less than or equal to 470 knots
(S) 0 Speed is greater than 470 knots
© UCLES 2021 0478/12/F/M/21
9
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.
A W
[5]
© UCLES 2021 0478/12/F/M/21 [Turn over
4
2 Consider the logic statement:
X = (((A NAND B) OR (B XOR C)) AND NOT C)
(a) Draw a logic circuit to match the given logic statement.
All logic gates must have a maximum of two inputs. Do not attempt to simplify the logic
statement.
B X
[5]
(b) Complete the truth table to represent 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]
© UCLES 2020 0478/11/M/J/20
4
4 (a) Identify the name and draw the single logic gate that can replace the given logic circuits.
(i)
A
X
B
Name of gate: …………………………… Drawing of gate:
[2]
(ii)
A
X
B
Name of gate: …………………………… Drawing of gate:
[2]
(b) Complete the truth table for the given logic statement:
X = (((A OR C) AND (NOT A AND NOT C)) XOR B)
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]
© UCLES 2020 0478/12/M/J/20
7
6 Consider the given logic statement:
X = (((A XOR B) AND C) OR NOT C)
(a) Draw a logic circuit to match the given logic statement.
All logic gates must have a maximum of two inputs. Do not attempt to simplify the logic
statement.
B X
[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]
© UCLES 2020 0478/13/M/J/20 [Turn over
8
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.
B X
[6]
© UCLES 2021 0478/11/M/J/21
9
(b) Consider the completed truth table for the given logic statement.
Row Working space
A B C X
number
1 0 0 0 0
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 0
8 1 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]
© UCLES 2021 0478/11/M/J/21 [Turn over
4
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.
B X
[6]
© UCLES 2021 0478/12/M/J/21
5
(b) Consider the completed truth table for the given logic statement.
Row Working space
A B C X
number
1 0 0 0 1
2 0 0 1 1
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 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]
© UCLES 2021 0478/12/M/J/21 [Turn over
10
8 Consider the following logic circuit:
X
B
(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]
© UCLES 2021 0478/13/M/J/21
11
(b) Consider the completed truth table for the given logic circuit.
Row Working space
A B C X
number
1 0 0 0 0
2 0 0 1 1
3 0 1 0 0
4 0 1 1 0
5 1 0 0 1
6 1 0 1 1
7 1 1 0 0
8 1 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]
© UCLES 2021 0478/13/M/J/21 [Turn over
6
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.
B X
[4]
(b) Complete the truth table for the given logic statement.
A B C Working space 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]
© UCLES 2020 0478/11/O/N/20
7
(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]
5 Luke is creating a website for his t-shirt design business.
(a) He is using HTML to create the website. HTML can be separated into structure and
presentation.
(i) Give two examples of HTML structure.
Example 1 .........................................................................................................................
Example 2 .........................................................................................................................
[2]
(ii) Give two examples of HTML presentation.
Example 1 .........................................................................................................................
Example 2 .........................................................................................................................
[2]
© UCLES 2020 0478/11/O/N/20 [Turn over
8
4 Consider the logic statement:
X = (((A NAND B) NOR (B AND C)) OR C)
(a) Draw a logic circuit to match the given logic statement.
All logic gates must have a maximum of two inputs. Do not attempt to simplify the logic
statement.
B X
[4]
(b) Complete the truth table for the given logic statement.
A B C Working space 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]
© UCLES 2020 0478/12/O/N/20
8
10 Consider the following logic statement:
X = ((B AND NOT A) XOR (A OR C))
(a) Draw a logic circuit to match the given logic statement.
All logic gates must have a maximum of two inputs. Do not attempt to simplify the logic
statement.
B X
[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]
© UCLES 2020 0478/13/O/N/20
10
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.
B X
[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]
© UCLES 2021 0478/11/O/N/21
11
(c) Complete the truth table for the given logic statement.
A B C Working space 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]
11 The table contains descriptions relating to web pages and the Internet.
Complete the table with the correct terms for the given descriptions.
Term Description
the language used to create a web page
the type of software application used to display a web page
an address given to a computer, by a network, to allow the
computer to be uniquely identified
a text file sent by a web server to collect data about a user’s
browsing habits
the company that provides a connection to the Internet
[5]
© UCLES 2021 0478/11/O/N/21
10
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.
B X
[5]
© UCLES 2021 0478/12/O/N/21
11
(b) Complete the truth table for the given logic statement.
A B C Working space 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]
© UCLES 2021 0478/12/O/N/21
11
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.
B
X
[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]
© UCLES 2021 0478/13/O/N/21 [Turn over