Page 287 - Artificial Intellegence_v2.0_Class_9
P. 287

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.






                                                                                   Introduction to Python  285
   282   283   284   285   286   287   288   289   290   291   292