Lesson 7: Applications

In this lesson you will draw upon the knowledge and skills learnt so far to analyse and write pseudocode for some mathematical algorithms.

Writing Algorithms 1 – Summation

The video below (2:53 mins) provides an overview of steps to design an algorithm and walks through the pseudocode for an example algorithm to sum integers.

Writing Algorithms 2 – Factorial

The video below (1:31 mins) walks through the pseudocode for an example algorithm to calculate the factorial of a number.

Writing Algorithms 3 – Sum of Squares

The video below (1:55 mins) walks through the pseudocode for an example algorithm to sum the first 10 squared numbers.

Reference Slides

The slides referenced in the videos are below.

Exercises

Please complete Exercises 5C in the textbook below. Solutions can be found at the back of the book.

Scroll to Top