Page 104 - Viva ICSE Computer Studies 5 : E-book
P. 104
Control Block
This block helps to avoid repetition of steps, time to pause and
action. There are following actions.
• Moving the Sprite by pressing a key
• Executing a block over and over again using Forever Block
• Executing a block a specifi ed number of times using Repeat
Block
• Executing wait a specifi ed number of
Learn More
seconds using Wait Block
First plan the activity step-by-step and
• Executing a click on Green Flag using
then convert it to a computer program
Clicked Block
using the limited instructions.
Executing a Conditional Statement
In programming, a condition is something that must be true in order for
something to happen. A condition is thus said to ‘evaluate to true’ or ‘evaluate
to false’. In Scratch, any block whose label says ‘if,’ ‘when,’ or ‘until’ is a sort of
conditional construct.
Saving a Project
Follow these steps to save a project.
1. Click on the File menu
2. Select the Save option. The ‘Save Project’ dialog box will appear.
Step 2
Step 1
92