Logic Gates Tutorial
Master the fundamental building blocks of digital circuits. Learn how AND, OR, NOT, and compound gates work with interactive examples and truth tables.
AND Gate
Outputs 1 only when ALL inputs are 1. Essential for logical conjunction operations in digital circuits.
A | B | Y |
---|---|---|
0 | 0 | 0 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |
OR Gate
Outputs 1 when AT LEAST ONE input is 1. Used for logical disjunction in digital systems.
A | B | Y |
---|---|---|
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 1 |