Page 91 - Computer Genius Class 05
P. 91
Let's REFRESH
The loc s in cratch are in different shapes. They can e di ided into six types o shapes.
at loc s always come at the top of a script as they start a script.
Stack blocks perform the main commands.
Boolean blocks are condition blocks which return the values “true” or “false” or the numbers
“0” or “1”
eporter loc s can hold values, which consist of numbers or strings.
C blocks are loop blocks which check if a condition is true in the blocks within the loop.
The loc s that end scripts are no n as loc s.
The sensing loc s in cratch sense the input rom the ey oard or the mouse at the time o
execution of a script.
n scratch a program is called a cript.
e store data in the computer memory so that e can get in ormation rom it later. This
data is stored in variables.
A variable that stores numbers is called a numeric variable.
A variable that stores letters in the form of strings or characters, is called string variable.
cratch has t o conditional loc s then .. and then .else loc .
You can create games in Scratch by painting a new sprite and a new backdrop.
Exercise
A. Tick ( ) the correct option.
1. Which block always comes at the top of a script?
(i) C block (ii) Boolean block
iii at loc (iv) None of these
2. Which variable can be used and modified by all the sprites?
(i) Global variable (ii) Local variable
(iii) Both (i) and (ii) (iv) None of these
3. C blocks are called blocks.
(i) Wrap (ii) Big
(iii) Cute (iv) Small
. o many types o loc shapes are there in cratch
(i) Five (ii) Six
(iii) Seven (iv) None of these
Advanced Blocks & Game Creation 89

