| $$A$$ | $$B$$ | $$Y$$ |
| $$0$$ | $$0$$ | $$1$$ |
| $$0$$ | $$1$$ | $$1$$ |
| $$1$$ | $$0$$ | $$1$$ |
| $$1$$ | $$1$$ | $$0$$ |
| $$A$$ | $$B$$ | $$Y$$ | $$Y'$$ |
| $$0$$ | $$0$$ | $$0$$ | $$1$$ |
| $$0$$ | $$1$$ | $$1$$ | $$0$$ |
| $$1$$ | $$0$$ | $$1$$ | $$0$$ |
| $$1$$ | $$1$$ | $$1$$ | $$0$$ |
Draw the symbol of NAND gate and write down truth table for this. Why is it called a universal gate?
| $$ A $$ | $$ B $$ | $$ Y $$ |
| $$ 0 $$ | $$ 0 $$ | $$ 1 $$ |
| $$ 1 $$ | $$ 0 $$ | $$ 1 $$ |
| $$ 0 $$ | $$ 1 $$ | $$ 1 $$ |
| $$ 1 $$ | $$ 1 $$ | $$ 0 $$ |