Chapter 3 - Logic Gates
Chapter 3 - Logic Gates
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]
A-
B- ------x
c-
[6]
(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]
Workspace
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]
A----1
8----t ---x
c----t
[3]
(c) Write a logic statement which corresponds to the following logic circuit:
A-------------\
8-------------t
[3]
(a) Draw a logic circuit to match the given logic statement. Each logic gate used must have a
maximum of two inputs. Do not attempt to simplify the logic statement.
A-----1
B-----1 --x
C-----1
[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]
He uses three different logic gates in his circuit. Each logic gate has a maximum of two inputs.
(a) "The only time the output will be 1 is when both inputs are 1."
[2]
(b) "The only time the output will be 1 is when both inputs are O."
[2]
(c) "The only time the output will be O is when both inputs are 1."
[2]
(i)
A
[2]
(ii)
A
[2]
(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]
............................................................................................................................................. [3]
(b) Complete the truth table for the given logic circuit.
Working space
A 8 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-+------------------1
__
...._
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]
A-
B- ,-..--x
c-
[6]
(c) Complete the truth table for the logic statement given in part (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]
Binary
Input Condition
value
1 Window is open
0 Window is closed
1 Temperature >=26 °C
T
0 Temperature <26 °c
1 Humidity >=50%
H
0 Humidity <50%
or
w-
T- -x
H-
[5]
Binary
Parameter Description Conditions
value
1 thickness of sheet in tolerance
D sheet thickness
0 thickness of sheet out of tolerance
1 roller speed = 1 O metres/second
roller speed
0 roller speed<> 1 O metres/second
1 temperature< 50 ° C
temperature
0 temperature>= 50 ° C
OR
D---
s--- ---x
T---
[6]
(a) The system will sound an alarm (X) when certain conditions are detected.
or
Draw a logic circuit to represent the alarm system in the factory. Each logic gate must have a
maximum of two inputs.
A-----1
T-----1 --x
P-----1
[4]
--------:-_1 ___
Switch A
Switch B
Switch C
L
ogic circuit
:-----11..� Output x
_ _ _ _ - - - __
Output Xhas a value of 1 depending on the following conditions:
OR
A----1
8----t ---x
c---
[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]
The outputs of the switch and sensors are shown in the table.
The switch S1 is on
and
S1-
P1- ,____ X
P2-
[4]
__
A--
e--,,__
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]
[2]
(c) Write a logic statement that describes the following logic circuit:
A--------1
B ----------1
............................................................................................................................................... [3]
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]
A----1
8----1 ---x
c--.....
[5]
A----1
8----1 ---x
c---
[4]
(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
A-
B- ------x
c-
[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]
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 logic circuit?
[1]
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]