(a) What is a NAND gate? How is it formed?
(b) "NAND gate is called universal gate". Substantiate your answer with examples showing how other gates are produced using NAND gates.
(c) Mention two practical applications of logic gates.
Confirming your payment
Sign up now and get 250 free tokens.
Digital Electronics - Logic Gates · Question 49 of 56
(a) What is a NAND gate? How is it formed?
(b) "NAND gate is called universal gate". Substantiate your answer with examples showing how other gates are produced using NAND gates.
(c) Mention two practical applications of logic gates.
Solution:
Concept: A NAND gate gives . A gate is called universal if the basic gates OR, AND and NOT can all be built from it alone.
Step 1 — Define and form the NAND gate (part a). A NAND (NOT AND) gate is formed by connecting the output of an AND gate to the input of a NOT gate, figure (a). Its symbol is the AND shape with an output bubble, figure (b). Its output is 0 only when all inputs are 1:

| 0 | 0 | 0 | 1 |
| 0 | 1 | 0 | 1 |
| 1 | 0 | 0 | 1 |
| 1 | 1 | 1 | 0 |
Step 2 — Make a NOT gate from one NAND gate (part b). Join the two inputs, so that both receive :

| 0 | 1 |
| 1 | 0 |
Step 3 — Make an AND gate from two NAND gates (part b). Feed the output of one NAND gate to a second NAND gate with joined inputs, which inverts it:

| 0 | 0 | 1 | 0 |
| 0 | 1 | 1 | 0 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 1 |
Step 4 — Make an OR gate from three NAND gates (part b). Invert and with two NAND gates whose inputs are joined, then feed and to a third NAND gate. By De Morgan's theorem:

| 0 | 0 | 1 | 1 | 0 |
| 0 | 1 | 1 | 0 | 1 |
| 1 | 0 | 0 | 1 | 1 |
| 1 | 1 | 0 | 0 | 1 |
Since NOT, AND and OR can all be made from NAND gates alone, any logic circuit can be built from NAND gates, which is why the NAND gate is called a universal gate.
Step 5 — Give two practical applications (part c). Two common uses are these. (i) Logic gates form the adders, counters and memories inside calculators and computers. (ii) They are used in control and alarm circuits, for example a burglar or fire alarm that sounds when a sensor AND a switch condition are met, or the controller that runs a set of traffic lights.
Therefore, (a) a NAND gate is an AND gate followed by a NOT gate; (b) one NAND gate gives NOT, two give AND and three give OR, so it is universal; (c) logic gates are used in calculators and computers, and in alarm and control circuits.