Which of the following gates will have an output of 1?

Confirming your payment
Sign up now and get 250 free tokens.
Digital Electronics - Logic Gates · Question 6 of 56
Which of the following gates will have an output of 1?

Solution:
Concept: A bubble at the output inverts the result of the basic shape. NAND: ; NOR: ; XNOR (the XOR shape, with its extra curved line at the back, plus a bubble): when the two inputs are equal.
Step 1 — Gate (A), a NAND gate with inputs 1 and 1. Both inputs are 1, so , and the bubble makes the output 0.
Step 2 — Gate (B), a NOR gate with inputs 0 and 1. One input is 1, so , and the bubble makes the output 0.
Step 3 — Gate (C), a NAND gate with inputs 0 and 1. One input is 0, so , and the bubble makes the output 1.
Step 4 — Gate (D), an XNOR gate with inputs 0 and 0. The two inputs are equal, so the XOR part gives 0, and the bubble makes the output 1.
Note: the printed answer names only the NAND gate with inputs 0 and 1; the XNOR gate with inputs 0 and 0 also gives 1, so both are correct.
Therefore, gates (C) and (D) both have an output of 1.