Xâu kí tự

Xâu kí tự

10th Grade

10 Qs

quiz-placeholder

Similar activities

fnaf

fnaf

1st - 12th Grade

14 Qs

Guess the anime

Guess the anime

KG - Professional Development

6 Qs

thành phố đà nẵng

thành phố đà nẵng

KG - Professional Development

11 Qs

한글맞춤법

한글맞춤법

10th Grade

10 Qs

Hái lộc đầu năm

Hái lộc đầu năm

10th Grade

15 Qs

Cars

Cars

7th - 12th Grade

10 Qs

Compound Interest

Compound Interest

10th - 11th Grade

10 Qs

Beyblade joe

Beyblade joe

1st Grade - Professional Development

10 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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?