Search Header Logo

B23.2-Tin10

Authored by TRUC Ng

Instructional Technology

12th Grade

B23.2-Tin10
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

Câu 1: Để xóa tất cả các phần tử trong danh sách ta dùng hàm gì?

append()

pop()

clear()

remove()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu 2: Giả sử A = [5, 6, 7, 8, 9, 10, 11, 12]. Biểu thức sau trả về giá trị đúng hay sai? (3 + 4 - 5 + 18 // 4) in A

True.

False.

Không xác định.

Câu lệnh bị lỗi.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu 3: Muốn xóa một phần tử từ danh sách ta dùng lệnh gì?

remove()

insert()

append()

clear()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu 4: Sau khi thực hiện các câu lệnh sau, mảng A như thế nào?

>>> A = [1, 2, 3, 4, 5]

>>> A. remove(2)

>>> print(A)

[1, 2, 3, 4].

[2, 3, 4, 5].

[1, 2, 4, 5].

[1, 3, 4, 5].

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu 5: Giả sử A = ['a', 'b', 'c', 'd', 2, 3, 4]. Các biểu thức sau trả về giá trị đúng hay sai? 6 in A 'a' in A

True, False.

True, False.

False, True.

False, False.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu 6: Phần tử thứ bao nhiêu trong mảng A bị xoá?

>>> A = [10, 20, 3, 30, 20, 30, 20, 6, 3, 2, 8, 9]

>>> A. remove(3)

>>> print(A)

2.

3.

8.

4.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu 7: Muốn xóa phần tử thứ 2 trong danh sách a ta dùng lệnh gì?

del(2).

del a(2).

del a.

remove(2).

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?

Discover more resources for Instructional Technology