Page 82 - C_GPT _V4 _class_3
P. 82

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

              Repeating a set of steps is called a loop.










                        Experiential Learning                                                             Activity


                  In the "Mission to Mars" activity, students are divided into groups of four, simulating a space
                  mission to Mars. One student act as an astronaut (the "robot"), while the others become the
                  mission control team. The mission control team communicates remotely with the blindfolded
                  astronaut, guiding them through complex tasks related to the mission.





              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









                        CodeGPT (Ver. 4.0)-III
                 80
   77   78   79   80   81   82   83   84   85   86   87