Choose a country
Grade 5Computer scienceAlgorithms and programs

Ways to show an algorithm: flowcharts

Lesson goal: Know how to show an algorithm in words, pictures and as a flowchart, recognise flowchart shapes and draw a simple flowchart.
← Algorithms and programs

About this lesson

An algorithm is an exact sequence of steps to reach a goal. It can be shown in words (numbered steps), in pictures, as a flowchart, or as a program. In a flowchart each shape has a meaning: an oval is start and end; a rectangle is a command (action); a diamond is a condition (a yes/no question); a parallelogram is input or output. Arrows join the shapes and show the order of steps. Two paths leave a diamond, yes and no: this is branching. When an arrow loops back and steps repeat, it is a loop.

Lesson goal: Know how to show an algorithm in words, pictures and as a flowchart, recognise flowchart shapes and draw a simple flowchart.

What the book shows

In grade 5 the computer science textbook has units on information, the computer, applications, algorithms and the internet. Each topic gives a short explanation, an example and a task done on or off the computer.

Textbook link:

This is not the textbook’s text but a short description of the topic. Check the exact page in your own textbook.

The lesson step by step

  1. 1

    Warm-up5 min

    A morning algorithm.

  2. 2

    New topic10 min

    Ways to show it.

  3. 3

    Practice10 min

    Flowchart shapes.

  4. 4

    Game10 min

    Branches and loops.

  5. 5

    Wrap-up5 min

    Drawing a flowchart.

Let’s understand

For the student Simple language

ShapeMeaning
⬭ ovalstart / end
▭ rectanglecommand
◇ diamondcondition: yes / no
▱ parallelograminput / output
Start → Is it raining? → yes: take an umbrella / no: go out → End

Going deeper

Scientific language: for older students, parents and teachers.

Programmers often sketch a flowchart before writing a big program; it helps spot mistakes early.

Play and check

Which shape?

How to write it down

  1. Write the “make tea” algorithm in words.
  2. Draw it as a flowchart.

How the classwork looks in the notebook

15 November1Classwork2⬭ start → ▭ command → ◇ condition (yes/no) → ▭ → ⬭ end3
Writing order: 1 Date 2 Heading 3 Line 3: ⬭ start → ▭ command → ◇ condition (yes/no) → ▭ → ⬭ end
Sample: the date and heading follow this country’s notebook rules.

Open notebook

Watch out: common mistakes

Writing a condition in a rectangle. Conditions go in a diamond.
One arrow from a diamond. Two arrows leave it: yes and no.
Forgetting the end. Every flowchart ends with an oval.

Where it helps in life

  • Programs and the Turtle

At home

Core

  1. Draw a flowchart for crossing the road with the condition “Is the light green?”.

Extra ⭐

  1. Think of a flowchart with a repeated step (a loop).

How to do it

  1. Do the task with a grown-up.
  2. Explain in words what you noticed.
Answers for parents

Start → reach the lights → Is it green? → no: wait (arrow back to the question) / yes: look left and right → cross → End. Loop example: “Is the basket full?” no: pick one more and check again.

Step-by-step homework solution — Show the solution (try it yourself first)
  1. Think

    1. The same algorithm can be written in words or as a flowchart; the result is the same, but branches and loops are visible at a glance in a flowchart.

How the homework looks in the notebook

15 November1Homework2Flowchart3
Writing order: 1 Date 2 Heading 3 Line 3: Flowchart
Sample: the date and heading follow this country’s notebook rules.

Check yourself