HKICO 2019-2020 - Mock - Final - Python
HKICO 2019-2020 - Mock - Final - Python
COMPUTATIONAL OLYMPIAD
FINAL ROUND 2019 - 2020
Python
Time allowed: 90 minutes
Mock Paper
Instructions to Contestants:
1. Each contestant should have ONE Question-Answer Book which CANNOT be
taken away.
2. There are a total of 24 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 Scratch and Blockly but
calculators can be used for Python.
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.
Multiple Choice Questions (1st ~24th) (Two points for correct answers. No points for incorrect
answers. ONE penalty point will be deducted for incorrect answers.)
D. 1.0 second
E. None of the above
def func(a):
print(a.x)
a = A()
a.x = 2
A.func = func
a.func()
A. 2
B. 3
C. runtime error
D. None
E. None of the above
A. 6
B. 10
C. 16
D. 4
E. None of the above
A. 2
B. 6
C. 12
D. 8
E. None of the above
~ End of Paper ~