Page 111 - 2611_SmartGPT Pro V(5.0) C-5
P. 111

Hashtag

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

                      # Broadcast Block: A stack block which sends a broadcast throughout the whole
                       Scratch program

                      #Backdrop: Image that can be shown on the Stage






                      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.
                   ▶  The scene for the game can be created using a backdrop.
                   ▶  We can also add the text to the game.
                   ▶  We can add more than one sprite to the game.
                   ▶  Broadcast blocks can be used to send messages between the sprites.













                 1.  Tick ( ) the correct option.
                    a.  Which of the following options best describes the functions of variables?
                          (i)  Storing information                           (ii)  Changing costumes

                        (iii)  Controlling sound effects                    (iv)  Adjusting stage size
                    b.  Identify the role of global variables in Scratch from the options below.

                          (i)  Accessed within one sprite                    (ii)  Accessible by all sprites
                        (iii)  Limited to numeric values                    (iv)  Created automatically

                    c.  Which of the following blocks is used to detect if a sprite is touching another sprite?
                          (i)  Sensing block                                 (ii)  Control block

                        (iii)  Motion block                                 (iv)  Sound block





                                                                                                  More on Scratch  109
   106   107   108   109   110   111   112   113   114   115   116