Page 111 - trackpad v5.1 class 5 flipbook
P. 111
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. 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
More on Scratch 109

