Drawing several alternatives in a flowchart

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

Drawing several alternatives in a flowchart

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. A flowchart must choose between 3 different paths. What shape do you need?
A Only one decision diamond
B Two decision diamonds, one after the other
2. Which one is how chained decisions are joined?
A The Yes arrow from the first diamond leads back to Start
B The No arrow from the first diamond leads to the next diamond
3. A flowchart has 2 diamonds chained together. How many different paths can it have?
A 3 paths
B 1 path
4. Which is a good question to write inside a decision diamond?
A Is the score 90 or more?
B Print the grade A
5. Mia draws a flowchart with 3 paths. One path stops with no End shape. What is wrong?
A Every path must reach End
B Nothing, only one path needs to reach End

Match the Pairs

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

Left columnRight column
1Is it raining? No -> Is it sunny? AThis path finishes at End. Every path in the flowchart must reach End.
2Yes -> Take an umbrella -> End BThe No arrow from the first diamond leads to a second diamond, so the flowchart can ask another question.
3Two diamonds chained together give three paths to choose from CThe path stops without an arrow to End. Every path must finish at End.
4The last No path must also reach End, not stop DScore > 80? Yes -> Gold. No -> Score > 50? Yes -> Silver. No -> Bronze
5Is it hot? Yes -> Wear shorts. No -> (no arrow) EThe No arrow goes nowhere. It should lead to the next decision diamond, such as Is it cold?
6Is it cold? No -> Wear a t-shirt (stops here) FScore > 50? No -> Bronze -> End

Definitions

chained decisions

Fill in the Blanks

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

1.
Diamond 1: Is it raining? Yes -> Take umbrella -> End __ -> Diamond 2: Is it sunny?
2.
Diamond 1: Is the score 90 or more? Yes -> Grade A -> ___ No -> Diamond 2: Is the score 50 or more?
3.
Diamond 1: Is the day Saturday? Yes -> Play footy -> End No -> _______ 2: Is the day Sunday?
4.
Diamond 1: Is the number below 10? ___ -> Show Small -> End No -> Diamond 2: Is it below 100?
5.
Diamond 1: Is it hot? Yes -> Wear shorts -> End No -> Diamond _: Is it cold?

Spot the Error

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

Question 1
A Start
B Box: temp > 30?
C Yes: say Hot, go to End
D No: Diamond: temp > 15?
E Yes: say Mild, go to End
F No: say Cold, go to End
Question 2
A Start
B Diamond: score > 89?
C Yes: say A
D No: Diamond: score > 59?
E Yes: say B, go to End
F No: say C, go to End
Question 3
A Start
B Diamond: pet is dog?
C Yes: say Woof, go to End
D No: go to End
E Yes: say Meow, go to End
F No: say Hello, go to End
Question 4
A Start
B Diamond: age < 5?
C No: say Free, go to End
D No: Diamond: age < 13?
E Yes: say Child, go to End
F No: say Adult, go to End
Question 5
A Start
B Diamond: say Stop
C Yes: say Stop, go to End
D No: Diamond: light is amber?
E Yes: say Slow, go to End
F No: say Go, go to End

Answer Key

Drawing several alternatives in a flowchart
Section A: Quick Questions
Q1
B — Two decision diamonds, one after the other
Q2
B — The No arrow from the first diamond leads to the next diamond
Q3
A — 3 paths
Q4
A — Is the score 90 or more?
Q5
A — Every path must reach End
Section B: Match the Pairs
Q1
Is it raining? No -> Is it sunny? → The No arrow from the first diamond leads to a second diamond, so the flowchart can ask another question.
Q2
Yes -> Take an umbrella -> End → This path finishes at End. Every path in the flowchart must reach End.
Q3
Two diamonds chained together give three paths to choose from → Score > 80? Yes -> Gold. No -> Score > 50? Yes -> Silver. No -> Bronze
Q4
The last No path must also reach End, not stop → Score > 50? No -> Bronze -> End
Q5
Is it hot? Yes -> Wear shorts. No -> (no arrow) → The No arrow goes nowhere. It should lead to the next decision diamond, such as Is it cold?
Q6
Is it cold? No -> Wear a t-shirt (stops here) → The path stops without an arrow to End. Every path must finish at End.
Section C: Definitions
Q1
chained decisions — Putting one decision diamond after another, so a No arrow leads to the next diamond. This lets a flowchart choose between three or more paths, and every path reaches End.
Section D: Fill in the Blanks
Q1
Diamond 1: Is it raining? Yes -> Take umbrella -> End No -> Diamond 2: Is it sunny?
Q2
Diamond 1: Is the score 90 or more? Yes -> Grade A -> End No -> Diamond 2: Is the score 50 or more?
Q3
Diamond 1: Is the day Saturday? Yes -> Play footy -> End No -> Diamond 2: Is the day Sunday?
Q4
Diamond 1: Is the number below 10? Yes -> Show Small -> End No -> Diamond 2: Is it below 100?
Q5
Diamond 1: Is it hot? Yes -> Wear shorts -> End No -> Diamond 2: Is it cold?
Section E: Spot the Error
Q1
B — A decision must be drawn as a diamond, not a box. Line 2 should be Diamond: temp > 30?
Q2
C — Every path must reach End. This Yes path stops without an arrow to End. It should be Yes: say A, go to End.
Q3
D — The No arrow must lead to the next diamond so the flowchart can check the next choice. Here it skips the cat question. It should be No: Diamond: pet is cat?
Q4
C — An age under 5 is the Yes answer, so this arrow must be labelled Yes. Two No arrows from one diamond is a mistake. It should be Yes: say Free, go to End.
Q5
B — A diamond holds a yes/no question, not an action. It should be Diamond: light is red?