An algorithm is a set of step-by-step instructions used to solve a problem. They are used by both human beings and computers.
Algorithms for Humans
Common examples of algorithms for humans include:
Fire evacuation Procedures
Cooking Recipes
Washing Machine Usage Instructions
Quick Activity:
Complete the slides (you will need to make a copy if your teacher has not provided this file in your Google Classroom) write your answers in the speaker notes section
Algorithms for Computers
Computers require algorithms to function and these usually come in the form of software. Computers differ from humans in that the instructions provided must be completely unambiguous – they must be clear and not open to interpretation.
Computer Algorithms used in computers are usually written in text or block based programming languages such as Python or Scratch, though some algorithms are physically wired into a computer.
Choose one of the following and write an algorithm for it:
How to make your favourite food
Your favourite viral Tik-tok dance
How to make a paper plane
How to make a cup of tea for a room full of people
Drawing a picture of a house
An alien has landed on earth and you have decided to send him on an important mission – to do your weekly shopping down at the supermarket! You have been given a shopping list. The alien has never been shopping before – can you write a set of instructions for it to do the shopping for you?
Remember!
Your algorithm must be:
Step-by-step.
Unambiguous – Each step must be completely clear and specific.
Still need to create information on - Abstraction and Decomposition.