Search Header Logo

Kiểm tra cuối HK2-Khối 10-NH2023_2024

Authored by linh nguyen

Other

10th Grade

Used 2+ times

Kiểm tra cuối HK2-Khối 10-NH2023_2024
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Trong Python, sau khi thực hiện đoạn mã kết quả hiển thị sẽ là gì?

ds=[45, 0, 50, 7, 10]

ds.sort()

print(ds)

[0, 7, 10, 45, 50]

[50, 45, 10, 7, 0]

Báo lỗi

Tất cả sai

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Trong Python, sau khi thực hiện đoạn mã kết quả hiển thị sẽ là gì?

ds=[45, 0, 50, 7, 10]

a="hello"

ds.insert(0,a)

print(ds)

['hello', 45, 0, 50, 7, 10]

[45, 0, 50, 7, 10, 'hello']

[45, 'hello',  0, 50, 7, 10]

Báo lỗi

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Trong Python, sau khi thực hiện đoạn mã kết quả hiển thị sẽ là gì?

ds=[45, 0, 50, 7, 10]

ds.pop(3)

print(ds)

[45, 0, 50, 10]

[45, 0, 7, 10]

[45, 0, 50, 7, 10]

Báo lỗi

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Trong Python, sau khi thực hiện đoạn mã kết quả hiển thị sẽ là gì?

ds=[45, 0, 50, 7, 10]

ds.append(“hello”)

print(ds)

Báo lỗi

[45, 0, 50, 7, 10]

[45, 0, 50, 7, 10, “hello”]

[45, 0, 50, 7, “hello”]

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Trong Python, sau khi thực hiện đoạn mã kết quả hiển thị sẽ là gì?

ds=[45, 0, 50, 7, 10]

print(ds[0])

0

45

báo lỗi

10

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Trong Python, sau khi thực hiện đoạn mã kết quả hiển thị sẽ là gì?

ds=[i for i in range (10)]

print(ds)

báo lỗi

0 1 2 3 4 5 6 7 8 9

[0 1 2 3 4 5 6 7 8 9]

[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Trong Python, sau khi thực hiện đoạn mã kết quả hiển thị sẽ là gì?

a=”hello python”

b=”tin học”

print(a.replace(b,”python”))

hello python

hello tin học

python

tin học

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?