Practice question from chapter text
Give the two-input truth tables for AND, OR, NAND and NOR and the NOT rule.
AND،OR،NAND،NOR کی دو ان پٹ صداقتی جدول اورNOT کا اصول دیں۔
Solution & explanation
| A | B | AND | OR | NAND | NOR |
|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 1 | 1 |
| 0 | 1 | 0 | 1 | 1 | 0 |
| 1 | 0 | 0 | 1 | 1 | 0 |
| 1 | 1 | 1 | 1 | 0 | 0 |
For input rows 00, 01, 10, 11: AND = 0,0,0,1; OR = 0,1,1,1; NAND = 1,1,1,0; NOR = 1,0,0,0. NOT maps 0 to 1 and 1 to 0. NAND and NOR invert the corresponding AND and OR results.
Independent study material · English-medium textbook p. 160–162 · Original book ↗