Page 35 - modular4.0
P. 35

Chapter Profile
                                                                                         Chapter Profile
                  4                                                                Algorithm

                                                                                     Flowchart



                          Algorithm and


                                 Flowchart














                 In our daily life, we have to solve various problems by using different strategies. These
                 strategies are called problem solving techniques.  A  problem solving  technique is a
                 collection of sequential steps to solve a problem. Let's understand the above statement

                 with the help of an example.
                 Arrange your school bag according to the time table:

                 Step 1     Open your school bag and make sure it’s empty.
                 Step 2     See the timetable from your school diary.

                 Step 3     Take your books and notebooks from your bookshelf.

                 Step 4     Keep the books and notebooks in one section of a school
                            bag.

                 Step 5     Keep a pencil box, diary and lunch box in another section of
                            your school bag.
                 Step 6     Close your school bag.

                 In the same way, programmers also use different types of techniques to solve the problems

                 related to programming. Some of these techniques are algorithm and flowchart.

                        ALGORITHM


                 An Algorithm is a set of steps in a sequential manner to solve a problem or to complete

                 a task. The problem can be logical or mathematical. An algorithm is always written in
                 very simple words and precise language so that the steps can be understood easily by
                 everyone.

                 Example: Organise a birthday party

                 Step 1     Make a list of family members and friends to be invited.




                                                                                             Algorithm and Flowchart  33
   30   31   32   33   34   35   36   37   38   39   40