Boolean operators
Logical operators (AND, OR, NOT) that combine or negate boolean values to create complex conditions. Boolean operators enable testing multiple conditions simultaneously within selection and iteration statements. AND returns true only if both operands are true, OR returns true if either operand is true, and NOT negates a boolean value. Boolean algebra governs operator behavior and simplification.
Formula
NOT (A AND B) = (NOT A) OR (NOT B)
Real World
Amazon's search filter uses AND to show only items that are both 'Prime eligible' AND 'rated 4 stars or above', narrowing 50,000 results down to 200.
Exam Focus
Apply De Morgan's Laws step-by-step in simplification questions — show intermediate working to earn method marks.
How well did you know this?