Page 37 - TP_Modular_V2.1_Class5
P. 37

Step 3  Compare number A and B. If A is less than B, print "A is smallest" and go
                           to Step 5.

                 Step 4  Compare number A and B. If B is less than A, print "B is smallest" and go
                           to Step 5.
                 Step 5  Stop.


                    FLOWCHARTS

                 A flowchart is a type of graphical diagram that represents an algorithm. Flowcharts
                 are used in analysing, designing, documenting or managing a process or program
                 in various fields.

                 Hence, it is correct to say that a flowchart is must for the better understanding
                 of a complex program.

                 Symbols used in Flowcharts

                 Different symbols are used to draw different types of flowcharts. Let us discuss
                 them.


                       Name               Symbol                               Description

                                                         It is used to show the start and stop points
                   (Start/Stop)                          of the flowchart. It usually contains the words
                                                         'Start' or 'Stop'.


                                                         It shows a process or action step. This is  the
                      Process
                                                         most common symbol used in flowcharts.


                                                         It indicates a question or branch in the process
                      Decision                           flow.  It  is  used  when  there  are  2  options
                                                         (Yes/No).


                       Input/                           It represents material or information entering or
                      Output                            leaving the system, i.e., input and output.



                     Flow Line
                      (Arrow,                           It shows the direction in which the process flows.
                    Connector)


                                                        It is used as a Connector to show a jump from one

                    Connector                           point in the flowchart to another. Connectors are
                   (Inspection)                         usually labelled in pairs to show matching jump
                                                        points.


                                                                                   Algorithm and Flowcharts       35
   32   33   34   35   36   37   38   39   40   41   42