Search Header Logo

khởi động trước khi vào bài list

Authored by Đỗ Duyên

Computers

10th Grade

Used 1+ times

khởi động trước khi vào bài list
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm nào trong Python được sử dụng để đếm số kí tự trong một xâu?

sum()

total()
count()
len()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kiểu dữ liệu xâu kí tự trong Python là gì?

Một dãy các số nguyên

Một dãy các kí tự

Một dãy các số thực

Một dãy các boolean

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để nối hai xâu str1 = "Hello" và str2 = "World" trong Python, ta sử dụng phép toán nào?

str1 - str2

str1 * str2

str1 + str2

str1 / str2

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm nào trong Python được sử dụng để thay thế một xâu con trong một xâu?

replace()

find()

split()

join()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để lấy kí tự đầu tiên trong xâu s = "Python", ta sử dụng cú pháp nào?

s[1]

s[0]

s[-1]

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?