Page 76 - modular4.0
P. 76

Chapter Profile
                  Now create the given script for the fidget spinner to spin.



















                  When you click on the green flag bring the mouse pointer on the fidget spinner sprite, it

                  starts spinning.



                           Recap




                          Hat blocks 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”.
                        Reporter blocks 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 sensing blocks in Scratch sense the input from the keyboard or the mouse at
                       the time of execution of a script.

                        A variable that stores numbers is called a numeric variable.
                        Scratch has two conditional blocks:  If…then…..  and If…then….else block.






                  Exercise


                  A.  Tick ( ) the correct option.

                      1.  What type of block always comes at the top of a script in Scratch?

                          a.  Stack Block                                  b.  Hat Block

                          c.  C Block                                      d.  Cap Block





                74   Modular (Ver. 4.0)-V
   71   72   73   74   75   76   77   78   79   80   81