What is an Algorithm?

1)Definition and Algorithm: "0,21 S.''
An Algorithm is a set of Instructions for solulving some problem step by step.

2)Definition of the Goal: ''0,30 S.''
The Goal of an Algorithm is about counting how mutch people is in the room.

3)Pseudo code: ''0,43 S.''
The Pseudo code is the language to express the Algorithm.

4)Definition of variable: ''0,57 S.''
The Definition of variable is the representing of what we are counting.

5)Definition of loap: ''1,17 S.''
The Definition of loap is a sequence of steps that will repeat some numbers of times.

6)Definition of triding an Algorithm: ''1,38 S.''
It describes how we will count.

7)How to make algorithm: ''2,02 S.''
We start counting something at zero, and then for each person in the room we will increment N by 1, so with the first trip we will start counting at zero. And the second trip trough the same loop. And so, has this Algorithm end by 2.

8)Testing Algorithm
An Algorithm is a set of Instructions for soulving step by step. This are correct.

9)We test corner cases:
This is a not common case. To test it you have to now if the algorithm works with 0 persons.

10) Definition of branch
The branch is a new condition that you establish in a new line (line4) when an Algorithm doesn't function.




Comments

Popular posts from this blog

jaz