Logic Gates Cheat Sheet

A logic gates cheat sheet provides a quick reference for understanding and working with basic digital logic gates. Here’s a cheat sheet covering logic gates:

AND Gate

Symbol:

A ---| AND |--- Q
B ---|

Truth Table:

A | B | Q
----------
0 | 0 | 0
0 | 1 | 0
1 | 0 | 0
1 | 1 | 1

OR Gate

Symbol:

A ---| OR |--- Q
B ---|

Truth Table:

A | B | Q
----------
0 | 0 | 0
0 | 1 | 1
1 | 0 | 1
1 | 1 | 1

NOT Gate (Inverter)

Symbol:

A ---| NOT |--- Q

Truth Table:

A | Q
------
0 | 1
1 | 0

NAND Gate

Symbol:

A ----| NAND |---- Q
B ----|

Truth Table:

A | B | Q
------------
0 | 0 | 1
0 | 1 | 1
1 | 0 | 1
1 | 1 | 0

NOR Gate

Symbol:

A ----| NOR |---- Q
B ----|

Truth Table:

A | B | Q
------------
0 | 0 | 1
0 | 1 | 0
1 | 0 | 0
1 | 1 | 0

XOR Gate

Symbol:

A ----| XOR |---- Q
B ----|

Truth Table:

A | B | Q
------------
0 | 0 | 0
0 | 1 | 1
1 | 0 | 1
1 | 1 | 0

XNOR Gate

Symbol:

A ----| XNOR |---- Q
B ----|

Truth Table:

A | B | Q
------------
0 | 0 | 1
0 | 1 | 0
1 | 0 | 0
1 | 1 | 1

Buffer

Symbol:

A ---|Buffer|--- Q

Truth Table:

A | Q
------
0 | 0
1 | 1

These symbols and truth tables represent the fundamental building blocks of digital circuits. Understanding the behavior of logic gates is crucial for designing and analyzing digital systems. Keep this cheat sheet handy as a reference while working with digital logic.