Page 107 - Trackpad v5 class 5
P. 107

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

                b.   Which blocks are used to detect different sprites and elements of a project including the
                   edge of the stage?
                   (i)  Variables                         (ii)  Events                (iii)  Sensing

                c.  A variable that is used and modified by all sprites is called _______________.
                   (i)  Local                             (ii)  Global                (iii)  Temporary

                d.  In which category, Answer block is present?
                   (i)  Variables                         (ii)  Sensing               (iii)  Motion



                                                                                             More on Scratch  105
   102   103   104   105   106   107   108   109   110   111   112