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