Search Header Logo

Bài 24: Luyện tập

Authored by Thầy Thành Toán

Computers

10th Grade

Used 1+ times

Bài 24: Luyện tập
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 • 5 pts

Xâu ký tự trong Python được biểu diễn bằng kiểu dữ liệu nào?

list

str

char

tuple

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Trong Python, kết quả của biểu thức sau là gì?

s = "Hello"

print(s[1])

H

e

l

o

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Phương án nào sau đây là câu lệnh dùng để đếm số kí tự của xâu?

len()

split()

join()

print()

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Cho đoạn code sau:

s = "Python Programming"

print(s[7:18])

Kết quả in ra là gì?

"Programming"

"Python Prog"

"rogramming"

"thon Progr"

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Cho xâu a = "Tin học 10 Kết nối tri thức". Câu lệnh "b" in a cho kết quả là

Yes

No

False

True

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Phương án nào sau đây nêu đúng số kí tự của xâu "Tin học 10"?

8

3

12

10

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Xâu kí tự trong Python là dãy các kí tự nào sau đây?

UTF-16

Unicode

UTF-8

ASCII

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?