1.3.1 Logic Gates
1.3.1 Logic Gates
1.3.1 Logic Gates
Other Questions:
In questions 1 to 6, produce truth tables from the given logic networks. Remember that if there are
TWO inputs then there will be four (22) possible outputs and if there are THREE inputs there will be
eight (23) possible outputs.
i.e.
Page 1 of 55
Computer Science 2210
Topical Past Papers
Page 2 of 55
Computer Science 2210
Topical Past Papers
Page 3 of 55
Computer Science 2210
Topical Past Papers
(7) A computer will only operate if three switches P, S and T are correctly set. An output signal
(X = 1) will occur if P and S are both ON or if P is OFF and S and T are ON. Design a logic network
and draw the truth table for this network.
(8) A traffic signal system will only operate if it receives an output signal (D = 1). This can only
occur if:
either (a) signal A is red (i.e. A = 0)
or (b) signal A is green (i.e. A = 1) and signals B and C are both red (i.e. B and C are both 0)
Design a logic network and draw a truth table for the above system.
(9) A chemical plant gives out a warning signal (W = 1) when the process goes wrong. A logic
network is used to provide input and to decide whether or not W = 1.
(10) A power station has a safety system based on three inputs to a logic network. A warning
signal (S = 1) is produced when certain conditions occur based on these 3 inputs:
Page 4 of 55
Computer Science 2210
Topical Past Papers
(b) Complete the truth table for the following logic circuit:
Page 5 of 55
Computer Science 2210
Topical Past Papers
(ii) Which single logic gate has the SAME function as the above logic circuit? [1]
Page 6 of 55
Computer Science 2210
Topical Past Papers
Page 7 of 55
Computer Science 2210
Topical Past Papers
Page 8 of 55
Computer Science 2210
Topical Past Papers
Page 9 of 55
Computer Science 2210
Topical Past Papers
Page 10 of 55
Computer Science 2210
Topical Past Papers
Page 11 of 55
Computer Science 2210
Topical Past Papers
Page 12 of 55
Computer Science 2210
Topical Past Papers
Page 13 of 55
Computer Science 2210
Topical Past Papers
Page 14 of 55
Computer Science 2210
Topical Past Papers
Page 15 of 55
Computer Science 2210
Topical Past Papers
Page 16 of 55
Computer Science 2210
Topical Past Papers
Page 17 of 55
Computer Science 2210
Topical Past Papers
Page 18 of 55
Computer Science 2210
Topical Past Papers
10(a) (i) Complete the truth table for the following logic circuit which is made up of NORgates
only.
[2]
(ii) What single logic gate has the same function as the above circuit? [1]
……………………………………………………………………………………………………………
…………………………………………………………………………………………………………...
(b) Complete the truth table for the following logic circuit.
Page 19 of 55
Computer Science 2210
Topical Past Papers
11 (a) Draw the logic circuit for the following logic statement:
X = 1 if [ A is NOT 1 AND B is 1 ] AND [ B is 1 OR C is 1 ]
Page 20 of 55
Computer Science 2210
Topical Past Papers
Page 21 of 55
Computer Science 2210
Topical Past Papers
Page 23 of 55
Computer Science 2210
Topical Past Papers
Page 24 of 55
Computer Science 2210
Topical Past Papers
A Level
[6]
Page 25 of 55
Computer Science 2210
Topical Past Papers
[6]
Page 26 of 55
Computer Science 2210
Topical Past Papers
[6]
[2]
Page 27 of 55
Computer Science 2210
Topical Past Papers
[4]
[5]
(b) State a possible use for this circuit in a processor. [1]
Page 28 of 55
Computer Science 2210
Topical Past Papers
[2]
(b) Complete the table to show the outputs for the possible inputs to this
circuit.
[4]
Page 29 of 55
Computer Science 2210
Topical Past Papers
[2]
(b) Complete the truth table to show the outputs from the logic circuit
shown.
Page 30 of 55
Computer Science 2210
Topical Past Papers
[4]
Page 31 of 55
Computer Science 2210
Topical Past Papers
9 (a) Complete the truth table to show the output from the logic gate
shown. [2]
Page 32 of 55
Computer Science 2210
Topical Past Papers
[4]
Page 33 of 55
Computer Science 2210
Topical Past Papers
(ii) State a single logic gate which would have the same final outcome as this
pair of logic gates. [1]
Page 34 of 55
Computer Science 2210
Topical Past Papers
[4]
Page 35 of 55
Computer Science 2210
Topical Past Papers
(ii) State a single logic gate which would have the same final outcome as his
pair of logic gates. [1]
[4]
Page 36 of 55
Computer Science 2210
Topical Past Papers
[1]
(ii) State a single logic gate which would have the same final outcome as this
pair oflogic gates. [1]
(b) Complete the truth table for this logic circuit.
[4]
Page 37 of 55
Computer Science 2210
Topical Past Papers
[4]
(b) Complete the truth table for the above logic statement:
Page 38 of 55
Computer Science 2210
Topical Past Papers
[5]
(b) Complete the truth table for the above logic statement:
Page 39 of 55
Computer Science 2210
Topical Past Papers
[4]
Page 40 of 55
Computer Science 2210
Topical Past Papers
10 (a) (i) Complete the truth table for the following logic circuit which is made up of
NORgates only.
[2]
(ii) What single logic gate has the same function as the above circuit? [1]
(b) Complete the truth table for the following logic circuit.
Page 41 of 55
Computer Science 2210
Topical Past Papers
[4]
Page 42 of 55
Computer Science 2210
Topical Past Papers
[4]
Page 43 of 55
Computer Science 2210
Topical Past Papers
[4]
8 A car has an engine management system (EMS). The EMS outputs the following signals.
Page 44 of 55
Computer Science 2210
Topical Past Papers
Page 45 of 55
Computer Science 2210
Topical Past Papers
Page 46 of 55
Computer Science 2210
Topical Past Papers
Page 47 of 55
Computer Science 2210
Topical Past Papers
8 (a) Complete the truth table for the following logic circuit:
Page 48 of 55
Computer Science 2210
Topical Past Papers
Page 49 of 55
Computer Science 2210
Topical Past Papers
Page 50 of 55
Computer Science 2210
Topical Past Papers
3 (a) Complete the truth table for the following logic circuit:
Page 51 of 55
Computer Science 2210
Topical Past Papers
(c) Write a logic statement which corresponds to the following logic circuit:
Page 52 of 55
Computer Science 2210
Topical Past Papers
6 A gas fire has a safety circuit made up of logic gates. It generates an alarm (X = 1) in response
to certain conditions.
Page 53 of 55
Computer Science 2210
Topical Past Papers
Page 54 of 55
Computer Science 2210
Topical Past Papers
[1]
Page 55 of 55