wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Lesson 2. Algorithms and Programing (P1)_Scratch

Total questions: 19

Worksheet time: 10mins

Name
Class
Date
1.

In the stack of blocks below, how many times does the sprite move 10 steps?

a)

A. 6

b)

B. 7

c)

C.8

d)

9

e)

None of the above

2.

Given the following scene. What’s the expected result of variable “x”?

a)

A. 2

b)

B. 4

c)

C. 6

d)

D. 8

e)

E. None of the above

3.

Michelle wants the cat to start in the middle of the stage, then move across the stage and

grow. It works the first time she clicks the green flag - but not when she clicks it again!

What's going on?

a)

A. Increase repeat 3 to repeat 5 or 10.

b)

B. Glide to ... should be replaced Go to.

c)

C. Change size by ... to Change size 20.

d)

D. Script blocks after When ... should be put in a “Forever” loop.

e)

E. None of the above.

4.

Given the following scene. How long would the sprite Bat gradually glide from (0, 0) to

(-50, 100)?

a)

A. 1 second

b)

B. 10 seconds

c)

C. 2 seconds

d)

D. 20 seconds

e)

E. None of the above

5.

Assume the green flag is clicked, with the script below, what is the picture on the stage?

a)

A. Square

b)

B. Circle

c)

C. Rectangle

d)

D. Rhombus

e)

E. Parallelogram

6.

What is the expected picture on the stage?

a)

A. Square

b)

B. Pentagon

c)

C. Hexagon

d)

D. Circle

e)

E. Star

7.

What would this script do?

a)

A. Make a sprite dance.

b)

B. Make a sound play.

c)

C. Make a costume.

d)

D. Rotate sprite.

e)

E. None of the above.

8.

Given the following scene. What is the ball position after clicking the green flag?

a)

A. The ball would move forever 10 steps and jump.

b)

B. The ball would move forever 10 steps and go down.

c)

C. The ball would move if on edge, bounce.

d)

D. The ball would move forever 10 steps and return.

e)

E. None of the above.

9.

Compares two following solutions. Who is/are correct?

a)

A. Student A is correct; Student B is incorrect.

b)

B. Student A is incorrect; Student B is correct.

c)

C. Both are not correct.

d)

D. Both are correct.

e)

E. None of the above.

10.

Given the following script and scene. When up arrow key is pressed, the sprite Pencil

would move up. When down arrow key is pressed, the sprite Pencil would move down.

(Assume the green flag is clicked). Why doesn’t it work?

a)

A. A. “Change X” should be replaced by “Change Y”.

b)

B. Change X by 10 is too small.

c)

C. Change X by -10 is too small.

d)

D. Up arrow/Down arrow should be pressed.

e)

E. None of the above.

11.

Given the following scene. Why does the sprite “Cat” not appear moving to random position after the green flag was clicked? Or how should it be fixed?

a)

b)

c)

C. “Go to random position” should be set to “go to (123, 456)”.

d)

D. All of the above.

e)

E. None of the above.

12.

What is the cat’s position after clicking the green flag?

a)

A. (0, 10)

b)

B. (90, 10)

c)

C. (90, 0)

d)

D. (10, 0)

e)

E. None of the above

13.

Given the following scene. After the green flag is clicked, the cat would move gradually

from (0, 0) to (100, 0). Which of the following can slow down its speed?

a)

A. Increase the cat’s weight by adding more script blocks.

b)

c)

C. Reduce the number of repeating times from 10 to 2.

d)

D. Set the initial position to (-100, 0).

e)

E. None of the above.

14.

Given the cat is initially at (0, 0), which of the following script is equivalent as follow?

a)

b)

c)

d)

e)

E. None of the above

15.

Which of the following is the correct script so that the cat would hide when touching the

mouse pointer but reappear after 1 second? (You can assume that the green flag is clicked)

a)

b)

c)

d)

e)

E. None of the above

16.

A student wants the cat to bounce in the scene back and forth. His/her teacher says that

the script is not correct. Which of the following statement is true?

a)

A. The teacher is wrong.

b)

B. 0.1 seconds is too low.

c)

C. The student should use “move to (0, 0)” inside the loop.

d)

D. Block “forever” could be removed.

e)

E. None of the above.

17.

After running for a while (and fixed the script), the cat looks like this.

The student does not want the cat go upside down and wants it to face the its running direction, what should he / she do?

a)

b)

B. Move the cat by lesser amount inside the loop.

c)

C. Feed the cat.

d)

e)

18.

What could the student do if he/she wants the cat to bounce vertically too?

a)

b)

B. No further step is required.

c)

C. Set the cat’s position to well-designed variables, which check against edges.

d)

D. Feed the cat.

e)

E. None of the above.

19.

A student wants the cat to move by 10 steps every time the green flag is clicked, and leave

traces of clones behind, but instead he/she only gets the two cats shown in the above scene.

Which of the following statement is correct?

a)

A. The script can be corrected by putting everything inside a forever loop (assuming no

content is changed).

b)

B. “Move 10 steps” should be put above “create clone”.

c)

C. “Go to (0, 0)” should be removed.

d)

e)

E. None of the above.