Back to Algorithm And Flowcharts

Oak National Academy

Lessons written by expert teachers in England, each with slides, a video and quizzes.

Their topic:
Algorithms · Introduction to Python programming
For your topic:
Algorithm And Flowcharts · Computer Studies

Use these lessons alongside our lesson note, which covers your syllabus in full.

What this covers in your syllabus

3 lessons from Oak National Academy

Lesson 1 of 3 · GCSE level, ages 14 to 16

Comparing algorithms to computer programs

By the end: I can describe the differences between algorithms and computer programs.

Key learning points

  1. An algorithm is a series of defined logical steps that can be followed to solve a problem.
  2. A computer program is a way of implementing an algorithm, by writing it in a language that a computer can understand.
  3. A single algorithm can be implemented in many different computer programs.

Keywords

algorithm
a set of step-by-step instructions to solve a problem
computer program
a way of implementing an algorithm by writing it in a language that a computer can use
logic
a system of rules that determine the flow of instructions

A common mistake

Mistake: Algorithms and computer programs are actually the same thing.

In fact: A computer program is a specific implementation of an algorithm's logic. A clearly written algorithm provides instructions that can be implemented in various ways including, but not limited to, computer programs.

Check what you learned

From Oak National Academy's exit quiz. Choose every answer that is right.

Which of the following is an example of an algorithm?
Why is logic important in algorithms?
What makes a computer program different from an algorithm?
What is another key difference between an algorithm and a computer program?

A computing lesson by Oak National Academy licensed under the Open Government Licence (OGL) v3.0. Read the licence

Lesson 2 of 3 · GCSE level, ages 14 to 16

Representing algorithms using flowcharts

By the end: I can create and represent an algorithm in a flowchart.

Key learning points

  1. Algorithms can be represented by flowcharts.
  2. Flowcharts use symbols to visually represent logic and data.
  3. Developing an algorithm's logic before coding makes problem solving easier.

Keywords

flowchart
a visual representation of an algorithm or program
symbol
a sign, shape or object that is used to represent something else
standardise
to make one thing the same as others of that type

A common mistake

Mistake: A flowchart should always be created before writing a computer program.

In fact: For simple programs, a flowchart may not be needed and could add to development time. Sometimes the program code itself might be clear enough without a flowchart.

Check what you learned

From Oak National Academy's exit quiz. Choose every answer that is right.

What is a flowchart?
What is the purpose of a flowchart?
Is it always necessary to create a flowchart before writing a computer program?
What is the main advantage of using flowcharts?
What does standardising flowchart symbols achieve?

A computing lesson by Oak National Academy licensed under the Open Government Licence (OGL) v3.0. Read the licence

Lesson 3 of 3 · Lower secondary, ages 11 to 14

Builds the basics this topic needs

Writing a text-based program

By the end: I can create a text-based program from an algorithm that includes input and output.

Take the full lesson on Oak National Academy The video, slides and quizzes for this lesson are on Oak National Academy's site.

Key learning points

  1. An algorithm is a sequence of steps that can be followed to do a task.
  2. A program is a set of commands that can be run by a computer in order for it to do a task.
  3. All programming languages have rules for syntax that must be followed so that the program can run.
  4. The print() function is used to output information from a Python program.
  5. The input() function is used to input data from the user into a Python program.

Keywords

algorithm
a set of step-by-step instructions to solve a problem
program
a set of commands that can be run by a computer in order for it to do a task
syntax
the precise way that a program must be written to be understood by a computer

A common mistake

Mistake: Pupils will modify their code to provide input directly in to the input() function, for example, user = input("Aisha"), rather than typing when asked as the program runs.

In fact: The computer follows the instructions of a program. Input that a user has to type in should only be entered when the program runs. This allows different users to provide different inputs without changing the program in any way.

A computing lesson by Oak National Academy licensed under the Open Government Licence (OGL) v3.0. Read the licence

The wording comes from each publisher. The layout and the links to your syllabus are ours.