CS 2

CS 2

10th Grade

30 Qs

quiz-placeholder

Similar activities

Gamestar Mechanic

Gamestar Mechanic

3rd - 12th Grade

32 Qs

APCS10603

APCS10603

10th Grade - University

25 Qs

Working with functions and events

Working with functions and events

6th - 12th Grade

32 Qs

Game Maker Lessons 9-16

Game Maker Lessons 9-16

10th - 12th Grade

35 Qs

Quiz 1 - Grade 9

Quiz 1 - Grade 9

9th - 12th Grade

33 Qs

Semester Final Mob Apps

Semester Final Mob Apps

10th - 12th Grade

25 Qs

W.F.H

W.F.H

1st Grade - University

25 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?