Algorithm:The algorithm is a set of instructions for solving some problem step by step, the goal of the Algorithm is about counting, like how much people is in a room.
The pseudocode, the pseudocode is a language to express the Algorithm.
the defintion of variable, is the representing of what we are counting, and the definition of loap is a sequence of steps that will repeat some times.
It describe how we will go about counting.
We start counting something starting as zero then for each on in the room we increment N by 1.So in the first trip of the loop, we uptraid n from zero to.
If there are 5 people in the room the results have to be five if it isn't like that then this Algorithm is wrong.
The corner is a case that is not typical. To test the corner cases they try to know if the Algorithm functions with 0 persons in a room.
Only executes if there is 1 person in the room , that can not be paired with some one else.
The pseudocode, the pseudocode is a language to express the Algorithm.
the defintion of variable, is the representing of what we are counting, and the definition of loap is a sequence of steps that will repeat some times.
It describe how we will go about counting.
We start counting something starting as zero then for each on in the room we increment N by 1.So in the first trip of the loop, we uptraid n from zero to.
If there are 5 people in the room the results have to be five if it isn't like that then this Algorithm is wrong.
The corner is a case that is not typical. To test the corner cases they try to know if the Algorithm functions with 0 persons in a room.
Only executes if there is 1 person in the room , that can not be paired with some one else.
Comments
Post a Comment