Physics doubt, JEE and NEET
What are the truth tables of AND, OR, NOT, NAND and NOR gates?
Answer: AND gives 1 only when both inputs are 1. OR gives 1 when at least one input is 1. NOT inverts its input. NAND is AND followed by NOT; NOR is OR followed by NOT. NAND and NOR are universal gates: any gate can be built from either one.
Why
Boolean forms: AND , OR , NOT , NAND , NOR , XOR .
De Morgan's theorems: and .
A NAND gate with its inputs joined is a NOT gate. NAND followed by that NOT is AND. Inverting both inputs of a NAND gives OR.
| A | B | AND | OR | NAND | NOR | XOR |
|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 1 | 1 | 0 |
| 0 | 1 | 0 | 1 | 1 | 0 | 1 |
| 1 | 0 | 0 | 1 | 1 | 0 | 1 |
| 1 | 1 | 1 | 1 | 0 | 0 | 0 |
Exam tip
For a circuit of gates, write the Boolean expression stage by stage and simplify with De Morgan's theorems; then compare with the standard gates.
More physics doubts
What is the difference between a p-n junction diode and a Zener diode?What is the difference between forward bias and reverse bias of a p-n junction diode?What is the difference between vernier calipers and screw gauge?What is the difference between units and dimensions?Why is uniform circular motion called accelerated motion?Why is friction called a necessary evil? Is friction a conservative force?All physics doubts