Looking for classes? Ksquare Career Institute, Bengaluru →
Following truth table represents which logic gate –


A
XOR
B
NOT
C
NAND
D
AND
Detailed Solution
The output is 0 only when both inputs are 1; it is 1 for all other input combinations.
This is the complement of the AND output: $C = \overline{A \cdot B}$
AND would give 1, 0, 0, 0 for the four rows; its complement gives 0, 1, 1, 1, exactly as in the table.
XOR would give 0 for A = B = 0, and NOT has only one input.
So the truth table represents the NAND gate.
This is the complement of the AND output: $C = \overline{A \cdot B}$
AND would give 1, 0, 0, 0 for the four rows; its complement gives 0, 1, 1, 1, exactly as in the table.
XOR would give 0 for A = B = 0, and NOT has only one input.
So the truth table represents the NAND gate.
