Page 19 - Computer Class 06
P. 19

Flow Lines
             Flow lines indicate the exact sequence in which instructions

             are  executed.  Arrows  represent  the  direction  of  flow  of
             control  and  relationship  among  different  symbols  of
             flowchart.



                              For example:


                                    Volume of a cuboid =

                                 Length × Breadth × Height






                                               Print
                                             Volume


                                                                                                       For example:


             Document
                                                                                                           Invoice
             This symbol indicates any document on paper or a result to
             be printed out.



             Simple Flowchart                                                                       Start

             Let us start with a simple program to input an integer and
             print  its  square.  The  algorithm  for  this  program  could  be
                                                                                                  Read i
             written as given below.

             Step 1         :      Start

             Step 2         :      Read ‘i’                                                       J=i × i
             Step  3        :      Compute ‘j’ = ‘i’ × ‘i’

             Step 4         :      Print the value of ‘j’
                                                                                                   Print j
             Step 5         :      Stop




                                                                                                    Stop








                                                                                    Computer-6              19
   14   15   16   17   18   19   20   21   22   23   24