Professional Documents
Culture Documents
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.
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. 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?
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
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
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
The cat does not appear moving to (100, 0) before going to (0, 0) after clicking the green flag. Why?
A.
B.
C.
D.
,
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?
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?
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
~ 全卷完 ~
~ End of Paper ~