Search Header Logo

KHỐI 10 - XÂU KÍ TỰ - DANH SÁCH - PYTHON

Authored by Nguyễn Nhân

Computers

9th - 12th Grade

Used 1+ times

KHỐI 10 - XÂU KÍ TỰ - DANH SÁCH - PYTHON
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

38 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để gọi đến phần tử đầu tiên trong danh sách a ta dùng lệnh:

a[1]

a[0]

a0

a1

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để gọi đến phần tử thứ 2 trong danh sách a ta dùng lệnh:

a[0]

a[1]

a0

a1

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho danh sách a=[0,2,4,6]. Phần tử a[1]=?

0

2

4

6

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho danh sách a=[0,2,4,6]. Phần tử a[2]=?

0

2

4

6

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để thêm phần tử vào cuối danh sách ta dùng hàm:

append()

pop()

insert()

sort()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để xóa phần tử thứ i trong danh sách và đưa ra phần tử này, ta gọi hàm:

append(i)

insert(i)

pop(i)

sort(i)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho đoạn chương trình:

a=[1,4,2]

a.append(3)

print(a)

Sau khi thực hiện đoạn chương trình trên thì danh sách a có các phần tử:

a=[4,1,2,3]

a=[1,2,3]

a= [1,2,3,4]

a=[1,4,2,3]

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?