6 min read
This study guide covers Boolean logic for the AP Computer Science Principles exam. It focuses on Boolean variables, relational operators (==
, !=
, >
, <
, >=
, <=
), logical operators (NOT
, AND
, OR
), and truth tables. It also explains common mistakes, operator precedence, and provides practice questions involving conditional statements and combining Boolean logic with other programming concepts.
Give us your feedback and let us know how we can improve
Question 1 of 7
If and , what is the result of the expression ? 🤔
true
false
Error
None of the above