BOOLEAN LOGIC Flashcards
What is the truth table for AND gates?
A | B | P
————
0 | 0 | 0
————
0 | 1 | 0
————
1 | 0 | 0
————
1 | 1 | 1
What is the truth table for OR gates?
A | B | P
————
0 | 0 | 0
————
0 | 1 | 1
————
1 | 0 | 1
————
1 | 1 | 1
What is the truth table for NOT gates?
0 | 1
——-
1 | 0
What is the truth table for XOR gates?
A | B | P
————
0 | 0 | 0
————
0 | 1 | 1
————
1 | 0 | 1
————
1 | 1 | 0
What is the notation for conjunction (AND)?
What is the notation for disjunction (OR)?
v
What is the notation for negation (NOT)?
¬
What is the notation for exclusive disjunction (XOR)?
⊻
What is the order of operations?
- brackets
- NOT
- AND
- OR/XOR
What is De Morgan’s 1st law?
¬ (A v B) = ¬ A ^ ¬ B
What is De Morgan’s 2nd law?
¬ (A ^ B) = ¬ A v ¬ B
X ^ 0
0
X ^ ¬ X
0
X v X
X
X ^ 1
X