Digital Logic Gates Final
Digital Logic Gates Final
A B Output (A
AND B)
0 0 0
0 1 0
1 0 0
1 1 1
OR Gate
The OR gate outputs 1 when at least one input is 1.
A B Output (A OR
B)
0 0 0
0 1 1
1 0 1
1 1 1
NOT Gate
The NOT gate inverts the input (0 becomes 1, 1 becomes 0).
A Output (NOT A)
0 1
1 0
NAND Gate
The NAND gate outputs 0 only when both inputs are 1.
A B Output (A
NAND B)
0 0 1
0 1 1
1 0 1
1 1 0
NOR Gate
The NOR gate outputs 1 only when both inputs are 0.
A B Output (A
NOR B)
0 0 1
0 1 0
1 0 0
1 1 0
XOR Gate
The XOR gate outputs 1 when inputs are different.
A B Output (A
XOR B)
0 0 0
0 1 1
1 0 1
1 1 0
XNOR Gate
The XNOR gate outputs 1 when inputs are the same.
A B Output (A
XNOR B)
0 0 1
0 1 0
1 0 0
1 1 1
Applications of Logic Gates
Logic gates are used in:
- Digital circuits and microprocessors
- Arithmetic and logic units (ALU)
- Memory and storage devices
- Control systems and automation
- Communication systems
Conclusion
Logic gates are the foundation of digital electronics.
Understanding them helps in designing complex circuits.
They play a crucial role in modern computing and automation.