Flowcharts

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

Flowcharts

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Which flowchart shape represents a yes/no decision?
A Diamond
B Rectangle
2. Which shape is used for both the start and end of a flowchart?
A Oval
B Rectangle
3. When should you draw a flowchart?
A Before writing any code
B After the program is finished
4. What do arrows in a flowchart show?
A The speed of the program
B The direction of program flow
5. A rectangle in a flowchart represents a yes/no decision.
A True
B False

Match the Pairs

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

Left columnRight column
1Diamond shape Aif answer == "4": print("Correct!") else: print("Wrong!")
2Oval shape B# Rectangle: display a message print("Hello!")
3A rectangle in a flowchart represents a process step or action CWrong — start and end are shown with an oval, not a rectangle
4A diamond maps to an if/else decision in code DWrong — flowcharts are planning tools drawn before writing any code
5# Rectangle = start or end of program ERepresents a yes/no decision point in a flowchart
6# Flowcharts are drawn after coding is done FMarks the start or end of a flowchart program

Definitions

flowchart

Fill in the Blanks

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

1.
# ____ shape = start or end of program
2.
# _________ shape = a step or action
3.
# _______ shape = a yes/no decision
4.
# Arrows show the _________ of flow
5.
# Plan with a _________ before coding

Spot the Error

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

Question 1
A # Oval = a process step or action
B # Rectangle = a yes/no decision
C # Diamond = start or end
Question 2
A # Flowcharts are drawn after coding is finished
B # They help plan the logic of a program
C # They use shapes with specific meanings
Question 3
A # Oval shape = start or end
B # Rectangle shape = start or end
C # Diamond shape = a yes/no decision
Question 4
A # A diamond has two exits: yes and no
B # A rectangle has two exits: yes and no
C # An oval has one path: start or end
Question 5
A # Arrows in a flowchart are optional
B # They show the direction the program flows
C # Without arrows you cannot follow the logic

Answer Key

Flowcharts
Section A: Quick Questions
Q1
A — Diamond
Q2
A — Oval
Q3
A — Before writing any code
Q4
B — The direction of program flow
Q5
B — False
Section B: Match the Pairs
Q1
Diamond shape → Represents a yes/no decision point in a flowchart
Q2
Oval shape → Marks the start or end of a flowchart program
Q3
A rectangle in a flowchart represents a process step or action → # Rectangle: display a message print("Hello!")
Q4
A diamond maps to an if/else decision in code → if answer == "4": print("Correct!") else: print("Wrong!")
Q5
# Rectangle = start or end of program → Wrong — start and end are shown with an oval, not a rectangle
Q6
# Flowcharts are drawn after coding is done → Wrong — flowcharts are planning tools drawn before writing any code
Section C: Definitions
Q1
flowchart — A visual diagram that maps a program's logic before coding, using ovals for start/end, rectangles for steps, and diamonds for yes/no decisions
Section D: Fill in the Blanks
Q1
# Oval shape = start or end of program
Q2
# Rectangle shape = a step or action
Q3
# Diamond shape = a yes/no decision
Q4
# Arrows show the direction of flow
Q5
# Plan with a flowchart before coding
Section E: Spot the Error
Q1
A — The oval shape represents start or end, not a process step. A rectangle is a process step and a diamond is a decision. Line 0 is wrong.
Q2
A — Flowcharts are drawn before coding, not after. They are a planning tool to map out logic before writing any code. Line 0 is wrong.
Q3
B — The rectangle shape represents a process step or action, not start or end. The oval is used for start and end. Line 1 is wrong.
Q4
B — A rectangle is a process step with one entry and one exit — it does not branch. Only a diamond has yes/no exits. Line 1 is wrong.
Q5
A — Arrows are not optional in a flowchart — they are essential for showing the direction of program flow. Line 0 is wrong.