Drucken
Kategorie: Uncategorised
Zugriffe: 112

Logic gates represented using Boolean algebra


 

  1. AND Gate:

    • Boolean Expression: Q = A · B
    • Truth Table:
      A B Q
      0 0 0
      0 1 0
      1 0 0
      1 1 1
  2. OR Gate:

    • Boolean Expression: Q = A + B
    • Truth Table:
      A B Q
      0 0 0
      0 1 1
      1 0 1
      1 1 1
  3. NOT Gate (Inverter):

    • Boolean Expression: Q = ~A
    • Truth Table:
      A Q
      0 1
      1 0
  4. NAND Gate (AND with NOT):

    • Boolean Expression: Q = ~(A · B)
    • Truth Table:
      A B Q
      0 0 1
      0 1 1
      1 0 1
      1 1 0
  5. NOR Gate (OR with NOT):

    • Boolean Expression: Q = ~(A + B)
    • Truth Table:
      A B Q
      0 0 1
      0 1 0
      1 0 0
      1 1 0
  6. XOR Gate (Exclusive OR):

    • Boolean Expression: Q = A ⊕ B
    • Truth Table:
      A B Q
      0 0 0
      0 1 1
      1 0 1
      1 1 0
  7. XNOR Gate (Exclusive NOR):

    • Boolean Expression: Q = ~(A ⊕ B)
    • Truth Table:
      A B Q
      0 0 1
      0 1 0
      1 0 0
      1 1 1