Page 70 - 2616_V iCode_C-4
P. 70

In the previous class, we  have  learned  about  a  block-based  visual  programming
                  language that is Scratch. It is used to create interactive stories, animations, games,
                  etc. Let us recall some previously done activities and learn more about them.


                    Title
                    Bar                             Tabs
                                                                                       Stage

                                                    Code Blocks
                                                                                                             Sprite
                   Block
                  Palette


                                                                                              X and Y Coordinates
                                                      Code Area/Script Area










                  Coding Blocks


                  Coding blocks in Scratch are puzzle-piece shapes that are used to create codes.

                  There are six types of block shapes in Scratch, and each of them helps the user define
                  steps of animation related to the selected blocks. It also provides an interface to
                  input the value of movement or look of a Sprite in a project.


                     Block Name                Shape                                  Function

                   Hat Block                                    This block helps to begin a script. It is shaped

                                                                in such a way that we can place blocks below
                                        Rounded top and
                                                                it.
                                         bumped bottom

                   Stack Block                                  This  block  helps  to  place  the  other  blocks

                                                                above and below it.
                                        Notch at the top
                                      and bumped bottom

                   Boolean Block                                This  block  is the  condition  block  which  has

                                                                either of the two values, True or False, so it
                                       Hexagonal shaped
                                                                helps to take a decision.
                   Reporter Block                               This  block  is  the  value  block  that  can  hold

                                                                numbers and strings.
                                         Rounded edges


                       68    Premium Edition-IV
   65   66   67   68   69   70   71   72   73   74   75