Search Header Logo

KT xâu Tin 10

Authored by Mơ Thị

Computers

10th Grade

Used 13+ times

KT xâu Tin 10
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

"010" in "1101" trả về kết quả là:

True

False

Đúng

Sai

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Cú pháp của lệnh find trong xâu là?

<xâu mẹ>.find(<xâu con>)

<xâu con>.find(<xâu mẹ>)

<xâu mẹ>.find(start,<xâu con>)

<xâu con>.find(<xâu con>,start)

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Cho xâu s="Kiem tra 15p Tin 10". Lệnh s.find("1",10)

10

16

9

17

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Lệnh split() cho kết quả là:

Một xâu

False

Một danh sách

True

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Đâu là xâu trong python?

["a","b","c","5+7"]

"abc5+7"

abc5+7

abc

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Cho s="Tin 10". Cho biết kết quả khi thực hiện câu lệnh sau:

for i in s:

print(i,end=" ")

"Tin 10"

"T i n 1 0"

T i n 1 0

T

i

n

1

0

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Cho s="Tin 10" Muốn lấy ra kí tự "n" ta viết:

s(2)

s[3]

s[n]

s[2]

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?