Page 38 - modular4.0
P. 38

Chapter Profile
                      Only one flow line should come out from a process symbol.
                                                                                                                                            Exercise
                      Ensure that the flowchart has a logical start and end.
                                                                                                                                            A.  Tick ( ) the correct option.

                  Advantages of Flowchart                                                                                                        1.  Identify the first step in writing an algorithm.
                  Flowchart provide following advantages:                                                                                             a.  Start                                      b.  Print result

                      It provides a better understanding of a problem.                                                                               c.  Stop                                        d.  Read data
                      It facilitates a programmer to analyse the problem in detail.                                                              2.  Which symbol represents the decision in a flowchart?



                  Drawing Flowchart
                                                                                                                                                      a.                                             b.
                   Flowchart to drink a glass of cold water. Flowchart to calculate simple interest.

                                           Start                                              Start                                                  c.                                              d.

                                                                                                                                                 3.  Which of the following is an advantage of a flowchart?
                                    Go to the kitchen                                                                                                 a.  Provides better understanding              b.  Helps analyse the problem
                                                                                     Read P for Principal
                                                                                           r for rate                                                c.  Both a and b                                d.  Can directly be converted to code
                                   Take a clean glass
                                                                                          t for time
                                                                                                                                                 4.  What does a rectangle symbol in a flowchart represent?
                                  Take out a water bottle                                                                                             a.  Start/Stop                                 b.  Decision
                                     from refrigerator                                      Calculate
                                                                                        SI = (P * r * t)/100                                         c.  Process                                     d.  Input/output

                                   Pour the water into                                                                                      B.  Write ‘T’ for true and ‘F’ for false.
                                         the glass
                                                                                                                                                 1.  An algorithm is always written in complex language.
                                                                                            Print SI
                                     Drink the water                                                                                             2.  Flowcharts can only be used for programming  related problems.
                                                                                                                                                 3.  The diamond symbol in a flowchart is used to represent decisions.

                             Fill the bottle and keep it back                                 Stop                                               4.  A flowchart has a logical start and stop.
                                   in the refrigerator
                                                                                                                                                 5.  Algorithms solve logical or mathematical problems.

                                                                                                                                            C.  Write the names of these symbols.
                                           Stop
                                                                                                                                                 1.                                                 2.
                           Recap

                                                                                                                                                 3.                                                 4.
                         Algorithm is a set of steps in a sequential manner to solve a problem or to complete


                        a task.                                                                                                             D.  Short answer type questions.


                         Flowchart is a graphical representation of the  sequence  of  operations in  an                                         1.  Define an algorithm in computer terms.
                        information system or program.




                36   Modular (Ver. 4.0)-V
   33   34   35   36   37   38   39   40   41   42   43