Q139 / 180 · COMEDK 2021 · Physics
Find the logic gate, when both the inputs are high but the output is low and vice-versa.
- AAND
- BOR
- Correct answerCNAND
- DNOR
Solution
The logic gate described has the following truth table behavior:
When both inputs are high (1, 1), the output is low (0).
When both inputs are low (0, 0), the output is high (1).
This behavior corresponds to the NAND gate, which is the complement of the AND gate. The truth table for a NAND gate is as follows:
Since the output is low only when both inputs are high, and high otherwise, it matches the definition of a NAND gate.
Answer: NAND
When both inputs are high (1, 1), the output is low (0).
When both inputs are low (0, 0), the output is high (1).
This behavior corresponds to the NAND gate, which is the complement of the AND gate. The truth table for a NAND gate is as follows:
| Input A | Input B | Output |
| 0 | 0 | 1 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
Since the output is low only when both inputs are high, and high otherwise, it matches the definition of a NAND gate.
Answer: NAND
Hence, the correct answer is option: 'C'.