Page 436 - Cs_withBlue_J_C11_Flipbook
P. 436

The arrows represent flow lines which show the direction of
                                                              flow of the process.
                                              FLOW LINES


                                                              The on  page connectors allow the flowchart to  be drawn
                                                              neatly, without intersecting lines. They are used in pairs – one
                                    ON PAGE                   denoting the end of a step and the other the continuation. The
                                   CONNECTOR                  pairs are represented by an alphabet written inside the circle.



                                                              The off page connectors are used to join symbols on another
                                     OFF PAGE                 page. These connectors are also used in pairs.
                                   CONNECTORS




              Let us demonstrate all the three methods with the following simple examples.
              Problem 1: Accept temperature in Centigrade and convert it to Fahrenheit.


              Algorithm:
              Step 1:  Start.

              Step 2:  Accept temperature in Centigrade and store it in C.
              Step 3:  Calculate Fahrenheit temperature F as 9 * C / 5 + 32.
              Step 4:  Display F.
              Step 5:  Stop.

              Pseudocode:
              Begin
                      Read C
                      F          9 * C / 5 + 32
                      Output F
              End

              Flowchart:
                                                                Start





                                                              Accept C




                                                           F = 9 * C / 5 + 32




                                                              Display F




                                                                Stop



                434434  Touchpad Computer Science-XI
   431   432   433   434   435   436   437   438   439   440   441