Drawing a nested decision in a flowchart
A diamond placed on the Yes or No path of another diamond, so the second question is only asked after the first answer. Every path still ends at the End shape.
Understanding Drawing a nested decision in a flowchart in Years 7–8 Creating Digital Solutions
What it does: The second diamond sits on the Yes arrow of the first, so it is only reached if it is raining. Both branches of the inner diamond lead to the End shape, so no path is left dangling. Nested means one diamond is inside a branch of another. A diamond whose Yes path leads to another diamond is nested. All paths reach End. The outer No path needs an arrow to an output or straight to the End shape. Questions are always drawn as diamonds. Rectangles are for processes, so they can't ask the inner question.
Common mistakes: The second question must be a diamond (Decision) on the Yes path. A process rectangle cannot ask a question. It should be: Yes -> Decision: has pass? A diamond must hold a yes/no question, not an action. It should be: Decision: mark >= 50?
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 3–47) and word search (Modules 3–125).
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
nested decisionFill in the Blanks
Spot the Error
Student with a class code? Join your class →