
MALABAR SECONDARY SCHOOL

MORE ON PROBLEM SOLVING - ALGORITHMS

In this lesson you will review five steps to problem sovling.
Click on the music file below to listen to the song.
Can you list the five steps to problem sovling?
DISCLAIMER: We do own the rights to the music used to modify this audio item. This recording was created only for educational purposes
ALGORITHMS
What is an algorithm?
An Algorithm is a finite sequence of instructions that if followed, will allow us to achieve our result.
Characteristics of Algorithms
-
Is Unambiguous or Precise: Steps must be clear and specific.
-
Has logical sequence: Must flow from one step to another.
-
Has inputs
-
Has outputs
-
Is finite – fixed number of steps.
-
Is efficient – minimum amount of steps used.
Ways to represent Algorithms
-
Narrative
-
Using English like statements to describe the solution to the problem.
-
-
Flowchart (Use of Shapes)
-
Using visual representation of the solution using specific shapes and arrows.
-
-
Pseudocode
-
As the name implies pseudo – fake code, not an actual programming language but very close.
-
Types of Instructions
-
Input instructions
-
Processing instructions
-
Sequencing instructions
-
Repeating instructions
-
Selecting instructions
-
-
Output instructions
Narrative Style Algorithms
Complete the activities below based on writing out instructions. You should note that each instruction should begin with a verb or action word. These are all algorithms done in the narrative form.
Activity 1

Activity 2
Complete the following in your notebooks.

1 2 3 4 5 6 7
What did you notice about your responses and those of others in your class?
Activity 3
Type the name of your class, then your full name and click start to begin the quiz below.
QUIZ - ALGORITHMS
Activity 4
In a group of three to four persons write an algorithm to guide two persons in the steps required to play and complete the game of snakes and ladders. Note the algorithm must be written for a two player game.
Activity 6
Do you know how to play chess. Click the online game of chess. Play with the Bot for 5 minutes then answer the questions below in your notebooks.
1. Write an algorithm for the minutes of the game of chess.
2. Look at the characteristics of algorithms in your books or from this site. Did the algorithm that you wrote follow all of these characteristics?
3. How well does the game of snakes and ladders follow the characteristics of alogrithms?
4. Would you say that playing a game of chess is following a clear algorithm? (Look again at the characteristics of algorithms to help you answer this question).


