Page 367 - Ai_417_V3.0_C9_Flipbook
P. 367

Task                                         #Coding & Computational Thinking



                     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 a graphical representation of a algorithm.
                   problem.

                   It can be written in natural language, pseudocode,   It uses standardised symbols and shapes.
                   or code.


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





                                                                                        Introduction to Python  365
   362   363   364   365   366   367   368   369   370   371   372