What is an algorithm?
1. Definition of algorithm
An algorithm is a series of instructions for solving some problem, step by step.
The goal is what you want to do in the algorithm.
3.Pseudo-code
English like sintax that resebles a programing lenguage.
5. Definition of loop
7. How to make an algorithm
I design the steps in order to achieve the goal of the algorithm and then I test if it is correct.
8. Testing an algorithm
Once I have set the steps of the algorithm I proof if it works by following the steps and check if it is buggy. If so I change the algorithm.
9. We test corner cases
The corner cases are not typical. To have corner cases the algorithm have to be in 0.
10. Definition of branch
A branch is a serie of steps of an algorithm that are executed if the condition occurse.
Comments
Post a Comment