Professional Documents
Culture Documents
Blockly PDF
Blockly PDF
COMPUTATIONAL OLYMPIAD
PRELIMINARY ROUND 2021- 2022
Blockly
Question Paper
Phiếu câu hỏi
Time allowed: 45 minutes
Thời gian thi: 45 phút
2. There are a total of 16 questions in this Question-Answer Book. Two points for a correct answer.
No points for blank answers. ONE penalty point will be deducted for an incorrect answer.
Đề thi gồm 16 câu hỏi. Mỗi câu trả lời đúng được 2 điểm. Câu không trả lời không bị trừ điểm. Mỗi câu
trả lời sai sẽ bị trừ MỘT điểm.
4. During the contest, NO calculators can be used for Scratch and Blockly but calculators can be
used for Python.
Thí sinh thi ngôn ngữ Scratch và Blockly KHÔNG được dùng máy tính cầm tay. Thí sinh thi ngôn ngữ
Python được dùng máy tính cầm tay.
6. DO NOT turn over this Question-Answer Book without approval of the examiner.
Thí sinh KHÔNG tự ý xem đề khi chưa có hiệu lệnh của giám thị.
1
KỲ THI OLYMPIC TIN HỌC QUỐC TẾ HKICO (HongKong International Computational Olympiad)
FERMAT Education: Số 6A1 tiểu khu Ngọc Khánh, Ba Đình, Hà Nội
All answers should be written on the ANSWER SHEET.
_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________
1. Which is a drag and drop text-based programming language used to learn the basics of
coding?
A. Algorithm B. Blockly C. Loop D. Sprite E. Block
A.
B.
C.
D. All of the above
E. None of the above
A.
B.
C.
D.
E. None of the above
4. What is this a definition of: repeating steps, or instructions , over and over again? This is
often called a 'loop'.
A. Sequence B. Variable C. Iteration D. Selection E. Logic
2
KỲ THI OLYMPIC TIN HỌC QUỐC TẾ HKICO (HongKong International Computational Olympiad)
FERMAT Education: Số 6A1 tiểu khu Ngọc Khánh, Ba Đình, Hà Nội
All answers should be written on the ANSWER SHEET.
_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________
Which of the following would make exactly the same square in the same position?
A. B.
C. D.
A. B.
C. D.
E. None of the above
7. Which is a placeholder for a piece of information that can change?
A. Sequencing B. Variable C. Command D. Logical E. Event
3
KỲ THI OLYMPIC TIN HỌC QUỐC TẾ HKICO (HongKong International Computational Olympiad)
FERMAT Education: Số 6A1 tiểu khu Ngọc Khánh, Ba Đình, Hà Nội
All answers should be written on the ANSWER SHEET.
_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________
8. Look at the following code. This traffic lights program should draw a green square if it is
safe to go and if not a red square. It is not working - what is happening?
10. What is this a definition of: the program makes decisions to take different paths
depending on if a condition is true or false?
A. Sequence B. Variable C. Iteration D. Selection E. Logic
12. Referring the following script below. What’s the result of “Count”?
A. 1
B. 2
C. 3
D. 4
E. None of the above
13. Which blocks are missing in this maze?
5
KỲ THI OLYMPIC TIN HỌC QUỐC TẾ HKICO (HongKong International Computational Olympiad)
FERMAT Education: Số 6A1 tiểu khu Ngọc Khánh, Ba Đình, Hà Nội
All answers should be written on the ANSWER SHEET.
_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________
A.
B.
C.
D. All of the above
E. None of the above
16. What are the three main parts of a Blockly screen on Code.org?
A. a television, a video game and worksheets
B. toolbox, game space and workspace
C. tires, fires and wires
D. breakfast, lunch and dinner
E. block, script, sprite
6
KỲ THI OLYMPIC TIN HỌC QUỐC TẾ HKICO (HongKong International Computational Olympiad)
FERMAT Education: Số 6A1 tiểu khu Ngọc Khánh, Ba Đình, Hà Nội
All answers should be written on the ANSWER SHEET.
_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________
KEY
1) B 9) C
2 2 2 2
2) A 10) D
2 2 2 2
3) D 11) A
2 2 2 2
4) C 12) D
2 2 2 2
5) B 13) E
2 2 2 2
6) A 14) C
2 2 2 2
7) B 15) B
2 2 2 2
8) B 16) B
2 2 2 2
7
KỲ THI OLYMPIC TIN HỌC QUỐC TẾ HKICO (HongKong International Computational Olympiad)
FERMAT Education: Số 6A1 tiểu khu Ngọc Khánh, Ba Đình, Hà Nội