Page 82 - TP_Prime_v2.2_Class_5
P. 82

07

                                                             CONDITIONAL

                                                     BLOCKS IN SCRATCH



           Prime (Ver. 2.2)-V                                               Learning Objectives:




                                                                             •  Blocks Shapes in Scratch
                                                                             •  Sensing Blocks
                                                                             •  Variables
                                                                             •  Conditional Blocks
                                                                             •  Creating a Game


          80         Blocks Shapes in Scratch


                                   Now I know how to create shapes in Scratch. But why are all these
                                   blocks in different shapes and colours?


                                   All the blocks in Scratch are in different shapes. They can be divided
                                  into six types of shapes. They are Hat, Stack, Boolean, Reporter, C

                                  and Cap. Let me tell you about them in details.

                    Hat Blocks

                  They are called hat blocks as they look like a hat. We wear a hat on

                  our head, so the hat always comes on the top. Similarly, hat blocks
                  always come at the top of a script as they start a script. This means

                  that you cannot place any blocks above them.

                   Stack Blocks
                  Stack blocks are the most used blocks in Scratch.

                  They perform the main commands. Stack blocks
                  have a bowl shape cut on the top and a bump at the

                  bottom. This makes it easier to stack other blocks above and below them.


                    Boolean Blocks

                  Boolean  blocks  are the conditional blocks which  return the values
                  “true” or “false” or the number “0” or “1” depending on how they are

                  used in the script.
   77   78   79   80   81   82   83   84   85   86   87