Digital Electronics Gates
Digital Electronics Gates
A Y
0 1
1 0
2. AND Gate
• Symbol: A D-shaped gate with multiple inputs converging into it.
• Boolean Expression: Y=A⋅B (or A∧B)
• Function: Outputs 1 only if all inputs are 1.
• Truth Table (2-input case):
A B Y
0 0 0
0 1 0
1 0 0
1 1 1
3. OR Gate
• Symbol: A curved-shaped gate with multiple inputs converging into it.
• Boolean Expression: Y=A+B (or A∨B)
• Function: Outputs 1 if any input is 1.
• Truth Table (2-input case):
A B Y
0 0 0
0 1 1
1 0 1
1 1 1
4. NAND Gate
• Symbol: AND gate with a small circle (inversion bubble) on the output.
• Boolean Expression: Y=A⋅B
• Function: Outputs 0 only if all inputs are 1; otherwise 1.
• Truth Table (2-input case):
A B Y
0 0 1
0 1 1
1 0 1
1 1 0
5. NOR Gate
• Symbol: OR gate with a small circle (inversion bubble) on the output.
• Boolean Expression: Y=A+B
• Function: Outputs 1 only if all inputs are 0; otherwise 0.
• Truth Table (2-input case):
A B Y
0 0 1
0 1 0
1 0 0
1 1 0
A B Y
0 0 0
0 1 1
1 0 1
1 1 0