Search Header Logo

Bài Test - b12(Dữ liệu Xâu) lớp 10A

Authored by THU ANH

Other

10th Grade

Used 3+ times

Bài Test - b12(Dữ liệu Xâu) lớp 10A
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 • 1 pt

Trong Python, kết quả của câu lệnh

"AA"+"bb"+"CC" là gì?

'AAbbCC'

'AABBCC'

'A2b2C2'

'2AbC'

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho xâu S="Hoàng Nam". Hàm len(S) cho kết quả là?

2

11

9

10

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho xâu S="Nho Quan - Ninh Bình".

Hàm S.count("N") cho kết quả là bao nhiêu?

5

2

3

4

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho xâu S=" Nho Quan-Ninh Bình"

Hàm S.count("h",1,12) cho kết quả là?

0

3

1

2

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho xâu y="Hoàng-Nam".

Trong Python, kết quả của câu lệnh print(y[4:7]) là?

ng

ng-Nam

g-Nam

g-N

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho xâu S="Nho Quan-Ninh Bình".

Trong Python, kết quả câu lệnh print(len(S)) là?

20

18

16

15

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho xâu S="Trâu ơi ta bảo trâu này, trâu ra ngoài ruộng trâu cày với ta"

Trong Python, kết quả câu lệnh print(S.count("trâu")) là gì?

1

2

3

4

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?