Xâu kí tự

Xâu kí tự

10th Grade

10 Qs

quiz-placeholder

Similar activities

Cưn simp trúa🤡✌

Cưn simp trúa🤡✌

1st Grade - Professional Development

10 Qs

HTML тілі

HTML тілі

10th Grade

9 Qs

Soal Psikotes Kemampuan Verbal

Soal Psikotes Kemampuan Verbal

9th - 12th Grade

10 Qs

HTML CodeHS Lessons 1-5 Review

HTML CodeHS Lessons 1-5 Review

6th - 12th Grade

15 Qs

Matematyka

Matematyka

4th Grade - University

10 Qs

Quiz - Vectors (Magnitude & Direction)

Quiz - Vectors (Magnitude & Direction)

9th - 12th Grade

10 Qs

Bài 16: NNLT Python

Bài 16: NNLT Python

10th Grade

10 Qs

Tin học

Tin học

9th - 12th Grade

12 Qs

Xâu kí tự

Xâu kí tự

Assessment

Quiz

Other

10th Grade

Medium

Created by

Phạm Thị Hằng

Used 16+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để tính độ dài của xâu S ta sử dụng lệnh

S.len()

len(S)   

length(S)

S.length()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho biết kết quả sau khi thực hiện lệnh len(“thi tin”)

10

9

8

7

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho biết kết quả của đoạn chương trình sau:

S=”Thi giữa kì II”

print(S[2])

g

ư

i

a

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Biểu thức kiểm tra xâu 1 có nằm trong xâu 2

<xâu 1> in <xâu 2> 

<xâu 1> on <xâu 2>

<xâu 2> in <xâu 1>

<xâu 2> on <xâu 1>

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để tìm vị trí xuất hiện của một xâu trong xâu khác ta sử dụng phương thức

len()

append()

split()

find()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Xâu rỗng là xâu có độ dài bằng

1

2

3

0

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để tách xâu thành một danh sách ta sử dụng phương thức

len()

append()

split()

find()

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?