Search Header Logo

Bài 23: Một số lệnh làm việc với dữ liệu danh sách

Authored by NGUYỄN THỦY

Computers

10th Grade

Used 7+ times

Bài 23: Một số lệnh làm việc với dữ liệu danh sách
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

Toán tử nào dùng để kiểm tra một giá trị có nằm trong danh sách không?

in

int.

range.

append.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Kết quả của chương trình sau là gì?

1 2 3 4 5 6

1 2 3 4 5 6 5

1 2 3 4 5

2 3 4 5 6 5

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ngoài việc kết hợp lệnh for và range để duyệt phần tử trong danh sách, có thể sử dụng câu lệnh nào khác?

int

while

in range

in

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Danh sách: 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, True

True, False

False, True

False, False.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào sau đây xoá toàn bộ danh sách?

clear()

exit()

remove()

del()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

[1, 2, 3, 4]

[2, 3, 4, 5]

[1, 2, 4, 5]

[1, 3, 4, 5]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

2

3

8

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?