What is Boolean algebra?
A branch of algebra where variables represent true (1) or false (0) values.
What are the four basic Boolean operations?
Conjunction (AND), Disjunction (OR), Negation (NOT), Exclusive Disjunction (XOR).
What is the symbol for the AND operation?
∧
What is the truth table for an AND gate?
Output is 1 only if both inputs are 1.
What is the symbol for the OR operation?
∨
What is the truth table for an OR gate?
Output is 1 if at least one input is 1.
What is the symbol for the NOT operation?
¬
What is the truth table for a NOT gate?
Output is the inverse of the input.
What is the symbol for the XOR operation?
⊕ or ∨ with a line underneath (context dependent).
What is the truth table for an XOR gate?
Output is 1 only if the inputs are different.
What is a truth table?
A table showing all possible input combinations and their corresponding outputs for a logic expression.
What is the purpose of a Karnaugh map (K-map)?
To simplify Boolean expressions visually.
What is a key feature of the row/column labels in a K-map?
They use Gray code, where adjacent cells differ by only one bit.
What is the main goal when grouping ‘1’s in a K-map?
To create the largest possible groups (sizes that are powers of 2) to simplify the expression.
What are De Morgan’s Laws?
¬(A ∧ B) ≡ ¬A ∨ ¬B and ¬(A ∨ B) ≡ ¬A ∧ ¬B
What is the Distributive Law in Boolean algebra?
A ∧ (B ∨ C) ≡ (A ∧ B) ∨ (A ∧ C) and A ∨ (B ∧ C) ≡ (A ∨ B) ∧ (A ∨ C)
What is the Associative Law in Boolean algebra?
(A ∧ B) ∧ C ≡ A ∧ (B ∧ C) and (A ∨ B) ∨ C ≡ A ∨ (B ∨ C)
What is the Commutative Law in Boolean algebra?
A ∧ B ≡ B ∧ A and A ∨ B ≡ B ∨ A
What is the Law of Double Negation?
¬(¬A) ≡ A
What is a D-type flip-flop?
A logic circuit that can store one bit of data, updating its output (Q) to match its input (D) on the rising edge of a clock signal.
What is the primary function of a flip-flop?
To act as a basic memory unit (1-bit storage).
What is a half adder?
A circuit that adds two single-bit inputs (A and B) and produces a sum (S) and a carry (C) output.
What logic gates make up a half adder?
An XOR gate for the sum and an AND gate for the carry.
What is the truth table for a half adder?
A=0,B=0 -> S=0,C=0; A=0,B=1 -> S=1,C=0; A=1,B=0 -> S=1,C=0; A=1,B=1 -> S=0,C=1