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))
- false
- 7
- An error occurs
- true
AND, OR, NOT, truth tables and gates. 4 questions in the style of the AP CSP exam.
What is the value of the Boolean expression below?
x ← 7 y ← 3 (x > 5) AND (NOT (y = 3))