Python - String

Python - String

6th Grade

10 Qs

quiz-placeholder

Similar activities

LUẬT GIÁO DỤC (126-140)

LUẬT GIÁO DỤC (126-140)

1st Grade - Professional Development

15 Qs

CÙNG NHAU KHÁM PHÁ

CÙNG NHAU KHÁM PHÁ

6th - 7th Grade

10 Qs

ÔN TẬP HIỆU QUẢ - CNMTR

ÔN TẬP HIỆU QUẢ - CNMTR

KG - 12th Grade

10 Qs

Sight Word Quiz - Digraphs/Diphthongs/Blends

Sight Word Quiz - Digraphs/Diphthongs/Blends

6th - 8th Grade

11 Qs

PROCORALAN - HF

PROCORALAN - HF

1st - 12th Grade

7 Qs

Train the trainer_03

Train the trainer_03

1st - 9th Grade

15 Qs

Python b3

Python b3

6th Grade

11 Qs

ENGLAND

ENGLAND

KG - Professional Development

10 Qs

Python - String

Python - String

Assessment

Quiz

Special Education

6th Grade

Hard

Created by

Dung Nguyen

Used 3+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả của câu lệnh sau là gì?

print(len("Lấy độ dài chuỗi"))

14

15

16

17

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a = "Hello September! Welcome to my world"

Muốn lấy được chữ September của chuỗi a thì ta dùng câu lệnh nào?

a[6:15]

a[6:14]

a[7:15]

a[7:14]

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a = "Today is "

b = 4

c = "September "

print(a+b+c)

Kết quả hiển thị trên màn hình sau khi chạy đoạn lệnh trên là gì?

Today is 4 September

Today is September 4

"Today is 4 September"

Không chạy được (có lỗi)

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Kết quả sau khi chạy đoạn lệnh trên là gì?

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Sau khi chạy đoạn lệnh trên thì ta được kết quả là gì?

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

a = "Chung tay đẩy lùi Covid-19"

print(a.find("Covid"))


Kết quả thu được sau khi chạy 2 câu lệnh trên là gì?

Covid

19

18

a[18]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a = "Chung tay đẩy lùi Covid-19"

print(a.split())


Kết quả thu được sau khi chạy câu lệnh trên là gì?

['Chung', 'tay', 'đẩy', 'lùi', 'Covid-19']

"Chung tay đẩy", "lùi Covid-19"

'Chung, tay, đẩy, lùi, Covid 19'

"Chung tay", "đẩy lùi Covid-19"

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?