algorrithm


Algorithm


0:21 defintion of algorithm: An Algorithm is a step of instractions for solving some problem step by step.

0:30 definition of the goal: Is what you want to do in the algorithm.

0:43 pseudo code: Is like the sintaxis in a programming leguage.

0:57 definition of variable: The variable is in this example star in 0 and can change.

1:17 definition of loap: A sequance of steps they will repeat some numbers of time.

2:02 How to make algorithm:We starting counting something starting at 0 then for each person in the room we increment N by 1. So in the first trip of the trough of the loop, we uptriad n from zero to 1.


3:49 we test corner uses: The corner cases are not typical. To have corner cases the algorithm have to be in 0.

3:49 test algorrithm: When I have the set of steps from the algorithm I proof if it works by following the steps and check if it is buggy. If it is buggy means that it is wrong so you have to change it.

4:05 definition branch: It is used when there is a person in the room without a partner.



Comments

Popular posts from this blog

What is an algorithm?

What's an algorithm?