Definition of algorithm
What's an algorithm?1: An algorithm is set of instructions that help you solving a problem.
What's the goal?
2: The goal of an algorithm is to help you solve problems.
What's the pseudo code
3:The pseudo code is the language to write an algorithm.
Definition of variable
4: The definition of variable is what you are counting (sometimes is one number and sometimes is another number).
Definition of loop
5: A loop is a process that always repeats.
Definition of brunch
7: The brunch executes only when you can't pair with something else. E.G. When there are three people in a room.
How to do an algorithm
8: You design some steps in order to archive the goal and then y test if it is correct.
Testing an algorithm
9: Once you've done the steps you have to check if it is buggy or if it's correct.
We test corner cases
10: To have a corner case you have to be in cero.
Comments
Post a Comment