Drawing a decision in a flowchart

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

Drawing a decision in a flowchart

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Which shape do you draw for a question that has a Yes or No answer?
A A diamond
B A rectangle
2. How many arrows should leave a decision diamond that asks one yes or no question?
A One arrow with no label
B Two arrows: one Yes and one No
3. Which text belongs inside the diamond?
A Is it raining?
B Take an umbrella
4. A diamond asks 'Is the score more than 10?'. What do the two arrows lead to?
A Different steps
B The exact same step
5. After the Yes path and the No path finish their own steps, they can...
A Never meet again
B Join again at the next shared step

Match the Pairs

Draw a line connecting each item on the left to its match on the right.

Left columnRight column
1[ Is it raining? ] Yes → Take umbrella, No → Wear a cap A[ Is score > 10? ] Yes → Say 'Great job!' / No → Say 'Try again!'
2Yes path → Add jam, No path → Add cheese, then both → Eat sandwich B[ Is it hot? ] Yes → Wear shorts / No → [ Is it cold? ] Yes → Wear jumper / No → Wear jeans
3Every decision diamond needs two arrows leaving it, one labelled Yes and one labelled No. CThe diamond has only one arrow and no Yes or No labels. It needs a Yes arrow and a No arrow leading to different steps.
4To choose between more than two paths, put another decision diamond on the No arrow of the first one. DTwo paths split at a diamond and then join again at the next step, so both paths end up at the same place.
5[ Is it Friday? ] → Play games (only one arrow, no labels) EA decision diamond asks a yes or no question and sends the flow along the Yes arrow or the No arrow to different steps.
6[ What is your favourite colour? ] Yes → Paint it, No → Skip it FThe question in the diamond cannot be answered with Yes or No. It should be a yes or no question like 'Is your favourite colour blue?'

Definitions

decision diamond

Fill in the Blanks

Complete each line of code by filling in the missing parts.

1.
[_______] Is it raining? Yes -> Take an umbrella No -> Wear a sunhat
2.
[diamond] Is it raining? ___ -> Take an umbrella No -> Wear a sunhat
3.
[diamond] Is the light green? Yes -> Go __ -> Stop
4.
[diamond] Is it cold? Yes -> Put on a coat No -> Skip the coat Both arrows ____ at: Go outside
5.
[diamond] Is the score 90 or more? Yes -> Award gold No __ [diamond] Is the score 50 or more?

Spot the Error

Shade in the letter of the line that contains an error.

Question 1
A Oval: START
B Diamond: Is it raining?
C Yes -> Box: Take umbrella
D Yes -> Box: Wear a cap
E Box: Walk to school
Question 2
A Oval: START
B Diamond: Is score over 50?
C -> Box: Print Pass
D No -> Box: Print Try again
E Oval: END
Question 3
A Diamond: Is it dark?
B Yes -> Box: Turn on light
C No -> Box: Open curtains
D Yes path -> Box: Read book
E Oval: END
Question 4
A Oval: START
B Diamond: How many doors?
C Yes -> Box: Walk inside
D No -> Box: Knock on door
Question 5
A Oval: START
B Diamond: Is the cup empty?
C Maybe -> Box: Fill the cup
D No -> Box: Drink water

Answer Key

Drawing a decision in a flowchart
Section A: Quick Questions
Q1
A — A diamond
Q2
B — Two arrows: one Yes and one No
Q3
A — Is it raining?
Q4
A — Different steps
Q5
B — Join again at the next shared step
Section B: Match the Pairs
Q1
[ Is it raining? ] Yes → Take umbrella, No → Wear a cap → A decision diamond asks a yes or no question and sends the flow along the Yes arrow or the No arrow to different steps.
Q2
Yes path → Add jam, No path → Add cheese, then both → Eat sandwich → Two paths split at a diamond and then join again at the next step, so both paths end up at the same place.
Q3
Every decision diamond needs two arrows leaving it, one labelled Yes and one labelled No. → [ Is score > 10? ] Yes → Say 'Great job!' / No → Say 'Try again!'
Q4
To choose between more than two paths, put another decision diamond on the No arrow of the first one. → [ Is it hot? ] Yes → Wear shorts / No → [ Is it cold? ] Yes → Wear jumper / No → Wear jeans
Q5
[ Is it Friday? ] → Play games (only one arrow, no labels) → The diamond has only one arrow and no Yes or No labels. It needs a Yes arrow and a No arrow leading to different steps.
Q6
[ What is your favourite colour? ] Yes → Paint it, No → Skip it → The question in the diamond cannot be answered with Yes or No. It should be a yes or no question like 'Is your favourite colour blue?'
Section C: Definitions
Q1
decision diamond — A diamond shape in a flowchart that asks a yes or no question. One arrow is labelled Yes and one is labelled No, and each arrow leads to different steps.
Section D: Fill in the Blanks
Q1
[diamond] Is it raining? Yes -> Take an umbrella No -> Wear a sunhat
Q2
[diamond] Is it raining? Yes -> Take an umbrella No -> Wear a sunhat
Q3
[diamond] Is the light green? Yes -> Go No -> Stop
Q4
[diamond] Is it cold? Yes -> Put on a coat No -> Skip the coat Both arrows join at: Go outside
Q5
[diamond] Is the score 90 or more? Yes -> Award gold No -> [diamond] Is the score 50 or more?
Section E: Spot the Error
Q1
D — Both arrows from the diamond are labelled Yes. One arrow must be Yes and the other No, so line 4 should start with No ->.
Q2
C — The arrow leaving the diamond has no label. Every arrow from a decision diamond must say Yes or No, so line 3 should start with Yes ->.
Q3
D — Only the Yes path reaches Read book, so the No path never joins back in. Both paths should join again at the next step, so line 4 should say Both paths.
Q4
B — A decision diamond must ask a question with a Yes or No answer. 'How many doors?' needs a number. It should be a yes/no question like 'Is the door open?'.
Q5
C — A decision diamond only has Yes and No arrows. 'Maybe' is not allowed, so line 3 should start with Yes ->.