Search Header Logo

Hoa điểm 10_Tin 11

Authored by Thi Vo

Other

Professional Development

Hoa điểm 10_Tin 11
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

30 sec • 1 pt

Để biết độ dài của xâu s ta dùng lệnh nào?

str(s)

len(s)

lenght(s)

s.len()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào sau đây dùng để nối danh sách thành thành một xâu?

split()

remove()

join()

copy()

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Kết quả của chương trình sau là gì?

a = "Lập trình Python"

print(a.count(“By”,0, len(a)))

1

-1

2

0

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Kết quả của chương trình sau là gì?

a = "Lập trình Python"

print(a.find(“By”,0, len(a)))

-1

0

1

10

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để tạo xâu in hoa từ toàn bộ xâu hiện tại ta dùng hàm:

lower()

len()

upper()

srt()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để tạo xâu in thường từ toàn bộ xâu hiện tại ta dùng hàm:

lower() 

len()

upper()

str()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để thay thế kí tự ‘a’ trong xâu s bằng một xâu mới rỗng ta dùng lệnh:

s=s.replace('a','')

s=s.replace(‘a’)

s=replace(a,’’)

s=s.replace()

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?