Search Header Logo

Kiểm tra kiến thức lập trình Python

Authored by undefined undefined

Other

10th Grade

Used 1+ times

Kiểm tra kiến thức lập trình Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho đoạn chương trình sau: s='abcde' print(s[1:4]) Trên màn hình máy tính sẽ xuất hiện xâu:

'abc'

'bcde'

'bcd'

'cde'

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Có bao nhiêu xâu kí tự nào hợp lệ?

"346h7g84jd"

"01028475"

"hoa hau"

python

"123_@##"

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Chuỗi sau được in ra mấy lần? s = "abcdefghi" for i in range(10): if i % 4 == 0: print(s)

0

1

2

3

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả của chương trình sau là bao nhiêu? >>> s = "abcdefg" >>> print(s[2])

'c'

'b'

'a'

'd'

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Biểu thức sau cho kết quả đúng hay sai? S1 = "12345" S2 = "3e4r45" S3 = "45" S3 in S1 S3 in S2

True, False

True, True

False, False

False, True

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?