kiểu xâu

kiểu xâu

11th Grade

20 Qs

quiz-placeholder

Similar activities

11C9-1

11C9-1

11th Grade

20 Qs

BÀI TẬP

BÀI TẬP

11th Grade

18 Qs

Tin 11_bài 11,12

Tin 11_bài 11,12

11th Grade

20 Qs

COMPOSITION AND DECOMPOSITION

COMPOSITION AND DECOMPOSITION

11th Grade - University

15 Qs

IT Essentials Ch 7 Review - Laptops and Mobile Devices

IT Essentials Ch 7 Review - Laptops and Mobile Devices

9th - 12th Grade

20 Qs

Kiểu xâu

Kiểu xâu

11th Grade

20 Qs

ինֆորմատիկա 11-րդ բնագիտամաթեմատիկական հոսք

ինֆորմատիկա 11-րդ բնագիտամաթեմատիկական հոսք

11th Grade

20 Qs

TIN 11 BÀI 12 KIỂU XÂU

TIN 11 BÀI 12 KIỂU XÂU

11th Grade

21 Qs

kiểu xâu

kiểu xâu

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Ngô T. Phương Lan

Used 7+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

1

2

0

3

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để biết độ dài của xâu s ta dùng hàm:

str(s)

len(s)

length(s)

s.len()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho xâu s1=’ab’, xâu s2=’a’ với cú pháp: s2 in s1 cho kết quả là:

true

True

False

false

4.

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()

5.

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()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho xâu st =’abc’, xâu st có độ dài là:

1

2

3

4

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để khởi tạo xâu s rỗng ta dùng lệnh:

s=’0’

s=“”

s=[]

s=0

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?