
CS 2
Authored by SUIHUAI HUANG
Computers
10th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
哪個程式碼可以判斷離英雄最近的敵人?
hero.findEnemy()
hero.locateEnemy()
hero.nearestEnemy()
hero.findNearestEnemy()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
以下哪個程式碼用來命令英雄向下走?
hero.moveLeft()
hero.moveUp()
hero.moveDown()
hero.moveRight()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
哪個指令可以命令英雄在指定座標放置陷阱?
hero.trapXY("fire-trap",x,y)
hero.buildXY("fire-trap",x,y)
hero.placeTrap("fire-trap",x,y)
hero.setTrapXY("fire-trap",x,y)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
以下哪個指令是用來移動英雄到某個座標?
hero.moveXY(x, y)
hero.goTo(x, y)
hero.walkTo(x, y)
hero.navigate(x, y)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
哪個運算子表示大於等於?
==
!=
>
>=
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
哪個指令可以讓英雄攻擊目標?
hero.shoot(enemy)
hero.attack(enemy)
hero.hit(enemy)
hero.strike(enemy)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
如何命令英雄防禦(使用盾牌)?
hero.protect()
hero.block()
hero.shield()
hero.guard()
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?