Page 90 - TP_Prime_v2.2_Class_5
P. 90

21 st
                      Word Bank                                                                Century   #Information Literacy
                                                                                                 Skills
                     Stack                    Boolean                      Reporter                   Sensing

                     Variable                 Conditional                  Forever                    Bounce




                                  Let's Revisit
           Prime (Ver. 2.2)-V  •  In Scratch, a program is called a Script.



                  •  Hat blocks always come at the top of a script as they start a script.
                  •  Stack blocks perform the main commands.

                  •   Boolean blocks are the conditional blocks which return the values “true” or “false”
                    or the numbers “0” or “1”.

                  •   Reporter blocks can hold values, which consist of numbers or strings.
          88      •   C blocks are loop blocks which check if a condition is true in the blocks within the

                    loop.

                  •  The blocks that end scripts are known as CAP blocks.
                  •   The sensing blocks in Scratch sense the input from the keyboard or the mouse at
                    the time of execution of a script.

                  •   We store data in the computer memory so that we can get information from 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 a

                    string variable.




                                                     Mind Drill





                     Rapid Fire


                  1.  Tick (    ) the correct answer

                      a.  What is the shape of Boolean Blocks?

                          (i)  Octagonal                   (ii)  Pentagonal                    (iii)  Hexagonal


                      b.  Which of the following is not a string variable?
                          (i)  "I am a boy."               (ii)  12 + 12 = 24                  (iii)  "Scratch"
   85   86   87   88   89   90   91   92   93   94   95