Role of Algorithms

Role of Algorithms

The word algorithm is derived from the name of the Persian mathematician Al Khwarizmi.

An algorithm can be defined as a step-by-step procedure for solving a problem.

An algorithm helps the user arrive at the correct result in a finite number of steps.

An algorithm has five important properties:

    • Finiteness
    • Definiteness
    • Input
    • Output
    • Effectiveness

    A problem can be solved using a computer only if an algorithm can be written for it.

    In addition, algorithms provide the following benefits:

    • Help in writing the corresponding program
    • Help in dividing difficult problems into a series of small solvable problems
    • Make decision making a more rational process
    • Help make the process consistent and reliable

    DataStructure : Role of Algorithms Program List