Presentation is loading. Please wait.

Presentation is loading. Please wait.

Algorithms In general algorithms is a name given to a defined set of steps used to complete a task. For example to make a cup of tea you would fill the.

Similar presentations


Presentation on theme: "Algorithms In general algorithms is a name given to a defined set of steps used to complete a task. For example to make a cup of tea you would fill the."— Presentation transcript:

1 Algorithms In general algorithms is a name given to a defined set of steps used to complete a task. For example to make a cup of tea you would fill the kettle, turn it on and so on In computer terms algorithms describe a set of instructions to make a program work

2 Algorithms In computer terms algorithms are a set of instructions to carry out a software task. Many games programmers use algorithms when they are planning their games.

3 Pseudo code Programmers use Pseudo code to describe their algorithms. Pseudo code does not follow any programming language It sets out the algorithm with statements written in English

4 Pseudo code If student's grade is greater than or equal to 60
Print "passed" else Print "failed"

5 Pseudo code Below is an example of pseudo code for a game in scratch. When green flag is clicked Move car 10 steps forever If touching green Stop


Download ppt "Algorithms In general algorithms is a name given to a defined set of steps used to complete a task. For example to make a cup of tea you would fill the."

Similar presentations


Ads by Google