Đề 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

Python basics

Python basics

9th - 12th Grade

16 Qs

Html Beginner

Html Beginner

6th - 11th Grade

19 Qs

Python Basics Review (TSK)

Python Basics Review (TSK)

9th - 12th Grade

20 Qs

Lop 11a7 Kiem tra 15p Bo sung diem

Lop 11a7 Kiem tra 15p Bo sung diem

11th Grade

20 Qs

KTTX k10

KTTX k10

11th Grade

20 Qs

Python Basics (CodeHS)

Python Basics (CodeHS)

7th - 12th Grade

20 Qs

Python Basics Quiz

Python Basics Quiz

9th - 12th Grade

15 Qs

kiểm tra kiểu xâu

kiểm tra kiểu xâu

9th - 12th Grade

20 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?