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

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

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Tài liệu Tin học ôn tập của Ngôn ngữ Python cho các kỳ thi Olympic Tin Học Quốc tế, Các kỳ thi liên quan đến lập trình, máy tính quốc tế như HKICO, UET, CCO, IOI, IC3 Spark Challenge ...có cả đáp án ở cuối tài liệu

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 Given the script and scene below How many clones will be made in each time the green flag is clicked? A B C D E Unlimited 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 In the stack of blocks below, how many times does the sprite move 10 steps? A B C D 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 What does the sprite cat would say? A 68 B 86 C 74 D 47 E None of the above 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 Given the following scene What’s the expected result of variable “x”? A B C D E None of the above 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 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 to repeat 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 The following expression receives a numerical or logical value? A B 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 second B 10 seconds C 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 19 What would the sprite say after executing the following script? A 50 B 25 C D E None of the above 20 Refer to the following script, what is the value of "my variable" after pressing space twice? A B C D E 12 79 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Ố Đề thi Vòng chung kết quốc gia năm học 2019 – 2020 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 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 Refer to the following image: Which of the following options can make the sprite “Cat” move to (10, 0)? 80 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 Click the green flag B Click on the Cat C Remove the block D Remove the block E None of the above 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 and 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 81 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 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 82 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 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 Refer to the following script: Which one of the following scripts has the same effect (to the basketball sprite) as above? 83 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 C B D E None of the above 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 84 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 10 Which of the following script can make the sprite follow the mouse pointer constantly for 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? 85 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 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? 86 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 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? 87 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 removed B Wait block C should be put in a for loop block 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? 88 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 200 is not larger than 50 B Wrong message is broadcasted C Wait 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: 89 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 The cat will “meow” once if it is clicked every time 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 D should be replaced by E None of the above 18 is not removed somewhere else Given the following script The scene is what happened after clicking the green flag, then clicking mouse on the scene: 90 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 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 B 10 C 50 D 60 E Cannot be determined 20 To be continued on question 19, what will be its direction? A B 90 C -90 D 180 E Cannot be determined 91 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 ĐÁP ÁN THAM KHẢO ĐỀ SỐ Câu Đáp án Câu Đáp án Câu Đáp án Câu Đáp án A A C D D 10 A C D C C 11 12 13 14 15 B D D C C 16 17 18 19 20 A C E A A ĐỀ SỐ Câu Đáp án Câu Đáp án Câu Đáp án Câu Đáp án D E C D C 10 E D C C C 11 12 13 14 15 D B B D D 16 17 18 19 20 C B B B C ĐỀ SỐ Câu Đáp án Câu Đáp án Câu Đáp án Câu Đáp án A D C D C 10 A D D B D 11 12 13 14 15 C B D C C 16 17 18 19 20 C C D B D ĐỀ SỐ Câu Đáp án Câu Đáp án Câu Đáp án Câu Đáp án B A C D E 10 A D C B E 11 12 13 14 15 B C A D E 16 17 18 19 20 D C E A B ĐỀ SỐ 5: Đề thi Vòng loại quốc gia năm học 2021 – 2022 Câu Đáp án Câu Đáp án Câu Đáp án Câu Đáp án A B B C D A B B 10 11 12 D C A D 13 14 15 16 A A C E 92 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Ố 6: Đề thi Vòng chung kết quốc gia năm học 2021 – 2022 Câu Đáp án Câu Đáp án Câu Đáp án Câu Đáp án B D D D A 10 D C D A D 11 12 13 14 15 B D C D B 16 17 18 19 20 A B B D C ĐỀ SỐ 7: Đề thi Vòng loại quốc gia năm học 2020 – 2021 Câu Đáp án Câu Đáp án Câu Đáp án Câu Đáp án E B A C C 10 A C E B B 11 12 13 14 15 D C D B B 16 17 18 19 20 A E C B C ĐỀ SỐ 8: Đề thi Vòng chung kết quốc gia năm học 2020 – 2021 Câu Đáp án Câu Đáp án Câu Đáp án Câu Đáp án A A E B A 10 C D B A B 11 12 13 14 15 D A C C B 16 17 18 19 20 A B D C D ĐỀ SỐ 9: Đề thi Vòng chung kết quốc gia năm học 2019 – 2020 Câu Đáp án Câu Đáp án Câu Đáp án Câu Đáp án A C A D E 10 E C D D D 11 12 13 14 15 A B D E D 16 17 18 19 20 C B E C C 93 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

Ngày đăng: 26/07/2023, 10:55

Tài liệu cùng người dùng

Tài liệu liên quan