A logic circuit that provides a LOW output when both inputs are HIGH or both inputs are LOW is
- (A)
AND
- (B)
NAND
- (C)
XNOR
- (D)
XOR
A logic circuit that provides a LOW output when both inputs are HIGH or both inputs are LOW is
AND
NAND
XNOR
XOR
ANSWER
The circuit is an XOR gate, option (D).
Official answer: DSource: ISRO's revised and final answer key of 16 February 2024
Take HIGH and LOW . The question gives two rows of the truth table: inputs give output , and inputs give output . It states nothing about the mixed inputs and .
Check each option against both stated rows. AND: but , so the row fails. NAND: , so the row fails. XNOR: and , so both rows fail (it gives HIGH when the inputs are equal).
XOR: . For : . For : . Both stated rows give LOW.
XOR is the only option that gives LOW for both and . For the mixed inputs and it gives HIGH, so its output is HIGH exactly when the inputs differ.
Hence the gate is XOR.
KEY IDEA
XOR outputs LOW when its two inputs are equal and HIGH when they differ. XNOR is the opposite: HIGH when the inputs are equal.
WATCH OUT FOR
Choosing XNOR because it is the gate that responds to 'both HIGH or both LOW'. XNOR gives HIGH for equal inputs, but the question asks for LOW.
From the ISRO CS 2023 paper. Every question of this paper · The full paper (PDF, ISRO) · All 6 ISRO Boolean logic questions, with notes