Assesment1 FO- Computer Science- Grade6
1. List any two scratch commands from the blocks given below:a) Events (b) Motion (c ) Pen
(d) Control
Sol. 1 mark for each part, ½ for each correct command.
a) Events:- when green flag click, when left arrow is clicked
(b) Motion :- glide to X, Y, go to X, Y
(c ) Pen: pen up, pen down
(d) Control:- repeat , forever
2. Predict and draw the output for the following scripts: a.
[4]
[4]
Sol. ½ mark for each line, max 2 for each part
b.
3. Write the difference between
a. change size by 100 and set size to 100
[4]
b. point in direction 90 degrees and turn 90 degrees clockwise
Sol. 2 mark for each part
a. change size by 100:- it replaces the current size of the sprite by increase or decreasing
it by the specified value. In this case, it increases the value by 100.
set size to 100 :- it resets the size of the sprite with the value provided. In this case, it is
size will be fixed to 100.
b. point in direction 90 degrees: - It sets the Sprite’s face towards right direction on X
axis.
4. In a new scratch project, sprite is currently located at its default position on the stage
Answer the following questions based on above scenario: [3]
(i) What would be the value of X and Y , if the sprite moves 100 steps from its default
position?
(ii) Write the direction where the sprite is pointing in after part(i).
(iii) Sprite has now turned to 90 degrees and moved -100 steps. What would be the
value of X and Y.
(iv) Which direction the sprite is pointing now?
Sol. 1 mark for (i) and (iii)
½ mark each for (ii) and (iv)
(i) X=100, Y=0
(ii) 90 degree
(iii) X=100, Y=100
(iv) 180 degree
5. Observe the code below:
a. What would be the value of X, Y after running the above script
b. Suggest the change in the above, to get the final value of X=150 and Y=150.
Ans. a. X=130, Y=120
Ans. b. repeat=5 , change y by 50
[1]
[ 1]