Bài tập kiểu danh sách

Bài tập kiểu danh sách

10th Grade

10 Qs

quiz-placeholder

Similar activities

BUSINESS LETTER TEST REVIEW

BUSINESS LETTER TEST REVIEW

10th Grade

14 Qs

Stem-Changing Verbs review

Stem-Changing Verbs review

9th - 12th Grade

14 Qs

Civil Protections Vocabulary Quiz

Civil Protections Vocabulary Quiz

9th - 12th Grade

14 Qs

test de comprensión lectora. Compulsa 2025

test de comprensión lectora. Compulsa 2025

10th Grade - University

10 Qs

Ch 4 - Ecosystems

Ch 4 - Ecosystems

9th - 12th Grade

10 Qs

2025 Professional Appearance in Health Care

2025 Professional Appearance in Health Care

9th - 12th Grade

13 Qs

Pax Romana Quiz

Pax Romana Quiz

7th Grade - University

10 Qs

Abolitionist Movement Quiz

Abolitionist Movement Quiz

8th Grade - University

15 Qs

Bài tập kiểu danh sách

Bài tập kiểu danh sách

Assessment

Quiz

others

10th Grade

Practice Problem

Medium

Created by

Thảo Thị

Used 3+ 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âu lệnh nào sau đây dùng để khởi tạo list gồm 5 số nguyên?

a={1,5,8,9,10}

so nguyen=[1,5,8,9,10]

m=[1,5,8,9,10]

a=[5]

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho biết kết quả khi thực hiện đoạn lệnh sau:

a=[5,9,10,20]

print(a[2])

2

9

20

10

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm nào tính độ dài danh sách trong Python?

A. len()
B. del
C. append()
D. insert()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm nào thêm phần tử vào cuối DANH SÁCH trong Python?

A. len()
B. del
C. append()
D. insert()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào được sử dụng để khởi tạo một danh sách rỗng trong Python?

A. new_list = list()
B. new_list = []

C. new_list = list(0)

D. new_list = [0]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Các phần tử trong danh sách Python được phân tách bằng ký tự gì?

A. Dấu chấm phẩy (;)
B. Dấu phẩy (,)
C. Dấu hai chấm (:)
D. Dấu chấm (.).

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Các phần tử trong một danh sách có thể là kiểu dữ liệu gì?

A. Chỉ có thể là kiểu số
B. Chỉ có thể là kiểu chuỗi

C. Có thể là kiểu số, xâu kí tự, danh sách, ...

D. Chỉ có thể là kiểu logic

Create a free account and access millions of resources

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?