Page 85 - CG_v2.1_flipBooks_class_5
P. 85
You can also place the answer block in the say block. It will look
something like this.
Snap this block to the ask block. Now click and see what happens. Penguin speaks the name
for the given number of seconds.
You can change the question in the ask block to any question of your choice. Click on the text
box and type the question.
Critical Thinking
Quest Information Literacy
Answer the following questions.
1. Which block is used to make the penguin ask question?
2. Which block checks if the chosen key is pressed by the user?
3. What are CAP blocks?
4. Which blocks are C-shaped?
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 Every time you type a name
number of blocks. So, the blocks are the commands or or number, the previous value
instructions that we give to the sprite to perform a in the variable gets deleted and
task. the new value is stored.
Advanced Blocks & Game Creation 83

