the algorithms for morritmo

0:21 Definiton of algorithms: An Algorithm is a set of instructions for solving some problem, step-by-step.
0:30 Definition of the goal: The goal means what you want to do whit the algorithm.
0:43 Pseudo code: It is like syntax. in English, that resembles a programming language.
0:57 Definiton of variable: A variable initializes its value to zero.
1:17 Definition of loop: A loop is a sequence of steps that will repeat some number of time.
1:29 Definiton of testing algorithms: Describes exactly how we'll go about counting.
2:02 How to make algorithms?: To make an algorithm first we most to put a variable that indicate that the we start counting from zero (N=0), then for each of the people in the room we increment n by one (N=N=1).
3:49 Testing algorithms: When you have the set of steps from the algorithm you proof if it work by following the steps. If it's buggy means that it is wrong so you have to check it.
3:49 We test corner uses: The corner uses are not typical. To have corner uses the algorithm have to be in zero.
4:05 Definition of branch: A branch is useful for when you count in pairs and some one is alone.
Comments
Post a Comment