Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 77 - 2607_Trackpad_Pro_5.1_flipbook_C6
P. 77

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

                                                            Code Area/Script Area           Stage

                       Title Bar
                                                          Tab

                                                           Code
                                                           Blocks                                             Sprite

                        Block
                        Palette
                                                                                                X and Y Coordinates

                              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

                                                                        This block helps to begin a script. It is shaped in
                      Hat Block
                                               Rounded top and          such a way that we can place blocks below it.
                                                bumped bottom

                      Stack Block                                       This block  helps to  place  the  other blocks
                                              Notch at the top and      above and below it.
                                                bumped bottom
                                                                        This block  is the  condition  block  which has
                      Boolean Block                                     either of the two values, "True" or "False", so it
                                               Hexagonal shaped         helps to take a decision.

                                                                                                     Blocks in Scratch  75

| 72 73 74 75 76 77 78 79 80 81 82 |