NOT gate
Outputs the opposite value of the input
Y = A’
AND gate
Outputs 1 if both inputs are 1; Otherwise outputs 0
Y = A . B
OR gate
Outputs 1 if at least one of the inputs is a 1; Otherwise outputs 0
Y = A + B
NAND gate
Outputs 0 when both inputs are 1; Otherwise outputs 1
NOT + AND
Y = ( A . B )’
NOR gate
Outputs 1 if both inputs are 0; Otherwise outputs 0
Y = ( A + B )’
NOT + OR
XOR gate
Outputs 1 when the number of 1s is odd; Otherwise outputs 0
Y = A’ . B + A . B’