Page 274 - AI Ver 1.0 Class 9
P. 274

Task



             Make a flowchart for displaying even numbers from 2 to 20.
















































                 Difference between Algorithm and Flowchart

        Let us look at the differences between an algorithm and a flowchart.



                              Algorithm                                          Flowchart


          It is a step-by-step textual approach to solve a  It is step-by-step visual/graphical approach to solve
          problem.                                           a problem.


          It is a Pseudocode (false code) of a program.      It is a graphical representation of a program.


                                                             Easily  represents  branching  and  looping  through
          Difficult to represent branching and looping.
                                                             symbols.






                  272   Touchpad Artificial Intelligence-IX
   269   270   271   272   273   274   275   276   277   278   279