2.4 - logic Flashcards
1
Q
what is a logic gate
A
something that takes an input and based on what it is produces an output
2
Q
what are the three main logic gates
A
and, or, not
3
Q
what is the notation for each logic gate
A
and ^
or (and but upsidedown)
not ¬
4
Q
is this ^ and or or
A
and
5
Q
what is the purpose of a truth table
A
to show the output for each possible input
6
Q
what does an and gate do
A
only on if both inputs are on
7
Q
what does an or gate do
A
on if either or both of the inputs are on
8
Q
what does a not gate do
A
on if input is off, off if input is on
9
Q
what is the order of operations for boolean algebra
A
brackets, not, and/or