Negating compound conditions
De Morgan's law: to negate a compound condition, negate each part and swap AND for OR. Likewise NOT (A OR B) = (NOT A) AND (NOT B). A truth table can prove they match.
Understanding Negating compound conditions in Years 9–10 Creating Digital Solutions
What it does: Negate each comparison (>= becomes <, <= becomes >) and swap AND for OR. A person is not a teen if they are under 13 or over 17. Checking every combination of A and B shows both expressions give the same result. This row is one example where both come out true. Each part is negated AND the operator is swapped. If you forget to swap it, the new condition is not equivalent. Turned away is NOT (A AND B). You only need one part to fail, so it becomes (NOT A) OR (NOT B). Negating a range check gives 'outside the range'. A number is outside if it is below 1 OR above 10. No number can be both, so AND would never be true.
Common mistakes: By De Morgan's law, NOT (A AND B) equals (NOT A) OR (NOT B). Negating each part is not enough, because AND must also swap to OR. Line 3 should use OR. NOT (x OR y) equals (NOT x) AND (NOT y). Both x and y must be false, so the OR must swap to AND.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 6–132) and word search (Modules 6–132).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
NOT (A AND B) = (NOT A) OR (NOT B)Fill in the Blanks
Spot the Error
Student with a class code? Join your class →