- 2081 Baishakh (new course) · 3 marks
Short note: Logic gates
Short answer
Logic gates are digital circuit elements that perform Boolean operations on binary inputs. Basic gates include AND, OR, NOT, NAND, NOR, XOR, XNOR; NAND and NOR are universal gates. They are used in adders, counters, memories, and control circuits.
Write a short note on Logic Gates.
Logic gates are the basic building blocks of digital circuits. A gate has one or more binary inputs (0 or 1) and gives one binary output according to a logical rule. They are made from transistors and diodes in ICs (TTL, CMOS).
| Gate | Expression | Output is 1 when |
|---|---|---|
| AND | all inputs are 1 | |
| OR | at least one input is 1 | |
| NOT | the input is 0 (inverter) | |
| NAND | at least one input is 0 | |
| NOR | all inputs are 0 | |
| XOR | inputs are different | |
| XNOR | inputs are the same |
Truth table for two-input gates:
| A | B | AND | OR | NAND | NOR | XOR | XNOR |
|---|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 |
| 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 |
| 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 |
| 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 |
NAND and NOR are called universal gates, because any logic function can be built using only one of them. Gates are used in adders, counters, memories, alarms and control circuits.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Universal gates; positive and negative logic · Digital Logic, chapter 2
- Positive/negative logic; XNOR using NAND · Digital Logic, chapter 2 · asked 2×
- Positive/negative logic; Ex-NOR using NOR · Digital Logic, chapter 2 · asked 2×
- K-map: x'yz + x'y'z + xyz with gates · Basic Electronics Engineering, chapter 6 · asked 2×
All Basic Electrical and Electronics Engineering chapter 3 questions →