Search Header Logo

Câu Hỏi Ôn Tập CodeCombat

Authored by Dung Tran

Information Technology (IT)

10th Grade

Used 1+ times

Câu Hỏi Ôn Tập CodeCombat
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Gốc tọa độ (0, 0) trong CodeCombat nằm ở vị trí nào trên bản đồ?

Chính giữa

Góc trên‑trái

Góc dưới‑trái

Góc dưới‑phải

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lời gọi phương thức nào đúng cú pháp để di chuyển hero tới (15, 40)?

hero.moveXY(15,40)

moveXY.hero(15,40)

hero.move(15,40)

hero.moveXY{x:15,y:40}

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để sinh một munchkin tại (20,25) bạn dùng:

game.spawnXY("munchkin",20,25)

spawnXY.game("munchkin",20,25)

game.spawnPlayerXY("munchkin",20,25)

hero.spawn("munchkin",20,25)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lựa chọn hàm tạo player mới đúng là:

game.spawnPlayerXY("champion",x,y)

game.spawnXY("champion",x,y)

player.spawnXY("champion",x,y)

game.addPlayer(x,y)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh nào tạo mục tiêu thu thập 10 vật phẩm?

game.addCollectGoal(10)

game.collectGoal(10)

addCollectGoal.game(10)

game.setCollect(10)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để yêu cầu hero sống sót 30 giây, ta dùng:

game.addSurviveGoal(30)

game.addDefeatGoal(30)

game.setSurvive(30)

game.surviveTime(30)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Thuộc tính nào truy cập máu tối đa của hero?

hero.maxHealth

hero.healthMax

hero.hp_max

hero.hpTotal

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?