Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 110 - 2501_KVS_C-4
P. 110

    2.   “Sounds” block.
                            3.   This block is used to set the pitch effects of sounds to a particular value.

                            4.   This block is used to play the sound in earphones. It will change the ear from where
                                 sound is played. If value is +ve, it means sound will play more from Right ear. If value is
                                 -ve, it means sound will play more from Left ear. If the value is 0, means sound will play
                                 normal. which we will give. So, -100 means sound plays completely in left ear and -100
                                 means sound plays completely in right ear in headphones.
                            5.   This block is used to increase or decrease the volume of sound by a particular value. If
                                 value is a +ve number then sound will increase and when the value is a -ve number then
                                 sound will decrease.

                      A.  Answer the following questions:

                            1.   This block is known as c-block, which is used to repeat the blocks of instructions till
                                 some condition is false. If the condition becomes true, then it stops the blocks written
                                 inside this block rather runs the next instructions written after the repeat block.
                            2.   “Control” block

                            3.   “repeat” block will run the blocks of instructions written under it until the condition
                                 becomes false, while “forever” block will run the blocks of instructions written under it
                                 infinite times.

                            4.   “if...then… else” block is also known as “c-block”, which is used for asking the questions
                                 and returning the answer in True or false. If condition is true, then the blocks written
                                 inside this c-block will be executed once, otherwise the blocks written inside the “else”
                                 block will be executed once.

                            5.   “stop all” block is a “cap” block, it will stop all the scripts running in scratch project,
                                 either on this sprite or any other sprite.
                            6.   “play sound until done” block is a stack block and this block chooses the sound and
                                 play it and finishes it before moving to the next script means pause the script till it
                                 ends.

                            7.   “cap” block is the block which ends the script here, means no more block can be added
                                 after that block. We can also say it as the reverse of “hat” block. “Hat” block is the
                                 start of the script and while “cap” block is the end of the script.

                            8.   3 blocks are available under extension “Text to Speech”.

                      B.  Fill in the blanks.
                            1.   “cap” block, ends the script.

                            2.   “touching mouse-pointer” block is under the “Sensing” block.
                            3.   “stop this script” block is used to stop all the codes of only the sprite where it is written.

                            4.   “touching sprite?” block is used for checking whether the sprite2 is touching the sprite
                                 under which code is written.

                   108                         KVS DELHI REGION 2025

| 105 106 107 108 109 110 111 112 113 114 115 |