Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 87 - 2505_CoreGPT(Podar)_Flipbook_C6
P. 87

    Symbol              Name                                    Description
                                        Connector         It is small and is used as a Connector  to show a jump
                                       (Inspection)       from  one  point  in  the  flowchart  to  another.  Connectors
                                                          are usually labelled in pairs to show matching jump points.
                     Rules to Draw Flowcharts

                     You must follow these basic rules while drawing a flowchart:
                        The flowchart should be clear, neat and easy to follow.
                        Maintain the direction of the flow from left to right or top to bottom.

                        Only one flow line should come out from a process symbol.
                         Ensure that only one flow line should enter a decision symbol, but two flow lines should leave
                        the decision box.
                        Ensure that the flowchart has a logical start and stop.
                     Advantages of Flowcharts

                     Flowcharts provide following advantages:

                        It provides a better understanding of a problem.
                        It facilitates a programmer to analyse the problem in detail.

                           SOLVING PROBLEMS WITH FLOWCHART

                     Let us understand how some simple flowcharts are made.
                     Example 1: Flowchart to calculate simple           Example 2: Draw a flowchart to find out
                     interest.                                          whether an individual is eligible for vote or
                                                                        not.
                                     Start

                                                                                   Start

                             Read P for Principal
                                      r for rate                                 Input Age
                                      t for time

                                    Calculate                                     Is age      No        Display "Not
                                SI = (P * r * t)/100                              >= 18?              Eligible for vote"

                                                                                       Yes
                                    Print SI
                                                                          Display "Eligible for vote"

                                      Stop
                                                                                   Stop

                                                                                           Algorithm and Flowchart       85

| 82 83 84 85 86 87 88 89 90 91 92 |