Search Header Logo

KTTX K10 HK2_Kiểu DL DS

Authored by Hải Nguyễn Thị

Computers

10th Grade

Used 8+ times

KTTX K10 HK2_Kiểu DL DS
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Để in giá trị phần tử đầu tiên của một danh sách A ra màn hình ta viết:

print(A[2])

print(A[1])

print(A[3])

print(A[0])

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Sau khi thực hiện các lệnh sau, Python in ra màn hình cái gì?

[1,5,9,6]

[1,5,9]

[1,5,6]

Chương trình báo lỗi

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

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

A=[6,7,8,9,10,11]

A=[7,8,9,10,11]

A=[7,8,9,10,11,6]

A=[7,8,9,10]

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Đâu là câu lệnh duyệt danh sách A với toán tử in đúng:

for i in range(len(A)):  

for i in A:

for i in len(A):

for i in range(A):

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Phương thức nào sau đây dùng để thêm phần tử vào cuối Danh sách trong python?

abs()

link()

append()

add()

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Sau khi thực hiện các câu lệnh sau, danh sách A như thế nào?

[1, 2, 3, 4]

[1, 2, 4, 5]

[2, 3, 4, 5]

[1, 3, 4, 5]

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Danh sách A trước và sau lệnh insert() là [1, 3, 5, 0] và [1, 3, 4, 5, 0]. Lệnh đã dùng là lệnh gì?

A.insert(2, 4)

A.insert(4, 2)

A.insert(3, 4)

A.insert(4, 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?