Propositional Logic and Boolean Algebra
This quiz is designed to assess your understanding of Propositional Logic and Boolean Algebra. It covers topics such as truth tables, logical operators, Boolean expressions, and more.
Questions
What is the truth value of the proposition (p ∨ q) ∧ ¬r when p is true, q is false, and r is true?
- True
- False
Which of the following is the negation of the proposition ∀x(Px → Qx)?
- ∃x(Px ∧ ¬Qx)
- ∃x(¬Px ∨ Qx)
- ∀x(¬Px → ¬Qx)
What is the Boolean expression for the following circuit?
+-------+
| |
A ->| AND | -> Z
| |
+-------+
|/
V
+-------+
| |
B ->| OR | -> Z
| |
+-------+
- Z = (A ∧ B)
- Z = (A ∨ B)
- Z = (A ⊕ B)
- Z = (A NAND B)
Which of the following is a tautology?
- (p ∨ q) → (¬p → q)
- (p ∧ q) → (p → q)
- (p → q) → (¬q → ¬p)
What is the dual of the following propositional formula: (p ∨ q) ∧ (¬p ∨ r)?
- ¬(p ∧ q) ∨ ¬(¬p ∧ r)
- (¬p ∧ q) ∨ (p ∧ r)
- (p ∧ ¬q) ∨ (¬p ∧ r)
Which of the following is a valid argument?
- If it is raining, then the ground is wet. It is raining. Therefore, the ground is wet.
- If it is raining, then the ground is wet. The ground is not wet. Therefore, it is not raining.
- If it is raining, then the ground is wet. It is not raining. Therefore, the ground is not wet.
What is the minimal form of the Boolean expression (A ∨ B) ∧ (¬A ∨ C) ∧ (B ∨ C)?
- A ∨ C
- B ∨ C
- A ∨ B
- C
What is the De Morgan's law for negation of a conjunction?
- ¬(p ∧ q) = ¬p ∨ ¬q
- ¬(p ∨ q) = ¬p ∧ ¬q
- ¬(p → q) = ¬p ∨ q
- ¬(p ⊕ q) = ¬p ∧ q
Which of the following is a Boolean algebra?
- The set of all subsets of a set
- The set of all real numbers with the usual operations of addition and multiplication
- The set of all propositions with the usual logical operators
- The set of all integers with the usual operations of addition and multiplication
What is the distributive law for conjunction over disjunction?
- p ∧ (q ∨ r) = (p ∧ q) ∨ (p ∧ r)
- p ∨ (q ∧ r) = (p ∨ q) ∧ (p ∨ r)
- p → (q ∨ r) = (p → q) ∨ (p → r)
- p ⊕ (q ∧ r) = (p ⊕ q) ∧ (p ⊕ r)
What is the truth table for the logical operator NAND?
- | p | q | NAND(p, q) |
|---|---|---|
| T | T | F |
| T | F | T |
| F | T | T |
| F | F | T | - | p | q | NAND(p, q) |
|---|---|---|
| T | T | T |
| T | F | F |
| F | T | F |
| F | F | T | - | p | q | NAND(p, q) |
|---|---|---|
| T | T | F |
| T | F | F |
| F | T | F |
| F | F | T | - | p | q | NAND(p, q) |
|---|---|---|
| T | T | T |
| T | F | T |
| F | T | T |
| F | F | F |
Which of the following is an example of a tautology?
- p ∨ ¬p
- p ∧ ¬p
- p → q
- p ⊕ q
What is the contrapositive of the following proposition: "If it is raining, then the ground is wet."?
- If the ground is not wet, then it is not raining.
- If it is not raining, then the ground is not wet.
- If the ground is wet, then it is raining.
- If it is raining, then the ground is not wet.
What is the converse of the following proposition: "If it is raining, then the ground is wet."?
- If the ground is wet, then it is raining.
- If it is not raining, then the ground is not wet.
- If the ground is not wet, then it is not raining.
- If it is raining, then the ground is not wet.