Page 102 - TP_Pluse_V2.2_Class_5
P. 102

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.



                          Let’s CatCh uP
                    Answer the following questions.

                    1.  Which block is used to make the sprite ask question?
                      _________________________________________________________________________

                    2.  What is the another name of C blocks?
                      _________________________________________________________________________

                    3.  Which blocks are used to end a script?
                      _________________________________________________________________________





                         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.


                 100    Plus (Ver. 2.2)-V
   97   98   99   100   101   102   103   104   105   106   107