The basic symbols and output expressions for 2-Input NAND, NOR, XOR, and XNOR gates are provided. The behavior of each gate is explained when both inputs are connected.
- 2-Input NAND Gate: ⊼
- 2-Input NOR Gate: ⊽
- 2-Input XOR Gate: ⨁
- 2-Input XNOR Gate: ⊙
The output expression for each gate:
- 2-Input NAND Gate: Y = A | B
- 2-Input NOR Gate: Y = A + B
- 2-Input XOR Gate: Y = A xor B
- 2-Input XNOR Gate: Y = A xnor B
When both inputs are connected for each gate:
- 2-Input NAND Gate: The output will be low (0) only when both inputs are high (1).
- 2-Input NOR Gate: The output will be high (1) only when both inputs are low (0).
- 2-Input XOR Gate: The output will be low (0) when both inputs are the same, otherwise the output will be high (1).
- 2-Input XNOR Gate: The output will be high (1) when both inputs are the same, otherwise the output will be low (0).