← AP CSP

Boolean logic: AP CSP practice

AND, OR, NOT, truth tables and gates. 4 questions in the style of the AP CSP exam.

Sample questions

What is the value of the Boolean expression below?

x ← 7
y ← 3
(x > 5) AND (NOT (y = 3))
  1. false
  2. 7
  3. An error occurs
  4. true