Page 409 - computer science (868) class 11
P. 409

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



                                                                                                                       407
                                                                            Implementation of Algorithms to Solve Problems  407
   404   405   406   407   408   409   410   411   412   413   414