logic gates Flashcards
1
Q
NOT gate
A
changes 0 to 1 and vice versa
triangle with a circle at the end
only 1 input
2
Q
AND gate
A
0 + 0 = 0
0 + 1 = 0
1 + 0 = 0
1 + 1 = 1
two inputs
shaped like a D
3
Q
OR gate
A
0 + 0 = 0
0 + 1 = 1
1 + 0 = 1
1 + 1 = 1
two inputs
shaped like a D but with a curved start
4
Q
NAND gate
A
opposite of AND gate
0 + 0 = 1
0 + 1 = 1
1 + 0 = 1
1 + 1 = 0
two inputs
AND gate but with a circle at the end
5
Q
NOR gate
A
opposite of NOR gate
0 + 0 = 1
0 + 1 = 0
1 + 0 = 0
1 + 1 = 0
6
Q
XNOR gate
A
0 + 0 = 0
0 + 1 = 1
1 + 0 = 1
1 + 1 = 0
shaped like OR gate but with a curved line in the back