Written by the Fiveable Content Team โข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโขWritten by the Fiveable Content Team โข Last updated September 2025
Definition
Boolean expressions are statements that evaluate to either true or false. They are commonly used in programming to make decisions and control the flow of a program.
Related terms
If statement: A programming construct that allows you to execute a block of code if a certain condition is true.
Logical operators: Symbols such as AND (&&), OR (||), and NOT (!) used to combine multiple boolean expressions and create more complex conditions.
Comparison operators: Symbols such as ==, !=, <, >, <=, >= used to compare values and produce boolean results.