boolean logic Flashcards
1
Q
how many options does boolean data have
A
2 (dual options)
2
Q
what are the possible outcomes
A
1 or 0
3
Q
how do NOT gates work
A
if input is 1, output is 0
4
Q
how do OR gates work
A
outputs is 1 as long as at least one of the inputs is 1
5
Q
how do AND gates work
A
output is 1 if both inputs are 1 or else 0
6
Q
what is a truth table
A
shows the values on any node (point) of a logic circuit for every possible combination.
7
Q
what are truth tables used for
A
can be used to track the outputs at each stage of a logic circuit leading up to the final output.
8
Q
a left shift is:
A
multiplication by 2
9
Q
a right shift is:
A
division by 2