Search Header Logo

CS2_Tổng Kết

Authored by Lê Tú

Computers

6th - 8th Grade

Used 1+ times

CS2_Tổng Kết
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Điểm A có tọa độ x=3, y=20 thì được ký hiệu là:

A {3, 20}

A (3,-20)

A (3, 20)

A [3, 20]

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh ĐÚNG để thực hiện xây dựng hàng rào “fence” tại tọa độ (65, 36)?

hero.buildXY("fence', 65, 36)

hero.buildXY("fence", 65, 36)

hero.buildXY{"fence", 65, 36}

hero.buildXY(fence, 65, 36)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh ĐÚNG để hero di chuyển đến điểm có tọa độ (52, 37) là:

hero.moveXY(52, 37)

hero.moveRightXY(52, 37)

hero.MoveXY(52, 37)

hero.moveXy(52, 37)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cú pháp ĐÚNG của câu lệnh tìm kiếm kẻ thù gần nhất là gì?

hero.findNearestEnemy

hero.findNearestenemy()

findNearestEnemy()

hero.findNearestEnemy()

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Đâu là cú pháp ĐÚNG của phép gán biến để định danh kẻ thù gần nhất? (Chú ý: có nhiều
hơn 1 đáp án đúng)

enemy1 = hero.findNearestEnemy()

enemy == hero.findNearestEnemy()

enemy = hero.findNearestEnemy()

enemy1 = findNearestEnemy()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

hero.isReady("cleave")
Câu lệnh trên có ý nghĩa là gì?

Kiểm tra thanh kiếm

Kiểm tra thể lực người hùng

Xuất kiếm đánh bại kẻ thù

Tấn công đánh bại kẻ thù

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2 câu lệnh hero.cleave() VÀ hero.cleave(enemy) có chức năng xuất chiêu GIỐNG hay KHÁC NHAU? (với enemy đã được định danh trước đó)

KHÁC NHAU

GIỐNG NHAU

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?