Page 61 - Viva ICSE Computer Studies 8 : E-book
P. 61

C.  Draw the appropriate symbols for the given fl owcharts.

                           1.               Start                                         2.            Start


                                                                                                        Read
                                         Input number                                                     R


                                                                                                     Set Pi = 3.14
                                       Rem = number/2

                                                                                                    Area = Pi  *  R  *  R
                                                             False
                                          Is Rem = 0
                                                                                                     Display Area
                                       True
                                                               Print the number
                                                                                                        Stop
                                                                    odd
                                      Print ‘even number’

                                                                    Stop

                    D.  Answer the following questions.
                         1.  Write an algorithm to make coff ee.
                         2.  Depict a fl owchart for dividing two numbers.
                         3.  What are the advantages and disadvantages of a fl owchart?
                         4.  What rules should be followed to write an algorithm?

                         5.  Discuss the standard symbols used in a fl owchart.
                     Building Values and Life Skills


                     Kavya’s teacher has given her a problem to solve. She is confused whether to begin with an algorithm
                     or a fl owchart. Guide her in the correct manner.


                     Testing Knowledge


                     Identify and circle the errors in the given fl owcharts. Make the fl owcharts again in the given boxes.

                       1.  Find the average of three numbers
                                            Start



                                          Input A, B


                                    Average = (A + B + C)/3


                                         Print Average



                                            Stop



                                                                                                                    49
   56   57   58   59   60   61   62   63   64   65   66