Page 100 - 2502_Pakistan-kifayat_C-8
P. 100

3.   What does nesting mean in programming?

                               a.  Repeating the same task multiple times     b.  Putting one thing inside another

                               c.  Stopping a loop after some time          d.  Creating a new variable

                      4.   Which statement makes decisions in a program?



                               a.                                           b.






                               c.                                           d.



                      5.  How do functions help programmers?

                               a.  By slowing down the program

                               b.  By storing instructions that can be reused easily

                               c.  By deleting unnecessary code

                               d.  By changing the program’s layout



                     Fill in the blanks with the correct words.


                                  Hints  delete this clone, Function, Repeat until, touching ()?, Copies


                      1.  Cloning creates               of a sprite in Scratch.

                      2.  A                block keeps performing an action until a condition is met.

                      3.  The                block removes the clone from the stage.

                      4.  The                block detects if a sprite is touching any edge of the stage.

                      5.  A                is a set of instructions grouped together to do a specific task.

                Q    Answer the following questions:
                  A
                      1.   What is a loop in programming?






                      2.   List any two Conditional blocks in Scratch.










                  98  Premium Edition-VIII
   95   96   97   98   99   100   101   102   103   104   105