1.4.3 Boolean Algebra Flashcards
What is this gate, what are the rules and what is the truth table associated?
- AND gate
- Both inputs must be on for the output to be 1
What is this gate, what are the rules and what is the truth table associated?
- OR gate
- 1 input must be on for the output to be on
What is this gate, what are the rules and what is the truth table associated?
- XOR gate
- If both inputs are on or off, the output is 0
What is this gate, what are the rules and what is the truth table associated?
- NOT gate
- It reverses the input
What is the main reason for using binary and name examples?
- Easy to build electronic circuits with just 2 states:
- RAM: Voltage or no voltage
- Hard Disks: Polarity
- Optical: Pits and lands
What is the symbol used for NOT and what is a rule with this?
- ¬
- Negation
What is the symbol used for AND and what is the rule associated?
- ∧
- Conjunction
What is the symbol used for the OR gate and what is the rule associated?
- ∨
- Disjunction
What is the symbol for the XOR gate and what is the rule associated?
- Exclusive Disjunction
Exam Question: What is the difference between an OR and an XOR gate?
- OR gate outputs true if at least 1 of its inputs is true.
- XOR gate outputs true if one and only 1 of its inputs are true.
What is the Boolean Expression for this?
What is the Boolean expression for this?
Why is important to use as few expressions as possible?
- Reduce the size of the circuit
- Reduce the cost of manufacturing
- Reduce the power consumption
- Execute instructions as quickly as possible, reducing the need to fetch variables from memory
What does the Karnaugh map illustrate
B is false
The expression is NOT B (¬B)
What does this Karnaugh map illustrate?
- A is true and B is true
- A ∧ B
What are some rules on the boxes in Karnaugh maps?
- Boxes must be rectangles or squares
- No diagonal boxes
- Boxes can only contain 1s
- Boxes must be as large as possible
- Boxes can overlap
- Smallest possible number of boxes
- Boxes must be 2n = 1, 2, 4, 8, 16