Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 114 - 2612 Digimind C5
P. 114

    b.   Arjun is making a game in Scratch with multiple sprites, including a cat and a dog. He
                             wants both sprites to be able to use the same score value so they can respond accordingly
                             during the game. Which type of variable allows all sprites to access and update the same
                             information?
                              (i)  Accessed within one sprite

                              (ii)  Accessible by all sprites

                             (iii)  Limited to numeric values
                             (iv)  Created automatically

                          c.   Meera is  programming  a  Scratch  animation  where a  cat  sprite  should  detect  when it
                             bumps into a mouse sprite and then react. Which type of block should Meera use to check
                             if one sprite is touching another sprite?
                              (i)  Sensing block                                  (ii)  Control block

                             (iii)  Motion block                                 (iv)  Sound block

                          d.   Kabir is building a quiz game in Scratch. He wants the sprite to ask the player a question
                             and then wait for the player to type an answer before continuing. Which block should Kabir
                             use to make the sprite ask a question and wait for the user’s input?
                              (i)  Displays a message to the user

                              (ii)  Makes the sprite wait for user input

                             (iii)  Changes the background colour

                             (iv)  Plays a sound effect
                          e.   Sonia is designing a Scratch project where she wants to keep track of the player’s score.
                             The score should be accessible and updated by all the sprites in her project. Which type of
                             variable should Sonia create to allow all sprites to access and modify the score?

                              (i)  Local variable                                 (ii)  Sprite costume
                             (iii)  Temporary variable                           (iv)  Global variable

                      2.  Fill in the blanks using the words from the help box.

                                       Global variable, Local, Locations, Touching color, Sensing

                          a.  _______________ blocks control the movement of the sprite in a better manner.

                          b.  _______________ variables can only be accessed or modified from the sprite where it was
                             created.

                          c.  Variables are named _______________ where you can store information.

                          d.  The _______________ block checks whether its sprite is touching a specified colour.
                          e.   A _______________ can be created on any sprite but its value can be accessed or modified
                             by other sprites used in the project.

                       112  Premium Edition-V

| 109 110 111 112 113 114 115 116 117 118 119 |