Page 28 - ModularV1.1 _c5_flipbook
P. 28

Rules to Draw Flowcharts

                  You must follow these basic rules while drawing a flowchart:
                      The flowchart should be clear, neat and easy to follow.
                      The direction of flow should be maintained from left to right or top to bottom.
                      Only one flow line should come out from a process symbol.
                      The flowchart should have a logical start and end.
                  Advantages of Flowcharts


                  Flowcharts provide the following advantages:
                      It provides a better understanding of a problem.
                      It facilitates a programmer to analyse the problem in detail.
                  Let us understand how some simple flowcharts are made.

                  Example 1:  Flowchart to drink a glass of  Example 2:  Flowchart to calculate
                                 cold water.                                         simple interest.


                                        Start                                               Start



                                Go to the kitchen
                                                                                   Read P for Principal
                                                                                            r for rate
                                Take a clean glass
                                                                                            t for time


                             Take out a water bottle
                              from the refrigerator                                   Calculate

                                                                                      SI = (P * r * t)/100)
                               Pour the water into
                                     the glass

                                                                                           Print SI
                                  Drink the water


                            Fill the bottle and keep it
                                                                                            Stop
                             back in the refrigerator



                                        Stop


                      PROGRAMMING

                  A set of problem-solving techniques that represents problems and their solutions
                  in ways that a computer could also execute is known as Computational thinking.
                  A computer can only work using step-by-step instructions given by us. Giving these
                  step-by-step instructions to the computer is called programming.


                  26      Modular (Ver. 1.1)-V
   23   24   25   26   27   28   29   30   31   32   33