Back to Basic Programming

Oak National Academy

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

Their topic:
Using fundamental programming constructs in a block-based language · Algorithms
For your topic:
Basic Programming · 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 · Lower secondary, ages 11 to 14

Builds the basics this topic needs

Problem solving using programming constructs

By the end: I can combine sequence, selection and iteration in a program to solve a problem.

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. The programming constructs of sequence, selection and iteration can be combined to make more complex programs.
  2. Analysing a problem involves decomposing it into its constituent parts.
  3. Algorithms can be developed to solve a problem.
  4. A problem can be solved in multiple ways.

Keywords

problem
a situation or task that needs to be solved
decomposition
breaking down a problem into smaller parts to make the task more manageable
solution
a means of solving a problem

A common mistake

Mistake: Programming constructs cannot be combined in the same code block.

In fact: The programming constructs of sequence, selection and iteration can be combined within the same code block to make more complex programs.

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 pseudocode

By the end: I can represent an algorithm using pseudocode.

Key learning points

  1. Algorithms can be represented in pseudocode.
  2. Pseudocode uses plain language to outline the steps of the algorithm in a logical and sequential manner.
  3. Pseudocode can be easily understood with only basic knowledge of programming.
  4. Pseudocode can be easily translated into different programming languages.

Keywords

pseudocode
a way of expressing an algorithm that is independent of a specific programming language
translate
to convert something from one form to another, making it understandable or usable in a different context

A common mistake

Mistake: Pseudocode can be directly run or executed by a computer.

In fact: Pseudocode is a human-readable representation of an algorithm's logic but doesn't follow the syntax or rules of any particular programming language. It should only be used as a planning tool.

Check what you learned

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

What is pseudocode?
Why can't pseudocode be directly executed by a computer?
Which of these best describes pseudocode?
What does it mean to translate pseudocode?
Why is pseudocode useful in problem solving?
What does pseudocode not include?

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

Lesson 3 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

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