Search Header Logo

Slicing-Method-Function

Authored by Phạm Hà

Computers

University

Used 196+ times

Slicing-Method-Function
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?