Search Header Logo

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

Authored by Bich Tran

Computers

11th Grade

Used 11+ times

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

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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"

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?