Search Header Logo

Ôn tập HK2-Tin 10

Authored by Luyến Thị

Computers

10th Grade

Used 2+ times

Ôn tập HK2-Tin 10
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho s = "Truong THPT VTS" thì hàm len(s) bằng bao nhiêu?

15

14

16

13

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Từ khóa dùng để KHAI BÁO HÀM là?

int

def

float

input

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Chỉ số của kí tự đầu tiên của xâu st là?

0

1

len(st)-1

len(st)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho s = 'abcdab', để in xâu con 'ab' của s ra màn hình, lệnh nào sai?

print(s[ : 2])

print(s[4 : ])

print(s[0 : 2])

print(s[ : 3])

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho s = 'abcdabcd', hàm s.find('ab') cho kết quả là?

0

4

1

0 4

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Xâu rỗng s có độ dài bằng bao nhiêu?

len(s)

len(s)-1

0

1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm có thể trả về bao nhiêu giá trị?

Không trả về gì cả

Một giá trị

Nhiều giá trị

Tối đa 10 giá trị

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?