0% found this document useful (0 votes)
32 views2 pages

Exercise More Features of Scratch

The document provides exercises on Scratch programming, including questions about specific blocks and their functions. It covers topics such as loops, drawing shapes, and the use of custom blocks. Additionally, it explains the differences between certain broadcasting methods and the benefits of using custom blocks.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views2 pages

Exercise More Features of Scratch

The document provides exercises on Scratch programming, including questions about specific blocks and their functions. It covers topics such as loops, drawing shapes, and the use of custom blocks. Additionally, it explains the differences between certain broadcasting methods and the benefits of using custom blocks.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Exercise

More Features of Scratch

1. Select the correct option.


a. Which block will execute the script for a specified number of times?
Answer: ii. repeat
b. Reesha wants to trace the path of a sprite moving on the stage. Which block will she use for
the same?
Answer: ii. pen down
Would you like me to add explanations for these answers? ?
c. In Scratch, the script held inside this block will be executed in a loop until the stop icon is
clicked.
Answer: iii. forever
d. Which image effect should be used to change Image 1 to Image 2?
Answer: iv. ghost
e. Which block category is used to create custom blocks?
Answer: iv. My Blocks

2. Number the blocks in the correct order to make the character draw a circle.
Correct Order:
1. When Green Flag Clicked (To start the script)
2. Pen Down (To enable drawing on the stage)
3. Repeat (360) (To loop the movement 360 times)
4. Move 1 Step (To move forward slightly)
5. Turn 1 Degree (To slightly turn, creating a circular motion)
This script makes the sprite draw a perfect circle on the stage.

3.What will be the output of the following scripts?


Answer:
• For the first script: The sprite will draw a hexagon on the stage.
• For the second script: The sprite's color effect will keep changing continuously.

4 Answer the following.


a. How many times will the program say "Hello"? Why is the wait block used in the script?
Answer: The program will say "Hello" 10 times. The wait block is used to create a delay between
each repetition so that the text is displayed properly.
b. Why do we need to use loops in a script?
Answer: Loops help in repeating instructions multiple times, reducing the need to write the same
code again and again.
c. Differentiate between the following blocks:
Answer: Difference between "repeat 10" and "forever" blocks
Block Function
repeat 10 Repeats the enclosed instructions 10 times, then stops.
forever Continuously repeats the enclosed instructions indefinitely until the program is stopped.

Key Differences:
• "repeat 10" runs the block a fixed number of times (10 in this case).
• "forever" runs the block endlessly until the user stops the script manually.

Difference between "broadcast message1" and "broadcast message1 and wait"


Block Function
broadcast Sends a message to all sprites, triggering their corresponding scripts. The
message1 script continues running without waiting for the message to be processed.
broadcast Sends a message to all sprites and waits until all scripts triggered by the
message1 and wait message are completed before continuing with the rest of the script.

Key Difference:
• "broadcast message1" is asynchronous, meaning it does not wait for the receiving scripts
to finish.
• "broadcast message1 and wait" is synchronous, meaning it pauses the script until all
actions triggered by the message are completed.

d. Aakash has drawn different patterns using different blocks of Scratch. He


needs to clear the stage so he can draw other patterns. Which block will help
him to do the same?
Answer: The "Clear" block from the Pen category will help him clear the stage.

e. What are the benefits of using custom blocks in Scratch?


Answer:
• Custom blocks help to avoid repetition in the script.
• They make the script organized and easy to understand.
• They allow us to create our own functions to use multiple times.

You might also like