2018 A/L Physics Past Paper · Question 10 (English Medium)
Gate equivalent to the logic circuit
The logic circuit shown in figure (a) is equivalent to
Answer and explanation
Answer: (5) Figure (5) — XNOR
What the question asks
The inputs are and .
The top AND gate gets and . The bottom AND gate gets and through the NOT gates.
Both outputs go into the OR gate.
Relevant theory
The logic expression for the XNOR gate can be given as "When only one of the inputs A or B is 1, the output is 0"
This gives 1 only when the inputs are equal.
Reading the options
The F column is . when the inputs are equal.
A = 0, B = 0
F = 1
. The bottom AND gives 1. So the OR gives 1.
A = 0, B = 1
F = 0
and . Both AND gates give 0.
A = 1, B = 0
A = 1, B = 1
. The top AND gives 1. So the OR gives 1.
Why the other options fail
AND gives . It is wrong in the row .
OR gives . It is wrong in three rows.
NAND gives . It is wrong in the rows with and in the last row.
XOR gives . It is the opposite in every row.
Conclusion
The table is . That is the XNOR gate.
The answer is option (5).
Think of XNOR as the "same gate".
When the inputs are the same, the output is 1.
Exam tip