Identify the correct Logic Gate for the following output of two inputs and .

Identify the correct Logic Gate for the following output of two inputs and .





For the given input and output, truth table is given below.

| Input A | Input B | Output |
| 1 | 1 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 0 | 0 | 1 |
Clearly, it is a NAND gate. Therefore, the answer is B.
Asked in: JEE Main 2022 (27 Jun Shift 1)