4.3 Logic Flashcards
1
Q
What are Logic Statements?
A
Logic Statements can be evaluated as either true or false.
2
Q
What is a Truth Table?
A
A Truth Table is a method of representing every possible output based off on the inputs to a Boolean Expression.
3
Q
What are the Logical Operators?
A
- AND
- NOT
- OR
- NAND
- NOR
4
Q
What is a NOT gate?
A
Not Reverses an Input. Ā = B
1 → 0
0 → 1
5
Q
What is an OR gate?
A
An or gate returns true if either conditions are true, aka if a 1 is present. A V B = C / A + B = Q
- 1 & 1 → 1
- 1 & 0 → 1
- 0 & 0 → 0
6
Q
What is an AND gate?
A
AND gates are the opposite of OR gates, it returns true if both values are true.
- 1 & 0 → 0
- 0 & 0 → 0
- 1 & 1 → 1