tin 10-danh sach

tin 10-danh sach

10th Grade

10 Qs

quiz-placeholder

Similar activities

Principales investigadores y pensadores en latinoamerica

Principales investigadores y pensadores en latinoamerica

1st - 10th Grade

10 Qs

Atomic structure

Atomic structure

KG - Professional Development

10 Qs

Diagnóstico 6o.

Diagnóstico 6o.

1st - 12th Grade

15 Qs

QUIZ DE PORTUGUÊS EREM CD

QUIZ DE PORTUGUÊS EREM CD

10th Grade

15 Qs

ORACIÓN BIMEMBRE

ORACIÓN BIMEMBRE

9th - 11th Grade

11 Qs

Semana de Oración DÍA 01

Semana de Oración DÍA 01

10th - 12th Grade

10 Qs

sílabas D-d

sílabas D-d

1st - 12th Grade

10 Qs

Ejercicio de potencias

Ejercicio de potencias

1st - 12th Grade

10 Qs

tin 10-danh sach

tin 10-danh sach

Assessment

Quiz

Education

10th Grade

Practice Problem

Easy

Created by

Lieu Dinh

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Có mấy kiểu duyệt phần tử của danh sách?

A. 1.

B. 2.

C. 3.

D. 4.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào sau đây được dùng để tính độ dài của phần tử?

A. del().

B. len().

C. append().

D. leng().

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Danh sách A sẽ như thế nào sau các lệnh sau?

>>> A = [2, 3, 5, 6]

>>> A. append(4)

>>> del (A[2])

A. 2, 3, 4, 5, 6, 4.

B. 2, 3, 4, 5, 6.

C. 2, 4, 5, 6.

D. 2, 3, 6, 4.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để khai báo một danh sách rỗng ta dùng cú pháp nào sau đây?

A. < tên danh sách > ==[]

B. < tên danh sách > = 0

C. < tên danh sách > = []

D. < tên danh sách > = [0]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

A = [2, 3, 5, "python", 6]

A.append(4)

A.append(2)

A.append("x")

del(A[2])

print(len(A))

Chương trình trả về kết quả nào sau đây?

A. 5.

B. 6.

C. 7.

D. 8.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho arr = [‘xuan’, ‘hạ’, 1. 4, ‘đông’, ‘3’, 4.5, 7]. Giá trị của arr[3] là giá trị nào sau đây?

A. 1.4.

B. đông.

C. hạ.

D. 3.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

A. append()

B. pop()

C. clear()

D. remove()

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?