Logic Circuits Topicals
Logic Circuits Topicals
*space is provided to draw logic circuits in the exam, but it is not shown in this file.
Q.
a) Complete the truth table for the following logic circuit: [4]
2210 Page 1
Ans.
a)
c) X is 1 if: (A is 1 OR B is 1) (1 mark)
AND (1 mark)
(B is 1 OR C is NOT 1) (1 mark)
2210 Page 2
(B is 1 OR C is NOT 1) (1 mark)
accept equivalent ways of writing this:
e.g. (A OR B = 1) AND (B OR NOT C = 1)
e.g. (A OR B) AND (B OR NOT C)
e.g. (A + B) (B + C)
Q. A gas fire has a safety circuit made up of logic gates. It generates an alarm (X
= 1) in response to certain conditions.
R.
c) Complete the truth table for the XOR gate: [1] (Q6/12/M/J/15)
A B C
0 0
0 1
1 0
1 1
Ans.
a) 1 mark per correct logic gate, correctly connected
2210 Page 3
b)
2210 Page 4
b) Complete the truth table for this alarm system. [4] (Q3/01/SP/16)
Ans.
a) 1 mark for each logic gate correctly connected
b)
2210 Page 5
Q. 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.
Three parameters need to be monitored all the time.
Ans.
2210 Page 6
Q.
2210 Page 7
[4]
b) Draw a logic circuit corresponding to the following logic statement:
X = 1 if ( ( A is 1 OR B is 1 ) AND ( A is 1 AND B is 1 ) ) OR ( C is NOT 1 ) [5]
c) Re-draw the following logic circuit using NAND gates only.
[4] (Q7/12/M/J/16)
Ans.
2210 Page 8
a) Complete the truth tables and name the single logic gate that could replace
each logic circuit:
2210 Page 9
(Q7/12/O/N/16)
2210 Page 10
(Q7/12/O/N/16)
Ans.
2210 Page 11
Q. 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.
2210 Page 12
a)
b) Write a logic statement that corresponds with the following logic circuit. [3]
(10/11/M/J/17)
2210 Page 13
Ans.
a)
2210 Page 14
Q. Draw a logic circuit to represent the logic statement:
X = 1 if (A is NOT 1 AND B is 1) AND (A is NOT 1 AND C is NOT 1) OR (B is 1 AND C is 1)
[7] (Q7/12/O/N/17)
Ans.
2210 Page 15
a)
b)
Ans.
2210 Page 16
a)
b)
2210 Page 17
Q. A greenhouse uses a system to monitor the conditions that plants need to
grow.The inputs to the system are:
The system will sound an alarm when certain conditions are detected.
Alarm (X) will sound (=1) when:
window is closed and temperature >=26°C
or
temperature <26°C and humidity >=50%
Draw a logic circuit to represent the system. [5] (Q3/12/O/N/18)
Ans.
2210 Page 18
Q. A logic circuit is shown:
2210 Page 19
a)
b)
2210 Page 20
single logic gate ....................
Draw the single logic gate: [2] (q2/11/M/J/19)
Ans.
(Q8/12/O/N/19)
Ans.
• X = 1 if (A is 1 XOR C is 1) OR (B is 1 NAND C is NOT 1)
• X = (A XOR C) OR (B NAND NOTC)
One mark for each bullet:
• (A XOR C)
• OR
• (B NAND NOTC)
2210 Page 21
Q. A factory that manufactures cleaning products has a system that monitors
conditions throughout the manufacturing process. The inputs to the system
are:
R.
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
a) Draw a logic circuit to represent the alarm system in the factory. Each logic
gate must have a maximum of two inputs. [4]
b) Complete the truth table to represent the alarm system. [4] (Q4/13/O/N/19)
Ans.
2210 Page 22
Ans.
a)
b)
2210 Page 23
Q.
(Q4/12/M/J/20)
Ans.
2210 Page 24
a)
b)
2210 Page 25
(Q4/12/O/N/20)
Ans.
a)
2210 Page 26
b)
Ans.
2210 Page 27
Ans.
b)
2210 Page 28
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] (Q6/11/M/J/21)
Ans.
a) One mark per each correct logic gate, with correct input:
b) − Row 1
− Row 3
− Row 4
− Row 5
2210 Page 29
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](Q3/12/M/J/21)
Ans.
a)
2210 Page 30
c) Identify two logic gates that are not included in the given logic statement. [2]
(Q11/12/O/N/21)
Ans.
2210 Page 31
Q.
(Q6/3175/12/M/J/21)
Ans.
2210 Page 32
a)
Ans.
a) One mark for each correct logic gate with correct input(s)
2210 Page 33
Three marks for 6/7 correct outputs
Two marks for 4/5 correct outputs
One mark for 2/3 correct outputs
Ans.
a) One mark for each correct logic gate with correct input(s)
2210 Page 34
Q. NAND, OR and XOR are three types of logic gate.
a) Four statements are shown about the logic gates. Tick (✓) to show which
statements apply to each logic gate.
Some statements may apply to more than one logic gate. [4]
b) NAND, OR, XOR, NOR and NOT are all examples of logic gates.
State the name of one other logic gate and complete its truth table.
Logic gate ................ Truth table:
[2] A B OUTPUT
(Q7/12/O/N/22) 0 0
0 1
1 0
1 1
Ans.
a) One mark for each correct row
b) One mark for a correct logic gate, one mark for a corresponding truth table
2210 Page 35
Ans.
a) One mark for each correct logic gate with the correct inputs
2210 Page 36