- These are elementary building blocks of digital circuit.
- It has one or more inputs and only one output..
- Output is active only for certain input combinations.
- Common Logic gates are AND, OR, NAND, NOR.
1. AND Gate:
- The AND gate is an electronic circuit that gives a high output (1) only all inputs give are high.
Logic Diagram:
Truth Table:
2. OR Gate:
- The OR gate is an electronic circuit that gives a high output (1) if one or more of its inputs are high.
Logic Diagram:
Truth Table:
3. NAND Gate:
- NOR gate is a electronic circuit that gives a high output (1), if two inputs are low.
- Works in the opposite function of OR gate.
Logic Diagram:
Truth Table: