Page 106 - TP_Plus_v4_Class4
P. 106

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          .





                  104  PLUS (Ver. 4.0)-V
   101   102   103   104   105   106   107   108   109   110   111