Which gate is represented by the following truth table? A B C | Q 0 0 0 | 1 0…

2021

Which gate is represented by the following truth table?

A B C | Q
0 0 0 | 1
0 0 1 | 1
0 1 0 | 1
0 1 1 | 1
1 0 0 | 1
1 0 1 | 1
1 1 0 | 1
1 1 1 | 0

  1. A.

    NOR

  2. B.

    NAND

  3. C.

    XOR

  4. D.

    XNOR

Attempted by 1260 students.

Show answer & explanation

Correct answer: B

Answer: NAND gate

A 3-input NAND gate is the complement of the AND operation. Its output is 0 only when all inputs are 1; otherwise its output is 1.

From the truth table:
- For 000, 001, 010, 011, 100, 101, and 110, the output Q is 1.
- For 111, the output Q is 0.

This exactly matches a NAND gate.

NOR would be 1 only for 000 and 0 for all other combinations, so NOR is not correct. XOR/XNOR parity patterns also do not match this table.

Explore the full course: Up Lt Grade Assistant Teacher 2025