Search Header Logo

Slicing-Method-Function

Authored by Phạm Hà

Computers

University

Used 224+ times

Slicing-Method-Function
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

110 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Python, cho: t=[3,5,7,9,11] Biểu thức sau trả về kết quả nào? t[1:1]

[]
[5]
[3]
[3,5]

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Python, cho: t=[3,5,7,9,11] Biểu thức sau trả về kết quả nào? t[1:2]

[5]
Báo lỗi
[3,5]
[3]

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Python, cho: t=[3,5,7,9,11] Biểu thức sau trả về kết quả nào? t[:2]

[3,5]
Báo lỗi
[5]
[3]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Python, cho: t=[3,5,7,9,11] Biểu thức sau trả về kết quả nào? t[::2]

[3,7,11]
[9,11]
Báo lỗi
[3,5]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Python, cho: t=[3,5,7,9,11] Biểu thức sau trả về kết quả nào? t[::-1]

[11,9,7,5,3]
[11]
[3]
Báo lỗi

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Python, cho: t=[3,5,7,9,11] Biểu thức sau trả về kết quả nào? t[1:-2]

[5,7]
[5,7,9]
[9,11]
[3,5]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Python, cho: t=[3,5,7,9,11] Biểu thức sau trả về kết quả nào? t[:-3]

[3,5]
[3,5,7]
[7,9,11]
[9,11]

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?