Search Header Logo

Python - Bài tập về danh sách

Authored by Duy Tran

Computers

5th Grade

Used 9+ times

Python - Bài tập về danh sách
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

 Để tạo danh sách rỗng, chúng ta sử dụng cú pháp nào?

list = []

list = ()

list = {}

list = None

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 Câu nào sau đây đúng khi thêm phần tử vào cuối danh sách ?

list.add(x)

list.append(x)

list.insert(x)

list.push(x)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Kết quả của đoạn code sau là gì?

1

2

3

4

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Kết quả của đoạn mã sau là gì?

Lỗi

10

20

30

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Đoạn mã sau in ra kết quả gì?

4

3

5

6

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

 Phương thức nào dùng để xóa phần tử tại vị trí chỉ định?

remove()

del

pop()

Tất cả đều sai

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Kết quả của đoạn mã sau là gì?

[1, 2]

 [2, 3, 4]

 [2, 3]

 [3, 4]

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?