Following truth table represents which logic gate –

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.

Logic Gates in past papers

22 questions from this chapter have appeared across 18 exam years.

Keep going

Practise Logic Gates All 22 questions This chapter in 2001 AIPMT