Page 122 - 2620_Birla Open Mind C-5
P. 122

Take Off                                                        Century   #Technology Literacy
                                                                                               21 st
                                                                                              Skills
                    See the given code and draw the output.




























              Let us learn more about Scratch.


                   OPERATORS


              These blocks are colour-coded as light-green. Operators Blocks are used to do arithmetic and
              logical calculations. Blocks in the Operators category are oval and hexagon in shape.

              There are a total of 18 operator blocks, out of which, 7 blocks are Boolean blocks and the rest
              11 blocks are reporter blocks. Boolean blocks are hexagonal blocks that gives only Boolean

              values (‘true’ or ‘false’), whereas, Reporter blocks are the blocks that returns a value that can
              be in numbers to strings.

              Arithmetic Operators

              Scratch has four operators that allow you to do arithmetic calculations. These are addition,
              subtraction, multiplication and division. Look at the code to use addition block.






                                                         Addition






              Similarly, you can use the other blocks to perform subtraction                 , multiplication

              and division          .





                  120  Premium Edition-V
   117   118   119   120   121   122   123   124   125   126   127