Page 115 - Computing E-Book Grade 7
P. 115

The City School  2021-2022




             Example




                                                          Start





                                                          Read
                                                      temperature                                                    Programming the Computer-Python








                                                     temperature<32




                                       Print                                  Print
                                 Below freezing                         Above freezing









                                                           End






             5.3.  Pseudocode


             Pseudocode is an informal high-level description of
             the operating principle of a computer program or                 Pseucode Example

             other algorithm. It uses the structural conventions             BEGIN
             of a normal programming language but is intended                     input hours
                                                                                input rate
             for human reading rather than machine reading.                     pay=hours*rate
             Pseudocode typically omits details that are essential              print pay

             for machine understanding of the algorithm, such                END
             as variable declarations, system specific code etc.

             In simple words, Pseudocode is a precise form of an
             algorithm without unnecessary steps of vocabulary/

             words.











                                                                                                                115
   110   111   112   113   114   115   116   117   118   119   120