Page 65 - Computer - 6
P. 65

Lab Activity 4                                                                         Experiential Learning
           Let us create a spiral. A spiral is a line or curve that keeps on moving
           in a pattern.
            1.  Create a new project.
            2.  In the Variables blocks palette, create a variable – Length and
                hide it.
            3.  In the Scripts area, create the stack of blocks as shown in the
                image.
            4.  Click the green Flag     button to execute the project.
                 The sample images for the project are given on the next page.

















            Lab Activity 5                                                                         Experiential Learning

           Let us accept three numbers and display the greatest of the three numbers.
            1.  Create a new project.
            2.  In  the  Variables  blocks  palette,  create  three  variables  –
                Number1, Number2, and Number3.
            3.  In the Scripts area, create the stack of blocks as shown in the
                image.
            4.  Click the Go     button to execute the project.
                 The sample images for the project are given below.

















          COMBINING THE ELEMENTS
          The different elements of Scratch – blocks, sprites, Stage backdrops, sounds, and costumes – can be
          combined together to create animations and stories. A Story is a collection of different scenes displayed
          in a sequence that carries the theme of the story further. A Scene is one of several images that are part
          of a sequence. We have learned to create separate projects and animations in Scratch till now. Let us
          now create a story by combining all the elements.


                                                                                                              63
   60   61   62   63   64   65   66   67   68   69   70