Home computer What is Algorithm – Definition and usage

What is Algorithm – Definition and usage

0

What Is Algorithm

An Algorithm is a simple formula to solve complex calculations or to solve complex problems . A easy way to understand algorithms is look about table of number 2 .

In the other way , algorithm is a way to make take large tasks with creating small formulas .

Table is also a simple algorithms to make sum of numbers .

Example : Make the sum of 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 = 20 .  In this example sum to number 2 ten times . This is a big task . Now the other formula to solve this multiply 2 to  10 . 2 x 10 = 20  . In this example 2 x 10 is algo-rithm to sum of number 2 ten times .

Algorithm in computer science

In the computer science , algorithms definition is same as above . In computer science algorithm works as follows .

1. Get the input
2. Do complex calculations
3. Stops the algorithm when answer is found .

All of computer software’s are the examples of algo-rithm’s . Complex calculation make the software working .