Page 49 - Modular_v4.0
P. 49

Chapter Profile




                 In the third round, Jerry is at a higher level. Thus, the cycle goes on.

                 Repeating a set of steps is called a loop.





                        UNDERSTANDING PROGRAMS


                 A computer understands step-by-step instructions written only in a unique language, called
                 as program. The computer reads the program we write and follows as per our instructions.
                 Let's write the steps to make a square.





                    Move 2 steps right.

                    Move 2 steps up.
                    Move 2 steps left.
                    Move 2 steps down.





                                                                                       Start

                 Similarly, we can write the steps to make a rectangle.



                    Move 2 steps right.
                    Move 1 step up.

                    Move 2 steps left.
                    Move 1 step down.
                                                                                       Start








                          Recap



                        The process of completing one step and going onto the other is known as stepwise thinking.
                       Decision making is a process of arriving at a conclusion by making a choice.

                        The act of repeating an action again and again is called looping.








                                                                                                  Stepwise Thinking  47
   44   45   46   47   48   49   50   51   52   53   54