definition of an algorithm






  • Definition of algorithm: in computer science, an algorithm is a series of instructions, for solving problems step by step.
  • The goal of an algorithms is the purpose of an algorithm, in this example it is counting persons in a room.
  • Pseudo code is an english like instruction set the sintaxis that resembles the programing language
  • The Definition of variable is the representing of what we are counting.
  • The definition of loop is the sequence of steps that will repeat some numbers of times.
  • Testing algorithm: You must establish if the algorithm works so you bang on it a bit testing corner cases or specific cases. 
  • The corner case 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.
  • 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

What is an Algorithm?

jaz