logic gates Flashcards
1
Q
Describe how AND gates work
A
only output 1 if both A AND B are 1
2
Q
How is an AND gate written
A
A^B
3
Q
Describe how an OR gate works
A
Only outputs 1 if A OR B are 1
4
Q
How is an OR gate written
A
AvB
5
Q
Describe how a NOT gate works
A
Inverts the input
6
Q
How is a NOT gate written
A
NOT A