The output from a NAND gate having inputs A and B given below will be. [2023]

(1)
Truth table for NAND gate is
| A | B | |
| 0 | 0 | 1 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
On the basis of given input A and B the truth table is
| A | B | Y |
| 1 | 1 | 0 |
| 0 | 0 | 1 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
| 0 | 0 | 1 |
| 0 | 1 | 1 |
So the correct answer is Option 1.