Search Header Logo

Python

Authored by Lucky Star

Computers, Mathematics

11th Grade

Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

47 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

cho biến

x='Python test 3'

print(x[7:])

Test 3

test 3

Python test 3

on test 3

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho biến

x='Python test 3'

print(x[2:10])

Python

thon test 3

thon tes

thon test

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho biến

x='Python test 3'

print(len(x))

8

11

14

13

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cú pháp để đếm ký tự trong chuỗi?

tênbiến.count'kí tự muốn đếm'

tênbiến.find('kí tự muốn đếm')

tênbiến.count(kí tự muốn đếm)

tênbiến.count('kí tự muốn đếm')

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cú pháp tìm kí tự trong chuỗi

tênbiến.find('kí tự muốn đếm')

tênbiến.count('kí tự muốn đếm')

tênbiến.replace('kí tự muốn đếm')

tênbiến.count(kí tự muốn đếm)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a='Python test 3'

print(a.split( ))

Cho biết kết quả?

'Python','test','3'

['Python','test','3']

('Python','test','3')

['Python','test',3]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Chuyển đoạn văn bản thành chữ hoa ta dùng câu lệnh nào

tênbiến.upper()

tênbiến.lower()

tênbiến.title()

tênbiến.capitalize()

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?