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.

14 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

What is the truth value of the proposition (p ∨ q) ∧ ¬r when p is true, q is false, and r is true?

  1. True
  2. False
Question 2 Multiple Choice (Single Answer)

Which of the following is the negation of the proposition ∀x(Px → Qx)?

  1. ∃x(Px ∧ ¬Qx)
  2. ∃x(¬Px ∨ Qx)
  3. ∀x(¬Px → ¬Qx)
Question 3 Multiple Choice (Single Answer)

What is the Boolean expression for the following circuit?

  +-------+
  |       |

A ->| AND | -> Z
| |
+-------+
|/
V
+-------+
| |
B ->| OR | -> Z
| |
+-------+

  1. Z = (A ∧ B)
  2. Z = (A ∨ B)
  3. Z = (A ⊕ B)
  4. Z = (A NAND B)
Question 4 Multiple Choice (Single Answer)

Which of the following is a tautology?

  1. (p ∨ q) → (¬p → q)
  2. (p ∧ q) → (p → q)
  3. (p → q) → (¬q → ¬p)
Question 5 Multiple Choice (Single Answer)

What is the dual of the following propositional formula: (p ∨ q) ∧ (¬p ∨ r)?

  1. ¬(p ∧ q) ∨ ¬(¬p ∧ r)
  2. (¬p ∧ q) ∨ (p ∧ r)
  3. (p ∧ ¬q) ∨ (¬p ∧ r)
Question 6 Multiple Choice (Single Answer)

Which of the following is a valid argument?

  1. If it is raining, then the ground is wet. It is raining. Therefore, the ground is wet.
  2. If it is raining, then the ground is wet. The ground is not wet. Therefore, it is not raining.
  3. If it is raining, then the ground is wet. It is not raining. Therefore, the ground is not wet.
Question 7 Multiple Choice (Single Answer)

What is the minimal form of the Boolean expression (A ∨ B) ∧ (¬A ∨ C) ∧ (B ∨ C)?

  1. A ∨ C
  2. B ∨ C
  3. A ∨ B
  4. C
Question 8 Multiple Choice (Single Answer)

What is the De Morgan's law for negation of a conjunction?

  1. ¬(p ∧ q) = ¬p ∨ ¬q
  2. ¬(p ∨ q) = ¬p ∧ ¬q
  3. ¬(p → q) = ¬p ∨ q
  4. ¬(p ⊕ q) = ¬p ∧ q
Question 9 Multiple Choice (Single Answer)

Which of the following is a Boolean algebra?

  1. The set of all subsets of a set
  2. The set of all real numbers with the usual operations of addition and multiplication
  3. The set of all propositions with the usual logical operators
  4. The set of all integers with the usual operations of addition and multiplication
Question 10 Multiple Choice (Single Answer)

What is the distributive law for conjunction over disjunction?

  1. p ∧ (q ∨ r) = (p ∧ q) ∨ (p ∧ r)
  2. p ∨ (q ∧ r) = (p ∨ q) ∧ (p ∨ r)
  3. p → (q ∨ r) = (p → q) ∨ (p → r)
  4. p ⊕ (q ∧ r) = (p ⊕ q) ∧ (p ⊕ r)
Question 11 Multiple Choice (Single Answer)

What is the truth table for the logical operator NAND?

  1. | p | q | NAND(p, q) |
    |---|---|---|
    | T | T | F |
    | T | F | T |
    | F | T | T |
    | F | F | T |
  2. | p | q | NAND(p, q) |
    |---|---|---|
    | T | T | T |
    | T | F | F |
    | F | T | F |
    | F | F | T |
  3. | p | q | NAND(p, q) |
    |---|---|---|
    | T | T | F |
    | T | F | F |
    | F | T | F |
    | F | F | T |
  4. | p | q | NAND(p, q) |
    |---|---|---|
    | T | T | T |
    | T | F | T |
    | F | T | T |
    | F | F | F |
Question 12 Multiple Choice (Single Answer)

Which of the following is an example of a tautology?

  1. p ∨ ¬p
  2. p ∧ ¬p
  3. p → q
  4. p ⊕ q
Question 13 Multiple Choice (Single Answer)

What is the contrapositive of the following proposition: "If it is raining, then the ground is wet."?

  1. If the ground is not wet, then it is not raining.
  2. If it is not raining, then the ground is not wet.
  3. If the ground is wet, then it is raining.
  4. If it is raining, then the ground is not wet.
Question 14 Multiple Choice (Single Answer)

What is the converse of the following proposition: "If it is raining, then the ground is wet."?

  1. If the ground is wet, then it is raining.
  2. If it is not raining, then the ground is not wet.
  3. If the ground is not wet, then it is not raining.
  4. If it is raining, then the ground is not wet.