CS 2

CS 2

10th Grade

30 Qs

quiz-placeholder

Similar activities

Foundations Chapter 3

Foundations Chapter 3

9th - 12th Grade

29 Qs

數概-ch11

數概-ch11

10th Grade

29 Qs

Super Mario Bros. Quiz

Super Mario Bros. Quiz

KG - Professional Development

35 Qs

Test Your Knowledge of Games

Test Your Knowledge of Games

10th Grade

30 Qs

Từ vựng lần 2

Từ vựng lần 2

4th - 10th Grade

30 Qs

JavaScript Variables Quiz

JavaScript Variables Quiz

9th - 12th Grade

26 Qs

CS 2

CS 2

Assessment

Quiz

Computers

10th Grade

Practice Problem

Hard

Created by

SUIHUAI HUANG

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?