Chap 10 - Boolean logic Flashcards
1
Q
what does NOT gate do
A
opposite of the input
1
Q
how many inputs in
-NOT
-AND
-OR
-XOR
A
- 1
-2
-2
-2
2
Q
what makes 1 in NOT gate
A
0
3
Q
what makes 1 in AND gate
A
1 + 1
4
Q
what makes 1 in OR gate
A
1 + 0
0 + 1
1 + 1
5
Q
what makes 1 in XOR gate
A
1 + 0
0 + 1
6
Q
what makes 1 in NAND gate
A
0 + 0
1 + 0
0 + 1
7
Q
what makes 1 in NOR gate
A
0 + 0
8
Q
what makes 1 in NXOR gate
A
0 + 0
1 + 1
9
Q
what can NOT be replaced by in a logic expression
A
- ( - ) on top of input
10
Q
what can AND be replaced by in a logic expression
A
- ( . ) between inputs
11
Q
what can OR be replaced by in a logic expression
A
- ( + ) between inputs
12
Q
what is the equation for truth table
A
-2 to the power of n
-n is no. inputs
13
Q
rules for truth table
A
-use 2^n
-always start from right most input
-always start with 0
14
Q
order of evaluation
A
-brackets
-left to right
-AND before OR