Search Header Logo

Kiểm tra kiến thức Python

Authored by Thuy An

History

10th Grade

Used 1+ times

Kiểm tra kiến thức Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

46 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kiểu dữ liệu danh sách trong Python được biểu diễn bằng:

{}

[]

()

<>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Danh sách trong Python có thể chứa:

Chỉ số nguyên

Chỉ kiểu chuỗi

Các kiểu dữ liệu khác nhau

Chỉ kiểu số thực

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Chỉ số (index) của phần tử đầu tiên trong danh sách Python là:

-1

1

0

2

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả của len([10, 20, 30, 40]) là:

3

4

5

2

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để truy cập phần tử thứ ba trong danh sách a = [5, 8, 9, 12], ta dùng:

a[2]

a[3]

a(2)

a{2}

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả của đoạn mã sau là gì? A = [2, 5, 8] A[1] = 10 print(A)

[2, 10, 8]

[2, 5, 10]

[2, 10]

[10, 2, 8]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Python, danh sách có thể được ghép lại với nhau bằng toán tử:

*

&

+

/

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?