Page 99 - 2606_PlugGPT_C5_Flipbook
P. 99

Step  5       Create the block stack as shown.

                 Step  6       Now, click on the green flag to run your project.






























                        Hashtag

                      #Variable: Changeable value recorded in Scratch's memory
                      #Block: Software code or an algorithm in software programming





                      REVISIT


                   ▶  Variables are a named location where you can store information.
                   ▶  A global variable can be created on any sprite but its value can be accessed or modified by other
                     sprites used in the project.
                   ▶  Local variables can only be accessed or modified from the sprite where it was created.
                   ▶  Sensing blocks are colour-coded light-blue and are used to control the movement of the sprite in a
                     better manner.










                 1.  Tick ( ) the correct option.

                    a.  What is the colour code for Sensing blocks?
                         (i)  Light-blue                                 (ii)  Purple

                        (iii)  Orange                                    (iv)  Yellow





                                                                                                  More on Scratch  97
   94   95   96   97   98   99   100   101   102   103   104