Ch - 6. Scratch Programming
EXERCISE
A. Fill in the blanks.
1. Any object that goes on the stage is a __________.
Ans: sprite
2. Codes in Scratch comes as ___________.
Ans: blocks
3. There are 10 categories of __________ in Scratch.
Ans: blocks
4. All of the blocks in the selected ___________ are shown in a list.
Ans: category
5. Code blocks run from _______ to _________.
Ans: top, bottom
B. Answer these questions.
Question 1
What is scratch? Where it is generally used?
Answer
Scratch is a programming language and an online community we are children can program and share interactive media suggest stories, games, and animation with people from all over the world.
Question 2
How can you use Motion code blocks for your sprite? Write any six uses.
Answer
Code category Motion contains different code blocks to walk with.
1. move forward or backward
2. turn right by certain degrees
3. turn left by certain degrees
4. point in the direction (left, right, up or down)
5. bounce if touches the edge of the stage
6. set the rotation style
Question 3
How can you use Looks code blocks for your sprite? Write any six uses.
Answer
Code category Looks contains Code blocks for looks and actions of the Sprite and the backstage.
1. the words appear in speech bubble
2. display words in thought bubble
3. show makes Sprite appear on the stage
4. hide makes Sprite disappear from the stage
5. switch costumes to change the look of a sprite
6. switch to the specified backdrop
Question 4
Write any six uses of Sound code blocks.
Answer
Code category Sound helps to set and change the sound and volume of sound through different Code blocks.
1. stops all sounds
2. plays a drum sound for a specified number of beats
3. rests (plays nothing) for specified number of beats
4. changes sound volume by specified amount
5. sets sound volume to specified value
6. reports sprite's sound volume
Question 5
Write any six uses of pen code blocks.
Answer
Code category Pen helps to manage pen marks and stamps.
1. changes pen's colour by specified amount
2. sets pen's colour to specified value
3. changes pen shade by specified amount
4. sets pen shade to specified amount
5. changes pen size by specified amount
6. sets pen size to specified amount
Question 6
How can you use Control code blocks? Write any six uses.
Answer
Control Code blocks instruct the program to run and help keep control on the stacks.
1. runs the blocks inside, a specified number of times
2. runs the blocks inside, over and over
3. runs the blocks inside if the condition is true
4. stops all scripts in the current or all sprites
5. tells a clone what to do once it is created
6. deletes the current clone
Question 7
What is the use of Forever code?
Answer
Forever code runs the blocks inside again and again.
For example, this code stack moves a sprite 10 steps, waits for 0.5 seconds and do it again and again.
C. Choose the correct option.
1. For turning your sprite left you will use code from
(a) Motion
(b) Events
(c) Control
(d) Looks
Ans : (a) Motion
2. For showing or hiding the sprite on the stage you will use code from
(a) Looks
(b) Control
(c) Events
(d) Pen
Ans : (a) Looks
3. For using a temporary image of a sprite on to the stage, you will use code from
(a) Motion
(b) Pen
(c) Control
(d) Events
Ans : (b) Pen
4. Forever code is present in
(a) Motion
(b) Looks
(c) Control
(d) Events
Ans : (c) Control
5. Codes from the Motion code blocks are used to
(a) glide
(b) bounce
(c) turn
(d) all of these
Ans : (d) all of these
6. For showing words in speech bubble you will use code from
(a) Looks
(b) Pen
(c) Control
(d) Events
Ans : (a) Looks
D. Write T for True and F for False.
1. Scratch is a programming language which is very easy to learn and use
Ans : True
2. The Stage in Scratch has one or more backgrounds.
Ans : True
3. Code blocks in Scratch run from left to right
Ans : False
4. You can switch for different sprites as you wish
Ans : True
5. Your script will start whenever you click the green flag.
Ans : True
E. Match the columns:
Column A Column B (Ans)
1. Motion - (e) point up
2. Pen - (d) stamp
3. Looks - (b) switch costumes
4. Sound - (c) music
5. Control - (a) wait, stop
- by Jatin Dewangan