Logic Gate Cheat Sheet

Made with love by San Wana

Logic gates are fundamental building blocks of digital circuits. They perform basic logical functions based on the input signals they receive. Here's a cheat sheet outlining the basic types of logic gates:

1. AND Gate

  • Description: Outputs true (1) only when all inputs are true (1).
  • Symbol: AND Gate Symbol
  • Truth Table:
A B Y
0 0 0
0 1 0
1 0 0
1 1 1

2. OR Gate

  • Description: Outputs true (1) when at least one input is true (1).
  • Symbol: OR Gate Symbol
  • Truth Table:
A B Y
0 0 0
0 1 1
1 0 1
1 1 1

3. NOT Gate

  • Description: Inverts the input signal.
  • Symbol: NOT Gate Symbol
  • Truth Table:
A Y
0 1
1 0

4. XOR Gate

  • Description: Outputs true (1) when the number of true inputs is odd.
  • Symbol: XOR Gate Symbol
  • Truth Table:
A B Y
0 0 0
0 1 1
1 0 1
1 1 0

5. NAND Gate

  • Description: Inverts the output of an AND gate.
  • Symbol: NAND Gate Symbol
  • Truth Table:
A B Y
0 0 1
0 1 1
1 0 1
1 1 0

6. NOR Gate

  • Description: Inverts the output of an OR gate.
  • Symbol: NOR Gate Symbol
  • Truth Table:
A B Y
0 0 1
0 1 0
1 0 0
1 1 0

Here the link for practical

Link: https://ceucomputing.github.io/logicsim2/