Page 63 - 2617_JSSPS_C-4
P. 63
I wish I could do it just like my Sprite in
Scratch can do never ending actions.
By Non-stop loop you
mean never ending. No
not at all! I am tired
in this only. What
about you?
Test Your Knowledge 21 st Century #Technology Literacy
Skills
See the given code and draw the output.
USING VARIABLES
A program is a group of commands and instructions that tell the computer to carry out a
task. In scratch, a program is called a script. A script is made up of a number of blocks. So, the
blocks are the commands or instructions that we give to the sprite to perform a task.
All the numbers, text, date or pictures that we use in a program are called data. We store this
data in the computer memory so that we can get information from it later. This data is stored
in variables. It is called variable because it does not have a fixed value, its value changes. For
example, in the move block, the variable has a value 10 by default. You can modify this value
according to your script. Variables can store numbers as well as letters.
Advance Features of Scratch-3 61

