Lecture : Module-1 Algorithms and Flowcharts
Document Summary
The word algorithm relates to the name of the mathematician al-khowarizmi, which means a procedure or a technique. Software engineer commonly uses an algorithm for planning and solving the problems. An algorithm is a sequence of steps to solve a particular problem or algorithm is an ordered set of unambiguous steps that produces a result and terminates in a finite time. In the case of true, one of the two branches is explored; but in the case of false condition, the other alternative is taken. Generally, the if-then" is used to represent branch control: loop (repetition): the loop or repetition allows a statement(s) to be executed repeatedly based on certain loop condition e. g. while, for loops. It is a step-wise representation of a solution to a given problem, which makes it easy to understand: an algorithm uses a definite procedure.