The video talk about algorithm

The video talk about algorithm

[An algorithm is a step by step procedure to solve logical and mathematical problems.]

[A recipe is a good example of an algorithm, because it says what must be done, step by step.]
[The goal means what you want to do with the algorithmus.]
[Pseudocode is an informal high-level description of the operating principle of a computer program or other algorithm.Variable is the representing of what we are counting.we start counting something starting at zero, for each pepole im the room we increment;
N by 1.So in the first trip of trouhgt of the loop we upgraid N from zero to 1.with 5 pepole in the room the results have to be 5, if it don't like that,  the algorithm is ''buggy''.]
[To test the corner cases they try to know if the algorithm functions with 0 pepoles at the room.]

Only executes if there is 1 person in the room, that can not br paired with some one else.


Comments

Popular posts from this blog

What is an algorithm?

What's an algorithm?