Tải bản đầy đủ (.pdf) (85 trang)

Tài Liệu Ôn Tập Olympic Tin Học Quốc Tế HKICO 2023 SCRATCH

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (5.43 MB, 85 trang )

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 – 0961 603 003 / 0917 830 455


ĐỀ SỐ 1
1.

Given the script and scene below. How many clones will be made in each time the green
flag is clicked?

A. 1
B. 2
C. 3
D. 4
E. Unlimited
2.

The stage is the space where sprites can move around. This space is two-dimensional. The
horizontal direction goes from -240 to 240. The vertical direction ranges from?
A. -180 to 180
B. -360 to 360
C. -90 to 90
D. -240 to 240
E. None of the above

3.

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

A. 6


B. 7
C. 8
D. 9
E. None of the above
10
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 – 0961 603 003 / 0917 830 455


4.

What does the sprite cat would say?

A. 68
B. 86
C. 74
D. 47
E. None of the above
5.

Given the following script and scene. When up arrow key is pressed, the sprite Cat would
move up. When down arrow key is pressed, the sprite Cat would move down. (Assume
the green flag is clicked). Why doesn’t it work?

A. “Change y” should be replaced by “Change x”.
B. Change y by 10 is too small.
C. Change y by -10 is too small.
D. Up arrow/Down arrow should be pressed.
E. None of the above.


11
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 – 0961 603 003 / 0917 830 455


6.

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

A. 2
B. 4
C. 6
D. 8
E. None of the above
7.

Given the following the script and scene. When the sprite is clicked, the cat would move
from (0,0) to random position. Which of the following can slow down its speed?

A. Increase the cat’s size.
B. Add more script blocks to increase its weigh.
C. “Wait 0.2 seconds” should be replaced by “Wait 0.3 seconds”.
D. Set the initial position to (100, 100).
E. None of the above
12
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 – 0961 603 003 / 0917 830 455


8.


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. Increase repeat 3 to repeat 5 or 10.
B. Glide to … should be replaced Go to.
C. Change size by … to Change size 20.
D. Script blocks after When … should be put in a “Forever” loop.
E. None of the above.
9.

The following expression receives a numerical or logical value?

A. 0
B. 1
C. False
D. True
E. None of the above
10.

Building blocks in Scratch includes many categories, for example, Motion, Looks, Sound,
Events. Which category does the following block belong to?

A. Motions
B. Events
C. Operators
D. Sensing
E. Control
13

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 – 0961 603 003 / 0917 830 455


11.

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

A. 1 second
B. 10 seconds
C. 2 seconds
D. 20 seconds
E. None of the above
12.

Given the operator. What’s result we get?

A. 2335
B. 2535
C. 3523
D. 3525
E. None of the above
13.

In this Pong game, the ball is keep moving from the left to the right. What if we want the
ball to move around in the stage?

14
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 – 0961 603 003 / 0917 830 455


A.

should be replaced by

B.

should be replaced by

C.

.

should be put in the Forever loop.

D.
E. None of the above.

14.

.

should be replaced by

.

This is script of paddle sprite, what does the script do?


A. The paddle would move around the stage
B. The x coordinate of paddle equal to x coordinate of the ball.
C. The x coordinate of paddle equal to x coordinate of the mouse.
D. The paddle would move around the ball.
E. None of the above.

15
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 – 0961 603 003 / 0917 830 455


15.

Given the following script and scene. The sprite Cat asks the user to enter a number. The
script compare number and 50. What would the cat say if the user enters number 60?

A. What’s your number?
B. Join 60 is bigger than 50.
C. 60 is bigger than 50.
D. Answer is bigger than 50.
E. None of the above.
16.

In the script, if the user enters a number which is smaller than 50. Nothing happens. If the
user enters a number which is smaller than 50. The cat would say a sentence to announce.
What scripts should be changed?
A. “If …. then …” should be replaced by “If…then…else”.
B. “Stop all” should be added to the bottom of the script.
C. “Say join number …” should be added.
D. “If … then …” should be replaced by repeat.

E. None of the above.

17.

Scratch version 2.0 was released on May 9, 2013. When did the update version 3.0 was first
announce?
A. 2014
B. 2015
C. 2016
D. 2017
E. 2018

16
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 – 0961 603 003 / 0917 830 455


18.

Given the following script and scene. What would the sprite say if the user enters “2008”
in the answer box? (Assume that the green flag is clicked)

A. 13
B. 14
C. 15
D. 16
E. None of the above
Refer to the following scene and script for question 19 and 20.

19.


In this program, the user enters value of number a and b respectively. After that, the cat
would say sum of a and b. But it returns the wrong number. Why?
A. The input value of variable b is set by a.
B. The input value of variable a is set by b.
C. Variable named Sum is not equal to a + b.

D.
E. None of the above.

should be removed.
17

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 – 0961 603 003 / 0917 830 455


20.

Which of the following scripts gives the same outcome as the above script and scene?
A.

B.

C.

D.

E. None of the above


18
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 – 0961 603 003 / 0917 830 455


ĐỀ SỐ 2
1.

To draw the square as shown, we need to fill 1 and 2 respectively:

A.

B.

C.

D.

E.

19
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 – 0961 603 003 / 0917 830 455


2.

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

A. Square

B. Circle
C. Rectangle
D. Rhombus
E. Parallelogram
3.

What color will the picture be drawn with?

A. Red
B. Blue
C. Green
D. Black
E. Pink
Refer to the following scene for questions 4 – 5.

20
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 – 0961 603 003 / 0917 830 455


4.

How many loops do you need to draw the above figure?
A. 9 loops
B. 10 loops
C. 11 loops
D. 12 loops
E. 13 loops

5.


How many degrees dose the square rotate?
A. 10 degrees
B. 20 degrees
C. 30 degrees
D. 40 degrees
E. None of the above

6.

What is the expected picture on the stage?

A. Square
B. Pentagon
C. Hexagon
D. Circle
E. Star

21
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 – 0961 603 003 / 0917 830 455


7.

What’s the meaning of the following scripts:

A. When the right arrow key is pressed, change y by 10.
B. Change the value Y if the right arrow key is pressed.
C. Repeat forever when the right arrow key pressed and or x by 10.

D. Repeat forever if the right arrow key pressed then change x by 10.
E. None of the above.
8.

In this project, when the green flag is clicked, the Scratch Cat should ‘Draw a Square’ on
the screen. But the cat doesn’t draw any square! How to fix it?

A. Add block

B. Add block

C. Add block

D. Add block
E. None of the above.

after ‘set pen color’.

after ‘set pen color’.

after ‘set pen color’.

after ‘set pen color’.
22

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 – 0961 603 003 / 0917 830 455


9.


What is the final value of “a”?

A. 0
B. 5
C. 10
D. 7
E. None of the above
10.

What would this script do?

A. Make a sprite dance.
B. Make a sound play.
C. Make a costume.
D. Rotate sprite.
E. None of the above.
23
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 – 0961 603 003 / 0917 830 455


11.

What would this command

do?

A. Sprite would glide and go to position x …, y…
B. Sprite would go to random position x …, y…

C. Sprite would fly … secs and go to random position.
D. Sprite would slide … secs and go to position x…, y…
E. None of the above.
12.

What will happen when the Green flag is clicked?

A. Make the sprite moves.
B. Make the sprite spins.
C. Start the game.
D. Make the sprite goes to random position.
E. None of the above.
13.

Referring to the script and scene below. When the flag is clicked, what will happen?

A. Go up
B. Go down
C. Go right
D. Go left
E. None of the above
24
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 – 0961 603 003 / 0917 830 455


14.

You can use _______ blocks to program draw a quadrangle?
A. Motion

B. Look
C. Variable
D. Pen
E. Event

Refer to the following scene and script for question 15 and 16.

15.

Given the following scene. What is the ball position after clicking the green flag?
A. The ball would move forever 10 steps and jump.
B. The ball would move forever 10 steps and go down.
C. The ball would move if on edge, bounce.
D. The ball would move forever 10 steps and return.
E. None of the above.

16.

“If on edge, bounce” means ….?
A. Jump
B. Go down
C. Come back
D. Come on
E. Come forward

17.

Which command would move its sprite center’s X position by the specified amount?

A.


B.

C.
E. None of the above

D.

25
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 – 0961 603 003 / 0917 830 455


18.

Which block should you use if you want players to start the program by clicking on a key?

A.

B.

C.

D.
E. None of the above

19.

What would this command


do?

A. Set X by ….
B. Transform X by ….
C. Change Y by ….
D. Go to X by ….
E. None of the above
20.

What does these scripts mean?

A. If the sprite touches color purple, the sprite will move 10 steps.
B. If the sprite moves color orange, all sprites will stop.
C. If the sprite meets color orange then, the sprite will move 10 steps.
D. If the sprite touches color orange, the sprite will move 10 steps and stop.
E. None of the above.
26
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 – 0961 603 003 / 0917 830 455


ĐỀ SỐ 3
1.

Given the script and scene below. How many is/are the clone will be made in each time
the green flag is clicked?

A. 1
B. 2
C. 3

D. 4
E. Unlimited
2.

Building blocks in Scratch includes many categories, for example, Motion, Looks, Sound,
Events. Which category does the following block belong to?

A. Motions
B. Looks
C. Events
D. Control
E. Variables
3.

How to delete all newly created clones?

27
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 – 0961 603 003 / 0917 830 455


A. Use command
B. Use command
C. Use command
D. Use command
E. None of the above
4.

Assume the green flag is clicked, what is the ball’s position after clicking the green flag?


A. (70, 80)
B. (150, 80)
C. (70, -80)
D. (-80, 80)
E. None of the above

5.

What would this command

do?

A. Transform Y by ….
B. Change Y by ….
C. Put Y by ….
D. Alter Y by …
E. None of the above

28
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 – 0961 603 003 / 0917 830 455


6.

Which of the following is NOT considered as an absolute motion block?

A.

B.


C.

D.
E. None of the above
7.

Assume the green flag is clicked, which of the following script will give the same outcome?

A.

B.

29
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 – 0961 603 003 / 0917 830 455


C.

D.

E. None of the above
Refer to the following scene for questions 8 – 11.

8.

Look at the picture above, how many edges does the shape on the right have?
A. 3
B. 4

C. 5
D. 6
E. 7
30

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 – 0961 603 003 / 0917 830 455


9.

What is the shape called?
A. Square
B. Hexagon
C. Trapezoid
D. Quadrangle
E. None of the above

10.

To draw the shape like this, what’s the number in the blank 1?
A. 3
B. 4
C. 5
D. 6
E. None of the above

11.

To draw the shape like this, what’s the number in the blank 2?

A. 40 degrees
B. 50 degrees
C. 60 degrees
D. 70 degrees
E. None of the above

12.

What’s block would change the “Rotation Style” of the sprite in project?

A.

C.

B.

D.

E. None of the above
13.

How many loops do you need to draw the following shape?

31
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 – 0961 603 003 / 0917 830 455


A. 12
B. 13

C. 14
D. 15
E. None of the above
14.

Assume the green flag is clicked, what is the expected shape on the stage?

A. Triangle
B. Square
C. Circle
D. Rectangle
E. None of the above
15.

Given the operator. What’s the result of the expression?

A. 30
B. 300
C. 450
D. 1170
E. None of the above

32
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 – 0961 603 003 / 0917 830 455


16.

Given the following scene. What will happen when the Green flag is clicked?


A. Repeat forever sound Boing.
B. When the ball touches the paddle, the ball will start to make a sound.
C. If the ball touches the paddle, the ball will start to make a sound forever.
D. Repeat forever if the ball touches the paddle.
E. None of the above.
17.

Given the operator. What’s the result of the expression?

A. 129
B. 130
C. 131
D. 132
E. None of the above
18.

Compares two following solutions. Who is/are correct?

Student A

Student B
33

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 – 0961 603 003 / 0917 830 455


×