1) What is a statement (句子) ? a) loop + argument b) syntax + function c) argument + function d) function + argument 2) When we saw x.times, it means that the code is ... a) repeated 重复 b) alternating 来回切换 c) one-time code 一次性 d) conditional 条件 3) What is the meaning of an array ? a) many groups of same items b) a group of different items c) a group of same items d) many groups of different items 4) What do we call each item (东西) in array? a) index b) loop c) element d) for 5) The space in front of the second line of code is ... a) gap b) indentation c) spacing d) iteration 6) What is a nested loop? a) A loop inside another loop b) Two different loops c) A long loop d) A normal loop ang a "for" loop 7) The last line is called... a) syntax b) parentheses c) variable d) algorithm 8) Which of the following is not a part of syntax (文法) ? a) capital/small letter 大小写 b) language used 语言 c) punctuation 标点符号 d) spelling of code 拼写 9) Why do we use function in our code? a) To write formula 写方程式 b) To rearrange the code 重新排列 c) To make codes longer 比较长 d) To make codes shorter 缩短代码 10) Comments (笔记) will start with.... a) & b) # c) () d) * 11) What is an "until" loop ? a) A code that runs for one time b) A loop that runs until something happens c) A loop that never end d) A code that repeats on itself 12) Which of the following is not in this code? a) indentation b) statement c) nested loop d) conditional statement 13) Which of the following is logical operator? a) and b) if c) if...else d) onKey() 14) Conditional statement is ... a) goto() -> b) if...else c) x = 5 d) x.times -> 15) Example of unary operator (一元操作) is... a) if...else b) or c) and d) not 16) When we want goat to break the iced banana, we write... a) goat.hit() b) hit() c) goat.break() d) break() 17) Which one is not a stepper? a) goat b) turtle c) match d) monkey 18) Which one is event-driven programming (事件主导式编程)? a) for b in bananas b) goto() c) onMouseMove() d) turn 45 19) The meaning of return value is... a) the first value of the computer b) the output of code c) the code in the computer d) the value calculated by the computer 20) When we want to take banana, we need to... a) press any key on keyboard b) click the mouse c) move the monkey d) grab the moneky

Coding Quiz (1) - CodeMonkey

Leaderboard

Visual style

Options

Switch template

Continue editing: ?