Introduction To Algorithm: Prepared by
Introduction To Algorithm: Prepared by
Prepared By:
Sejal Patel
Assistant Professor
Parul Unievrsity
What is Algorithm?
• The word Algorithm means “a process or set
of rules to be followed in calculations or other
problem-solving operations”.
• An algorithm is a procedure or step-by-step
instruction for solving a problem.
• It can be understood by taking an example of
cooking a new recipe. To cook a new recipe,
one reads the instructions and steps and
execute them one by one, in the given
sequence. The result thus obtained is the new
dish cooked perfectly. Similarly, algorithms
help to do a task in programming to get the
expected output.
How to Design an Algorithm?