Introduction to Algorithm
Introduction to Algorithm Algorithm Algorithm is "step by step procedure to solve the problem" is called as Algorithm. All Algorithm must satisfy the following criteria - 1) Input There are more quantities that are extremely supplied. 2) Output At least one quantity is produced. 3) Definiteness Each instruction of the algorithm should be clear and unambiguous. 4) Finiteness The process should be terminated after a finite number of steps. 5) Effectiveness Every instruction must be basic enough to be carried out theoretically or by using paper and pencil. Properties of Algorithm Simply writing the sequence of instructions as an algorithm is not sufficient to accomplish certain task. It is necessary to have following properties associated with an algorithm. Non Ambiguity Each step in an algorithm should be non-ambiguous. That means each instruction should be cl...
Comments
Post a Comment