Boolean Expressions MCQ Practice

Question 1 of 10

What is false AND true?

  1. A. true AND true
  2. B. true
  3. C. false
  4. D. NOT false

Question 2 of 10

Evaluate NOT (true OR false).

  1. A. true OR false
  2. B. NOT true
  3. C. true
  4. D. false

Question 3 of 10

Which Boolean value does (score >= 60) OR (score < 60) have when score is 75?

  1. A. true
  2. B. false
  3. C. 75
  4. D. unknown

Question 4 of 10

Using a truth-table style check, which expression matches the OR of A and B?

  1. A. NOT (A OR B)
  2. B. NOT (NOT A AND NOT B)
  3. C. NOT A AND NOT B
  4. D. A AND B

Question 5 of 10

If open is false, what is NOT open?

  1. A. open
  2. B. NOT
  3. C. true
  4. D. false

Question 6 of 10

Let a = true, b = true, c = false. Evaluate (a AND b) OR (NOT c AND b).

  1. A. false
  2. B. c
  3. C. NOT b
  4. D. true

Question 7 of 10

For the printed expression (false AND true) OR true, what is the result?

  1. A. true
  2. B. false
  3. C. false AND true
  4. D. NOT true

Question 8 of 10

Which pair makes (x > 0) AND (x < 0) true?

  1. A. x = 0
  2. B. No real x; the AND is never true
  3. C. x = 1
  4. D. x = -1

Question 9 of 10

true OR true evaluates to:

  1. A. true AND true
  2. B. NOT true
  3. C. true
  4. D. false

Question 10 of 10

What is displayed?

p โ† false
q โ† true
DISPLAY (NOT (p OR NOT q))
  1. A. false
  2. B. p
  3. C. q
  4. D. true