Chapter 10 - Boolean Logic Homework #10 - Answers
Chapter 10 - Boolean Logic Homework #10 - Answers
Chapter 10 - Boolean Logic Homework #10 - Answers
(a) Complete the truth table for the following logic circuit: [2]
A B C
0 0 0
0 1 1
1 0 1
1 1 1
(b) Which single logic gate has the same function as the above logic circuit? [1]
OR gate
Question 2
(a) Complete the truth table for the following logic circuit: [2]
A B C
0 0 0
0 1 0
1 0 0
1 1 1
(b) Which single logic gate has the same function as the above logic circuit? [1]
AND gate
Question 3
(a) Complete the truth table for the following logic circuit, which is made up of NAND gates:
[2]
A B C
0 0 0
0 1 1
1 0 1
1 1 1
(b) What single logic gate has the same function as the above logic circuit? [1]
OR gate
Question 4
(a) Complete the truth table for the following logic circuit: [1]
A B C X
0 0 0 1
0 0 1 0
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 0
1 1 0 1
1 1 1 1
Question 5
Complete the truth table to show the output from the logic gate shown. [2]
A B X
0 0 1
0 1 0
1 0 0
1 1 0
Question 6
Complete the truth table to show the outputs from the logic circuit shown. [4]
A B C D Y
0 0 0 1 0
0 1 1 0 0
1 0 1 1 1
1 1 1 0 0
Question 7
Complete the truth table for the following logic network: [4]
A B C X
1 1 1 1
1 1 0 1
1 0 1 0
1 0 0 0
0 1 1 0
0 1 0 1
0 0 1 0
0 0 0 0
Question 8
Draw a logic circuit and truth table for the following logic problem: [9]
“A sprinkler (S) is ON if either temperature alarm (T) is ON and cooler alarm (C) is ON or vent
alarm (V) is OFF and cooler alarm (C) is ON”
Working:
Logic Circuit:
Truth table:
T C V S
1 1 1 1
1 1 0 1
1 0 1 0
1 0 0 0
0 1 1 0
0 1 0 1
0 0 1 0
0 0 0 0
Question 9
A wind turbine has a safety system which uses three inputs to a logic circuit. A certain combination
of conditions results in an output, X, from the logic circuit being equal to 1. When the value of X =
1 then the wind turbine is shut down. The following table shows which parameters are being
monitored and form the three inputs to the logic circuit.
Parameter
Parameter Binary Value Description of Condition
Description
0 < = 1000 rpm
Turbine Speed S
1 > 1000 rpm
0 < = 80° C
Bearing Temperature T
1 > 80° C
0 < 120 kph
Wind Velocity W
1 > 120 kph
The output, X, will have a value of 1 if any of the following combination of conditions occur:
either turbine speed <= 1000 rpm and bearing temperature > 80°C
or turbine speed > 1000 rpm and wind velocity > 120 kph
or bearing temperature <= 80°C and wind velocity > 120 kph.
Design the logic circuit and complete the truth table to produce a value of X =1 when any of the
three conditions above occur.
Turbine speed <= 1000 rpm and bearing temperature > 80°C
logic statement: (NOT S AND T)
Turbine speed > 1000 rpm and wind velocity > 120 kph
logic statement: (S AND W)
Bearing temperature <= 80°C and wind velocity > 120 kph
logic statement: (NOT T AND W)
X =( S .T )+(S .W )+(T .W )
S T W X
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 0
1 1 1 1
Question 10
( AB+ C ) D
Question 11
A B+( B+C )
Question 12
( AB)+(CD)
Question 13
A steel rolling mill is to be controlled by a logic network made up of AND, OR and NOT gates
only. The mill receives a stop signal (i.e. S = 1) depending on the following input bits:
Draw a logic circuit and truth table to show all the possible situations when the stop signal could be
received.
Logic Statement:
Boolean Expression:
S=( L.V )+(T .V )
Logic Circuit:
Truth Table:
T V L S
1 1 1 0
1 1 0 0
1 0 1 1
1 0 0 0
0 1 1 1
0 1 0 1
0 0 1 1
0 0 0 0
Question 14
In questions 6 to 12, 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.
Question 15
Question 16
Question 17
Question 18
Question 19
Question 20
A B C Workspace X
0 0 0 1
0 0 1 0
0 1 0 0
0 1 1 0
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 1
X= ( A+B)( B+C )
X = (A OR B) AND (B OR NOT C)
Question 21
A gas fire has a safety circuit made up of logic gates. It generates an alarm (X = 1) in response to
certain conditions.
G C L Workspace X
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 0
Question 22
A B C Workspace X
0 0 0 0
0 0 1 1
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 0
A system controls the flow of vehicles through a barrier based on three lights, A, B and C.
When a light is red, the signal is zero. When a light is green, the signal is one.
The barrier will open when the output X is one.
The barrier opens if either:
light A is red and lights B and C are both green
or
light A is green and lights B and C are both red
A B C Workspace X
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 1
1 0 1 0
1 1 0 0
1 1 1 0
Question 24
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.
A B C Workspace X
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 0
Question 25
Complete the truth tables and name the single logic gate that could replace each logic circuit:
A B X
0 0 0
0 1 0
1 0 0
1 1 1
A B X
0 0 0
0 1 1
1 0 1
1 1 1
A B C Workspace X
0 0 0 0
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 1
Question 26
Write a logic statement that corresponds with the following logic circuit.
A B C Workspace X
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 1
1 1 1 1
Question 28
Explanation
It has (at least) two inputs
Output will be high/1 if both inputs are different
Output will be high/1 if either input is high
Output will be low/0 if both inputs are high
Output will be low/0 if both inputs are low
Question 29
A B C Workspace X
0 0 0 1
0 0 1 0
0 1 0 1
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 1
A B C Workspace X
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 1
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 0
Question 30
A B C Workspace X
0 0 0 1
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 1
Question 31
A B C Workspace X
0 0 0 1
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 0
1 1 1 0
Question 32
A B C Workspace X
0 0 0 1
0 0 1 1
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 1
An alarm system (X) is enabled and disabled using either a switch (A) or a remote control (B).
There are two infra-red sensors (C, D) and one door pressure sensor (E).
The alarm sounds (X = 1) if the alarm is enabled and any one or more of the sensors is activated.
Draw a logic circuit to represent the alarm system.
Boolean Algebra
X = (A + B) . (C + D + E)
X = (A OR B) AND (C OR D OR E)
Complete the truth table for the logic expression: X = A OR (B XOR C)
A B C Workspace X
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1
Question 34
A greenhouse control system has four input parameters (H, D, T, W) and two outputs (X, Y).
The watering system turns on (X = 1) if: either it is daytime and the temperature is too high or the
humidity is too low. The fan turns on (Y = 1) if the temperature is too high and the windows are
closed. Draw a logic circuit to represent the greenhouse control system.
Complete the truth table for the logic expression: X = NOT A AND (B NAND C)
A B C Workspace X
0 0 0 1
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 0
Question 35
A student needs to design a logic circuit to model the requirements for membership of a snooker
club. Membership (X) depends on four criteria, as shown in the table:
A B C Workspace X
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 0
1 1 0 0
1 1 1 0
Question 36
B S P Workspace X
0 0 0 1
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 1
1 1 1 0
Question 37
A system is monitored using sensors. The sensors output binary values corresponding to physical
conditions, as shown in the table:
The outputs of the sensors form the inputs to a logic circuit. The output from the circuit, X, is 1 if
any of the following three conditions occur:
either oil pressure >= 3 bar and temperature >= 200°C
or
oil pressure < 3 bar and rotation > 1000 rpm or temperature >= 200°C and rotation > 1000 rpm
Draw a logic circuit to represent the above system.
Complete the truth table for this system.
P T R Workspace X
0 0 0 1
0 0 1 0
0 1 0 1
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 1
1 1 1 1
Question 38
Three digital sensors A, B and C are used to monitor a process. The outputs from the sensors are
used as the inputs to a logic circuit. A signal, X, is output from the logic circuit:
P T R Workspace X
0 0 0 1
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1
Question 39
Complete the table to show the outputs for the possible inputs to this circuit.
A B W X C S
0 0 0 1 0 0
0 1 1 1 0 1
1 0 1 1 0 1
1 1 1 0 1 0
By examining the truth table, state a possible use for this circuit in a processor.
It adds together two single bits
Question 40
X =A .( A +B)
X = A AND (NOT A OR NOT B)
Question 41
Draw a logic circuit that represents the given logic statement. Your logic gates must have a
maximum of two inputs. Do not simplify the logic statement.
Question 43
Question 44
Redraw the logic circuit using only 4 logic gates. Each logic gate used must have a maximum of
two inputs.
Complete the truth table for the given logic circuit.
A factory manufactures plastic pipes. It uses logic circuits to control the manufacturing process.
Plastic pipes of various sizes are manufactured by heating the plastic and using pressure.
The manufacturing system uses sensors to measure the pressure (P), temperature (T) and Speed (S)
of production. The inputs to the manufacturing system are:
Question 46
Question 47
A factory that manufactures cleaning products has a system that monitors conditions throughout the
manufacturing process. The inputs to the system are:
A 1 pH > 7
0 pH < = 7
T 1 Temperature < 35 °C
0 Temperature > = 35 °C
P 1 Pressure > = 80 %
0 Pressure < 80 %
The system will sound an alarm (X) when certain conditions are detected.
The alarm will sound when:
The pressure > = 80 % and the temperature > = 35 °C
or
The temperature < 35 °C and the pH > 7
Draw a logic circuit to represent the alarm system in the factory. Each logic gate must have a
maximum of two inputs.
Complete the truth table for the given logic problem.
Question 48
A bank approves a customer for an account based on the criteria in the following table.
Question 50
Question 53
Question 54
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.
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.
Question 55
Question 56
Question 57
Consider the completed truth table for the given logic statement.
There are four errors in the truth table in the output (X) column.
Identify the four incorrect outputs.
Consider the completed truth table for the given logic statement.
There are four errors in the truth table in the output (X) column.
Identify the four incorrect outputs.
Identify three other logic gates that are used in the given logic circuit.
AND
NOR
XOR
Consider the completed truth table for the given logic circuit.
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 1
Row 4
Row 7
Row 8
Question 61
Question 62
Identify two logic gates that are not included in the given logic statement.
NOR
XOR / EOR
Question 64
The truth table for a logic circuit with four inputs is shown.
Complete the truth table for the given logic statement. [4]
Question 69
Complete the truth table for the given logic statement. [4]
Question 70