Uploaded by manaswichoure4

AS Worksheet CBSE V Computer Studies Advanced Scripts in Scratch

advertisement
Advanced Scripts in Scratch
Q.1.
a.
Choose the correct option.
It will assign a value to the variable ‘my variable’.
i.
ii.
iii.
iv.
b.
Observe the Scratch window given below and select the quadrant in
which the Cat sprite is placed?
c.
i.
1st Quadrant
ii.
2nd Quadrant
iii.
3rd Quadrant
iv.
4thQuadrant
Choose the correct shape that the following script will draw.
CB/V/2021
Advanced Scripts in Scratch
Pg no. 1
Advanced Scripts in Scratch
Q.2
a.
i.
ii.
iii.
iv.
✓
Answer the following in short.
What will be the values of X and Y when the sprite is placed at the centre
of the stage?
Ans:
X=0, Y=0
b.
Which script will draw a circle on the stage?
(a)
Ans:
c.
Ans:
Q.3
a.
(b)
(a)
What is the use of the following block?
It is used to display an input box and prompts the user to type the
input.
Do as directed.
Draw the shape that you will get when the following scripts are executed
in Scratch?
CB/V/2021
Advanced Scripts in Scratch
Pg no. 2
Advanced Scripts in Scratch
i.
ii.
Ans:
Ans:
Q.4
Answer in brief
1)
What will be the output of the following script?
Ans:
When the green flag is clicked, the sprite will change its costume
after moving 100 steps forward and then turn clockwise by 30
degrees. The script inside the forever block is executed
continuously until the stop button is clicked.
2)
You have created a new variable ‘Count’ whose initial value is 0. What
will be the output of the following script?
CB/V/2021
Advanced Scripts in Scratch
Pg no. 3
Advanced Scripts in Scratch
Ans:
When the green flag is clicked, the value of Count will change from
0 to 10. The script will be executed 10 times that will make the
sprite display the numbers from 1 to 10.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
CB/V/2021
Advanced Scripts in Scratch
Pg no. 4
Download