Logic Gates - Introduction


The following Truth Table compares the logical functions of the 2-input logic gates:

Inputs
Truth Table Outputs for each Gate
A
B
AND
NAND
OR
NOR
EX-OR
EX-NOR
0
0
0
1
0
1
0
1
0
1
0
1
1
0
1
0
1
0
0
1
1
0
1
0
1
1
1
0
1
0
0
1

The following table gives a list of the common logic functions and their equivalent Boolean notation:

Logic Function
Boolean Notation
AND
A.B
OR
A+B
NOT
A
NAND
A.B
NOR
A+B
EX-OR
(A.B) + (A.B) or AB
EX-NOR
(A.B) +  or A  B