Skip to content
๐Ÿ”Œ AND, OR, NOT โ€” Fundamental Logic Gates

๐Ÿ”Œ AND, OR, NOT โ€” Fundamental Logic Gates

Logic gates are the building blocks of digital electronics.

They process binary inputs (0 or 1) to produce a single binary output based on a specific logical function.

The fundamental logic gates are AND, OR and NOT


1๏ธโƒฃ AND Gate

An AND gate outputs 1 only if all its inputs are 1. Otherwise, it outputs 0.

๐Ÿ“Š Truth Table

Input AInput BOutput (A โ€ข B)
000
010
100
111

๐Ÿ“ Symbol

A ----| & |
   ---- OUT
B ----|   |

๐Ÿ” Notes

  • Logical operation: Multiplication in Boolean algebra.
  • Only true when all inputs are true.
  • Extendable to more than 2 inputs.

2๏ธโƒฃ OR Gate

An OR gate outputs 1 if at least one input is 1.

๐Ÿ“Š Truth Table

Input AInput BOutput (A + B)
000
011
101
111

๐Ÿ“ Symbol

A ----)โ‰ฅ1 )
   ---- OUT
B ----)   )

๐Ÿ” Notes

  • Logical operation: Addition in Boolean algebra.
  • True if any input is true.
  • Used to combine conditions.

3๏ธโƒฃ NOT Gate

๐Ÿงพ Definition

A NOT gate outputs the opposite of its input (inverts it).

๐Ÿ“Š Truth Table

Input (A)Output (ยฌA)
01
10

๐Ÿ“ Symbol

A ----|>o---- OUT

๐Ÿ” Notes

  • Logical operation: Negation in Boolean algebra.
  • Often called an inverter.
  • Only 1 input.

๐Ÿง  Key Takeaways

  • AND, OR, NOT are the fundamental gates; all other logic gates and digital circuits can be built from them.
  • Represented mathematically in Boolean algebra.
  • Implemented physically using transistors in integrated circuits.
Last updated on