EEE 352 TEST 2 STUDY GUIDE PRACTICE
QUESTIONS AND COMPLETE SOLUTIONS
GRADED A+
⩥ OR gate truth table.
Answer: Output is 1 when AT LEAST ONE input is 1. (0,0→0; 0,1→1;
1,0→1; 1,1→1)
⩥ NOT gate (Inverter) truth table.
Answer: Output is the complement of the input. (0→1; 1→0)
⩥ NAND gate truth table.
Answer: Output is 0 ONLY when ALL inputs are 1. (0,0→1; 0,1→1;
1,0→1; 1,1→0) — complement of AND
⩥ NOR gate truth table.
Answer: Output is 1 ONLY when ALL inputs are 0. (0,0→1; 0,1→0;
1,0→0; 1,1→0) — complement of OR
⩥ XOR gate truth table.
Answer: Output is 1 when inputs are DIFFERENT. (0,0→0; 0,1→1;
1,0→1; 1,1→0) — Y = A'B + AB'
,⩥ XNOR gate.
Answer: Output is 1 when inputs are the SAME. Complement of XOR.
(0,0→1; 0,1→0; 1,0→0; 1,1→1)
⩥ NAND gate — alternate symbol (DeMorgan).
Answer: OR gate with INVERTED (bubbled) inputs. Equivalent to
(AB)'
⩥ NOR gate — alternate symbol (DeMorgan).
Answer: AND gate with INVERTED (bubbled) inputs. Equivalent to
(A+B)'
⩥ Bubble on a gate input.
Answer: Represents inversion (NOT) at that input. A bubble on the
output also inverts the output.
⩥ Universal gate.
Answer: A gate that can implement any Boolean function by itself.
NAND and NOR are both universal gates.
⩥ DeMorgan's Law #1.
Answer: (A · B)' = A' + B' — The complement of an AND is the OR of
the complements
, ⩥ DeMorgan's Law #2.
Answer: (A + B)' = A' · B' — The complement of an OR is the AND of
the complements
⩥ How to apply DeMorgan's Law.
Answer: Break the bar, change the operator (AND↔OR). Complement
each literal.
⩥ NAND expressed via DeMorgan.
Answer: (AB)' = A' + B'
⩥ NOR expressed via DeMorgan.
Answer: (A+B)' = A' · B'
⩥ Idempotency rule.
Answer: A · A = A and A + A = A — combining identical inputs
eliminates one gate
⩥ OR with 1 rule.
Answer: A + 1 = 1 — any OR with a constant 1 produces 1
⩥ AND with 0 rule.
Answer: A · 0 = 0 — any AND with a constant 0 produces 0
QUESTIONS AND COMPLETE SOLUTIONS
GRADED A+
⩥ OR gate truth table.
Answer: Output is 1 when AT LEAST ONE input is 1. (0,0→0; 0,1→1;
1,0→1; 1,1→1)
⩥ NOT gate (Inverter) truth table.
Answer: Output is the complement of the input. (0→1; 1→0)
⩥ NAND gate truth table.
Answer: Output is 0 ONLY when ALL inputs are 1. (0,0→1; 0,1→1;
1,0→1; 1,1→0) — complement of AND
⩥ NOR gate truth table.
Answer: Output is 1 ONLY when ALL inputs are 0. (0,0→1; 0,1→0;
1,0→0; 1,1→0) — complement of OR
⩥ XOR gate truth table.
Answer: Output is 1 when inputs are DIFFERENT. (0,0→0; 0,1→1;
1,0→1; 1,1→0) — Y = A'B + AB'
,⩥ XNOR gate.
Answer: Output is 1 when inputs are the SAME. Complement of XOR.
(0,0→1; 0,1→0; 1,0→0; 1,1→1)
⩥ NAND gate — alternate symbol (DeMorgan).
Answer: OR gate with INVERTED (bubbled) inputs. Equivalent to
(AB)'
⩥ NOR gate — alternate symbol (DeMorgan).
Answer: AND gate with INVERTED (bubbled) inputs. Equivalent to
(A+B)'
⩥ Bubble on a gate input.
Answer: Represents inversion (NOT) at that input. A bubble on the
output also inverts the output.
⩥ Universal gate.
Answer: A gate that can implement any Boolean function by itself.
NAND and NOR are both universal gates.
⩥ DeMorgan's Law #1.
Answer: (A · B)' = A' + B' — The complement of an AND is the OR of
the complements
, ⩥ DeMorgan's Law #2.
Answer: (A + B)' = A' · B' — The complement of an OR is the AND of
the complements
⩥ How to apply DeMorgan's Law.
Answer: Break the bar, change the operator (AND↔OR). Complement
each literal.
⩥ NAND expressed via DeMorgan.
Answer: (AB)' = A' + B'
⩥ NOR expressed via DeMorgan.
Answer: (A+B)' = A' · B'
⩥ Idempotency rule.
Answer: A · A = A and A + A = A — combining identical inputs
eliminates one gate
⩥ OR with 1 rule.
Answer: A + 1 = 1 — any OR with a constant 1 produces 1
⩥ AND with 0 rule.
Answer: A · 0 = 0 — any AND with a constant 0 produces 0