Definition of Algorithm
Algorithm: Algorithm is an instruction for solve a problem step by step
Definition of the goal: Is what you will to do and complete
Pseudo code: English lenguange to understand the programm lenguage
Definition of variable: A variable is a value
Definition of loap: a sequense of steps that will repeat some numbers of times
Definition of testing algorithm: It describe how we will go about counting
How to make an algorithm: We start counting something starting at zero then for each on in the room we increment N by 1. So in the first trip of the trough of the loop, we uptraid n from zero to 1 on the second thought that same loop. And so, by this algorithm end in 2
Testing algorithm: When the final result is the same that the number you will count its correct
We test corner cases: Spous there are 0 persons in the room. We start intializing N to 0, but the N by 1 doesnt execute at all. Since there isnt a person in the room, and so N remains to 0
Definition of branch: Its an algorithm thonly execute when the number you count isnt pair
Definition of the goal: Is what you will to do and complete
Pseudo code: English lenguange to understand the programm lenguage
Definition of variable: A variable is a value
Definition of loap: a sequense of steps that will repeat some numbers of times
Definition of testing algorithm: It describe how we will go about counting
How to make an algorithm: We start counting something starting at zero then for each on in the room we increment N by 1. So in the first trip of the trough of the loop, we uptraid n from zero to 1 on the second thought that same loop. And so, by this algorithm end in 2
Testing algorithm: When the final result is the same that the number you will count its correct
We test corner cases: Spous there are 0 persons in the room. We start intializing N to 0, but the N by 1 doesnt execute at all. Since there isnt a person in the room, and so N remains to 0
Definition of branch: Its an algorithm thonly execute when the number you count isnt pair
Comments
Post a Comment