Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 92 - 2607_Trackpad_Pro_5.1_flipbook_C6
P. 92

    6. Differentiate between the following:
                         Local Variable                                 Global variable

                         __________________________                     __________________________

                         __________________________                     __________________________

                      7.  Competency-based/Application-based questions:                                 Experiential Learning

                          a.   Yakshi wants to draw a hexagon but, she forgot about the steps
                             and degree (Figure given). Help her and write the values in the giv-      when    clicked
                             en blank stack to draw a hexagon.
                                                                                                            pen down
                          b.   Rakesh is working in Scratch and he wants the sprite to touch a
                             specified colour. Which block can he use to do so?                        repeat
                          c.   Your friend Ridhima wants to change the appearance of the sprite.        move      steps
                             But she is unable to identify the correct blocks used to do so. Help
                                                                                                        turn        degrees
                             her by telling the correct blocks that can be used to do so.

                           LAB ACTIVITY                                                                    Subject Enrichment

                         Visit your computer lab and perform the following actions:

                         ▶   Create the following stack of blocks in Scratch:
                              a.                                b.                                  c.
                                  start sound  Meow                 next costume                        hide
                                  say  10  +  15                    say  letter  1  of  apple           say   100  >  50

                                                                                                        show

                              d.                                e.                                   f.
                                  change volume by –50
                                                                    when   clicked                      when   clicked
                                  start sound  Meow
                                                                    forever                             forever
                                  say  pick random  1  to 10
                                                                      turn   15  degrees                 move  20  steps

                                                                                                          if on edge, bounce

                              g.                                h.

                                  when this sprite clicked          when  clicked
                                  forever                          turn   15  degrees
                                                                   move  50  steps
                                   go to  mouse-pointer
                                                                    if  touching  edge  ?  then

                                                                     turn  90  degrees

                         Execute them and then observe the actions performed by the sprite.

                       90   Premium Edition-VI

| 87 88 89 90 91 92 93 94 95 96 97 |