You are on page 1of 19

HONG KONG INTERNATIONAL

COMPUTATIONAL OLYMPIAD
HEAT ROUND 2019 - 2020 (HONG KONG REGION)

Scratch
Time allowed: 60 minutes
Question Paper
Instructions to Contestants:
1. Each contestant should have ONE Question-Answer Book which CANNOT be taken away.
2. There are a total of 20 questions in this Question-Answer Book. Two points for correct answers. No points
for incorrect answers. ONE penalty point will be deducted for incorrect answers.
3. All answers should be written on ANSWER SHEET.
4. During the contest, NO calculators can be used for PRIMARY GROUP but calculators can be used for
SECONDARY GROUP.
5. All figures in the paper are not necessarily drawn to scale.
6. This Question-Answer Book will be collected at the end of the contest.

THIS Question-Answer Book CANNOT BE TAKEN AWAY.


DO NOT turn over this Question-Answer Book without approval of the examiner.
Otherwise, contestant may be DISQUALIFIED.
Multiple Choice Questions (1st ~20th) (Two points for correct answers. No points for incorrect answers. ONE
penalty point will be deducted for incorrect answers.)

1. Building blocks in Scratch are divided into many categories, for example, Motion, Events, Operators.
Which category does the following block belong to?

A. Motion
B. Events
C. Operators
D. Sensing
E. Control

2. The following is an empty “if” control block, blocks of which following categories can be expected to be
filled in ?

A. Motion
B. Events
C. Operators
D. Variables
E. Control
3. Refer to the following image:

Which of the following options can make the sprite “Cat” move to (10, 0)?

A. Click the green flag


B. Click on the Cat

C. Remove the block

D. Remove the block


E. None of the above

4. Which supporter is responsible for the maintenance of the Scratch?

A. Google
B. Microsoft
C. Amazon
D. MIT
E. None of the above
Refer to the following scene and the scripts for the sprite “Cat” and sprite “Basketball” for question 5 and 6.

5. Which of the following is the correct script for the basketball sprite, so that the sprite “Cat”, initially at (-
150, 0), would chase the basketball at (0, 0) after clicking the green flag?

A. B.

C. D.
E. None of the above
6. Which of the following script can keep the basketball sprite rotating after green flag is clicked, until is
clicked?

A. B.

C. D.
E. None of the above
7. Refer to the following scene and script:

Why isn’t the basketball moving to (10, 0) after the green flag is clicked?

A. The block makes the basketball stay at (0, 0)


B. Direction is not correct
C. Event block is not correct
D. Moving 10 steps is not enough
E. None of the above
8. Refer to the following script:

Which one of the following scripts has the same effect (to the basketball sprite) as above?

A. B.
C. D.
E. None of the above

9. Given the stage and the script:

Which block is removable in the script to get the exact same effect after the green flag is clicked?
A.

B.

C.

D.
E. None of the above

10. Which of the following script can make the sprite follow the mouse pointer constantly for 1 second, after
the green flag is clicked?

A. B.
C. D.
E. None of the above

11. Given the script:


Which of the following script has the same effect as the above?

A. B.

C.
D. All of the above
E. None of the above
12. Given the following scene:

Which of the following script makes the cat follow your mouse and meow once when it touches the
basketball?

A. B.

C. D.
E. None of the above
13. A student wants the sprite “Cat” to move to (100, 0) 10 seconds after the green flag is clicked. He/She
writes the following script but does not get the expected result. Why or how to correct?

A. should be removed

B. Wait block should be put in a for loop block

C. should be put under


D. Wrong message is broadcasted
E. None of the above

14. Given the following script:

The cat does not appear moving to (100, 0) before going to (0, 0) after clicking the green flag. Why?

A. The cat did not go to (100, 0) at all


B. (100, 0) is too far away
C. Other sprite is blocking (100, 0)
D. All of the above
E. None of the above
15. The cat does not “meow” after green flag is clicked, which of the following option is the explanation?

A. 200 is not larger than 50


B. Wrong message is broadcasted
C. Wait 1 second is too short
D. “message1” is not broadcasted
E. None of the above
16. Given operator:

Which of the following operators is equivalent as the above?

A.

B.

C.

D.

E. None of the above ;以上皆不是


17. For the script below:

,
the cat will “meow” once if it is clicked everytime. If it is changed to the following script,

Why would the cat not “meow” once after the green flag is clicked?

A. Cat is not clicked again


B. Event “mouse down?” is not captured by the scene

C. is not removed somewhere else

D. should be replaced by
E. None of the above
18. Given the following script. The scene is what happened after clicking the green flag, then clicking mouse
on the scene:

Why are not all the clones deleted after going to random positions?

A. is not triggered by mouse down


B. Mouse down is never triggered at all
C. There are too many clones
D. Each clone should be clicked on one by one to delete it
E. “If” block only checks the moment clone is spawn
Please refer to the following image for question 19 and 20:

19. The position of the sprite “Cat” is (0, 0), what will be its X position after pressing the “left arrow” key 10
times?

A. 0
B. 10
C. 50
D. 60
E. Cannot be determined

20. To be continued on question 19, what will be its direction?


A. 0
B. 90
C. -90
D. 180
E. Cannot be determined

~ 全卷完 ~
~ End of Paper ~

You might also like