Foundations · StudentHub Lesson
Flowcharts
Learn to visually represent algorithms and decision-making using flowchart symbols.
What you will learn
- Identify standard flowchart symbols
- Draw a simple flowchart for a process
- Represent decisions with diamond shapes
- Trace program logic visually
- Convert a flowchart into pseudocode
Watch the lesson
We haven’t confirmed a lesson video that matches this topic closely enough yet, so the notes below are the lesson for now. A recommended video will be added once we’ve checked one properly.
Topic notes
Main Idea
A flowchart is a diagram that visually represents the steps and decisions in an algorithm using standardized shapes.
Key Concepts
- Ovals represent start/end points
- Rectangles represent process steps
- Diamonds represent decisions (yes/no branches)
- Arrows show the flow/direction of execution
Definitions
- Flowchart: a diagram showing the sequence of steps in a process
- Decision node: a diamond-shaped symbol representing a branching choice
- Process node: a rectangle representing an action or calculation
Syntax / Structure
```
Start -> Input number -> Is number even?
Yes -> Print 'Even'
No -> Print 'Odd'
-> End
```
Examples
- A flowchart for making tea: Start, Boil water, Add tea bag, Wait, Serve, End
- A flowchart checking if a number is positive uses a diamond decision shape
Common Mistakes
- Using rectangles for decisions instead of diamonds
- Forgetting arrows to show direction of flow
- Omitting a clear start or end symbol
Key concepts
Important terms
- Flowchart
- A visual diagram representing steps and decisions in a process
- Decision node
- A diamond shape representing a yes/no or true/false branch
Worked examples
Problem
Draw a flowchart to check if a number is positive or negative
- 1. Start
- 2. Input number
- 3. Diamond: Is number > 0?
- 4. Yes: Print Positive
- 5. No: Print Negative
- 6. End
Answer: A flowchart with a decision diamond branching into two outcomes
Quick revision
- Ovals mark start and end
- Rectangles are process steps
- Diamonds are decisions
- Arrows show flow direction
- Flowcharts help visualize algorithms before coding
Check your understanding
Question 1 · Multiple choice
Which shape represents a decision in a flowchart?
Question 2 · Multiple choice
What shape marks the start and end of a flowchart?
Question 3 · True or false
Arrows in a flowchart show the direction of the process flow.
Question 4 · Short answer
What symbol would you use to represent 'calculate total'?
Question 5 · Short answer
Why are flowcharts useful before writing code?
Done with Flowcharts?
Sign in to save your progress across the library.