What is an algorithm? Definitions.
Definitions
Algorithm
= set of instructions to solve problems
Goal
= what do you want to do with an algorithm
Pseudo-code
= an informal high-level description of a computer program or algorithm
Variable
= a value that can change
Loop
= sequence of instructions that is continually repeated until a certain condition is reached
Indentation
= the line that will repeat
How to make an algorithm?
= to make an algorithm you have to do it line by line and then you have to see if it is correct
Testing an algorithm
= the agorithm has to be tested so that it doesn`t have a bug
Branch
= an additional line that is executed for a special condition

Comments
Post a Comment