1.3.1 Logic Gates
1.3.1 Logic Gates
Q1 2016-Nov, P13
5 Three switches, A, B and C, each send values of 0 or 1 to a logic circuit. Value X is output from the
logic circuit.
Switch A
Switch B Logic circuit Output X
Switch C
OR
B X
[5]
(b) Complete the truth table for the conditions given at the start of question 5.
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) A microprocessor regularly samples the output, X. Each sample value is stored in an 8-bit
register as shown below. One bit of this register is reserved as a parity bit.
Parity bit
1 1 1 1 1 0 0 1 Register Y
0 1 0 1 1 1 1 1 Register Z
Register .............................................[1]
Q2 2016-Nov, 12
7 (a) Complete the truth tables and name the single logic gate that could replace each logic circuit:
(i)
Working space
A A B X
X
B 0 0
0 1
1 0
1 1
(ii)
A Working space
A B X
X 0 0
0 1
B 1 0
1 1
(b) (i) Draw a logic circuit to represent the following logic statement:
B X
[4]
(ii) Complete the truth table for the logic statement in part (b)(i).
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]
Q3 2016-June, P12
7 (a)
X
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]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 5
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
B X
[5]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 6
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
(c) Re-draw the following logic circuit using NAND gates only.
B X
[4]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 7
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
Q4 2016-June, P11
5 A computer-controlled machine produces plastic sheets. The thickness of each sheet must be within a
certain tolerance. The sheets are kept below 50 °C as they move over rollers at 10 metres per second.
Binary
Parameter Description Conditions
value
1 thickness of sheet in tolerance
D sheet thickness
0 thickness of sheet out of tolerance
1 temperature < 50 °C
T temperature
0 temperature >= 50 °C
thickness is in tolerance AND (roller speed <> 10 metres/second OR temperature >= 50 °C)
OR
S X
[6]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 8
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
Working Space
D S T 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]
Q5 2015-June, P11
3 (a) Complete the truth table for the following logic circuit:
Workspace
A B C X
0 0 0
0 0 1
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 9
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
[4]
Q6 2015-June, P12
6 A gas fire has a safety circuit made up of logic gates. It generates an alarm (X = 1) in response to certain
conditions.
Binary
Input Description Conditions
value
1 gas pressure is correct
G gas pressure
0 gas pressure is too high
1 carbon monoxide level is correct
C carbon monoxide level
0 carbon monoxide level is too high
1 no gas leak is detected
L gas leak detection
0 gas leak is detected
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 10
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
C
X
[5]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 11
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
Workspace
G C L 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]
A B C
0 0
0 1
1 0
1 1
[1]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 12
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
Q7 2015-June, P11
3 (a) Complete the truth table for the following logic circuit:
Workspace
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]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 13
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
(b) Draw a logic circuit which corresponds to the following logic statement:
B X
[3]
(c) Write a logic statement which corresponds to the following logic circuit:
A
B
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
[3]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 14
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
Q8 2014-Nov,P13
5 Six statements and six values are shown below.
statement value
1
1
1
[5]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 15
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
15 (a) Complete the truth table for the following logic circuit:
A
B
A B C Working 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]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 16
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
(b) Re-draw the logic circuit shown opposite, using NAND and NOR gates only.
[2]
(c) Write a logic statement that describes the following logic circuit:
B X
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...............................................................................................................................................[3]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 17
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
Q9 2014-Nov,P12
13 (a) Complete the truth table for the following logic circuit:
A B C Working 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]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 18
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
(b) Re-draw the logic circuit shown opposite, using NAND and NOR gates only.
[2]
(c) Write a logic statement that describes the following logic circuit:
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...............................................................................................................................................[3]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 19
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
Q10 2014-June,P12
17 (a) Complete the truth table for the following logic circuit:
C
(b) Complete the truth table for the above system.
Working
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]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 20
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
(b) Write the logic statement to describe the following logic circuit:
F X
[5]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 21
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
(b) Draw a logic circuit which corresponds to the following logic statement:
B X
[3]
(c) Write a logic statement which corresponds to the following logic circuit:
........................................................................................................................................
........................................................................................................................................
........................................................................................................................................
[3]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 22
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
For
Examiner's
Q12 2013-Nov, P13 Use
11 (a) Draw the logic circuit for the following logic statement:
B X
[4]
(b) Complete the truth table for the above 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]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 23
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
Working space
A B X
0 0
0 1
1 0
1 1
[2]
(ii) What single logic gate has the same function as the above circuit?
[1]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 24
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
(b) Complete the truth table for the following logic circuit. For
Examiner's
Use
A
AND
B NOT
OR X
AND
C
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]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 25
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
Q14 2013-June,P12
For
Examiner's
Use
15 (a) Draw the logic circuit represented by the logic statement:
S X
[6]
(b) Complete the truth table for the above logic statement.
Working space
B S P 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]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 26
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
10 (a) (i) Complete the truth table for the logic circuit which is made up of NAND gates only.
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 27
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
For
Examiner's
Use
15 (a) Complete the truth table for the following logic circuit:
A
AND
B AND
AND OR X
C NOT
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 28
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
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]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 29
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
(b) The above logic circuit uses AND, OR and NOT gates. For
Name another logic gate and complete its truth table. Examiner's
Use
Name of gate
A B X
0 0
0 1
1 0
1 1
The output, X, of a logic circuit that drives the alarm must have a value of 1 if:
either carbon dioxide pressure too low and temperature < = 300°C
or water pressure > 10 bar and temperature > 300°C The inputs
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 30
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
(a) Draw the required logic circuit using AND, OR and NOT gates only.
[5]
P T W 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]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 31
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
B
X
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]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 32
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
For
Q19 2012-June, 11 Examiner'
s Use
12 (a) (i) Complete the truth table for the following logic circuit, which is made up of NAND
gates:
A B X
0 0
0 1
1 0
1 1
[2]
(ii) What single logic gate has the same function as the above logic circuit?
[1]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 33
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
(b) Complete the truth table for the following logic circuit: For
Examiner's
A Use
AND
B
OR X
OR
C NOT
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]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 34
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
(a) Draw the logic circuit for the above system using these logic gates.
NOT AND OR
[5]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 35
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
Complete the truth table for this alarm system. [4] For
Examiner'
s Use
A T S Y
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 36
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
either (i) pressure < 5 bar AND revs > 8000 rpm
(a) Draw the logic circuit for the above system using these logic gates.
NOT AND OR
[6]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 37
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
(b) Complete the truth table for this alarm system. For
Examiner'
s Use
P R T 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]
A NAND
NAND C
B NAND
A B C
0 0
0 1
1 0
1 1
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 38
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
(ii) Which single logic gate has the SAME function as the above logic circuit?
………………………………………………………………………………………… [1]
(b) (i) Complete the truth table for the following logic circuit:
A NOR
NOR C
B NOR
A B C
0 0
0 1
1 0
1 1
[2]
(ii) Which single logic gate has the SAME function as the above logic circuit?
………………………………………………………………………………………… [1]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 39
[email protected], 0300-8268885
CAMBRIDGE COMPUTER SCIENCE AHMED THAKUR
Q23 2011-June,P11
10 (a) Two logic gates are the AND gate and the OR gate. Complete the truth tables for
these two gates:
A B X A B X
0 0 0 0
0 1 0 1
1 0 1 0
1 1 1 1
[2]
(b) Complete the truth table for the following logic circuit:
A
AND
B OR X
AND
C NOT
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]
https://www.facebook.com/groups/OAComputers/
AHMED THAKUR Page 40
[email protected], 0300-8268885