Page 41 - iprime_V2.2_class8
P. 41

3                                   Algorithm and






                                                                     Flowcharts








                          Chapter Profile
                            Algorithm                              Characteristics of a Good Algorithm
                            Uses of an Algorithm                   Writing an Algorithm
                            Defining Flowcharts                    Solving Problems Using Algorithms and Flowcharts





                 In our daily lives, we have to solve various problems using different strategies. These strategies

                 are called  problem-solving techniques. A problem-solving technique is a collection of
                 sequential steps to solve a problem. In the same way, programmers also use different types
                 of techniques to solve problems related to programming.  Some of these techniques are
                 algorithms and flowcharts.

                     ALGORITHM

                 We know that a program is a collection of instructions. The language used to write a program is

                 called a 'programming language'. Before writing a program on the computer, every programmer
                 must analyse the problem and write an algorithm to solve the problem.
                 An algorithm is a set of steps arranged in a sequential manner to solve a problem or to complete a

                 task. The problem can be logical or mathematical. Algorithms are the building blocks of computer
                 programs. They are as important to programming, as recipes are for cooking. An algorithm is
                 always written in very simple words and precise language so the steps can be understood easily
                 by everyone.

                 In computer  terms,  algorithm  is the  sequence of  steps or  computer operations  which
                 collectively solve a given problem.

                 Clickipedia




                   Ada Lovelace is credited with the evolution of the concept of
                   algorithm.





                                                                                       Algorithm and Flowcharts    39
   36   37   38   39   40   41   42   43   44   45   46