Đề kiểm tra ve Xau khoi 10-2022-2023

Đề kiểm tra ve Xau khoi 10-2022-2023

11th Grade

20 Qs

quiz-placeholder

Similar activities

Ôn tập Python

Ôn tập Python

9th - 12th Grade

15 Qs

Lop 11 Kiem tra 15P Bo sung diem

Lop 11 Kiem tra 15P Bo sung diem

11th Grade

20 Qs

HK2- Thi Tin Học

HK2- Thi Tin Học

11th Grade

24 Qs

tin 1-20

tin 1-20

11th Grade

20 Qs

HTML and CSS

HTML and CSS

9th - 12th Grade

20 Qs

Kiểu dữ liệu xâu kí tự trong Python

Kiểu dữ liệu xâu kí tự trong Python

10th Grade - University

18 Qs

Tin học - Bài 25

Tin học - Bài 25

10th Grade - University

22 Qs

KIỂU XÂU - PYTHON 11

KIỂU XÂU - PYTHON 11

11th Grade - University

22 Qs

Đề kiểm tra ve Xau khoi 10-2022-2023

Đề kiểm tra ve Xau khoi 10-2022-2023

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Bich Tran

Used 11+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Cho đoạn chương trình sau:

>>> s='1234%^^%TFRESDRG'

>>> s1='abc'

>>> len(s+s1)

Cho biết kết quả(độ dài) đoạn chương trình trên là bao nhiêu?

16

17

18

19

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Biểu thức sau cho kết quả đúng hay sai?

>>>S1 = “12345”

>>>S2 = “3e4r45”

>>>S3 = “45”

Hãy cho biết kết quả khi thực hiện

>>>S3 in S1

>>>S3 in S2

True, False.

True, True.

False, False.

False, True.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

s1=['a','b','c','d']

s2=''.join(s1)

s3='abcd4bcd'.find(s2)

print(s3)

0

1

2

3

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Phép nào được sử dụng để ghép hai xâu kí tự lại với nhau?

+

-

*

/

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Cho đoạn chương trình trong Pyhton:

str1 = "Hello"

str2 = "world"

str3 = str1 + " " + str2

print(str3)

Hãy cho biết kết quả là gì?

"Hello  world"

"Helloworld"

" world  Hello”

"Hello"

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Cho đoạn chương trình trong Pyhton:

a=["Hello", "world"]

s="  ".join(a)

print(s)

Hãy cho biết kết quả là gì?

"Helloworld"

"Hello, world"

"Hello world"

"Hello"

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Cho hai xâu "Hello" và "world". Kết quả của phép "Hello" + "world" là gì?

"HelloWorld"

"Hello World"

"Hello world"

"Helloworld"

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?