Search Header Logo

ôn tập về chuỗi

Authored by duong tran

Computers

1st - 5th Grade

Used 3+ times

ôn tập về chuỗi
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Cho xâu s = 'Hello everybody'

print(x[2:5])

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Câu lệnh sau cho kết quả là gì?

print("P" not in "APCSP")

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

cho xâu a bất kỳ. Ký tự cuối cùng trong xâu a có chỉ số là

100

chưa biết

len(a)-1

n

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả của chương trình sau:

print("Hello world!" * 2)

TypeError

Hello world world!

Hello world!Hello world!

Hello world! * 2

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

chỉ số của các ký tự trong xâu được đánh bắt đầu từ

0

1

2

Không có chỉ số

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

word = "amazing"

Kết quả của chương trình sau:

print(word[1:5])

mazing

mazin

mazi

azin

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x1 = 'tin'

x2 = 'học'

print(x2+x1)

tin học

tinhọc

học tin

họctin

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?