Logical operators in a flowchart decision
A combined condition in one decision diamond. AND needs both parts true, OR needs just one, NOT reverses it. One diamond with AND matches two diamonds in a row.
Understanding Logical operators in a flowchart decision in Years 9–10 Creating Digital Solutions
What it does: Chaining two Yes checks one after the other gives the same result as joining them with AND in a single diamond. NOT flips the result, so the Yes path is followed only when the user is not logged in. AND needs both parts to be true. OR would let a student through with only one, so the rule would be broken. AND matches two diamonds in a row. You only reach the final Yes if you answer Yes to both questions, one after the other. A diamond can hold a combined condition with AND, OR or NOT. It still has only two exits: Yes and No.
Common mistakes: The rule says both conditions are needed, so the diamond must use AND. With OR, someone aged 13 or over with no permission would still be allowed in. Two diamonds in a row work like AND. You are only allowed if both answers are Yes, so the Yes path of diamond B leads to Allowed. It should be 'B Yes -> Print Allowed'.
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
age >= 13 AND has_permission = YesFill in the Blanks
Spot the Error
Student with a class code? Join your class →