Search Header Logo

KT cuối kỳ HK2-Khối 10

Authored by linh nguyen

Special Education

KG

Used 1+ times

KT cuối kỳ HK2-Khối 10
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

24 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

for i in range (10):

<khối lệnh>

Hãy cho biết biến i đi từ đâu đến đâu?

đi đến 10 dừng

từ 0 đến 9

từ 0 đến 10

từ 1 đến 10

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

for i in range (10):

print('hello')

Xuất ra màn hình bao nhiêu câu Hello?

10

9

8

7

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

for i in range (1,10):

print('hello')

Câu lệnh trên xuất ra màn hình bao nhiêu câu hello?

10

9

8

7

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Cú pháp dùng để khai báo tên hàm?

def tên_hàm(tham số):

<khối lệnh>

deff tên_hàm(tham số):

<khối lệnh>

def tên_hàm(tham số)

<khối lệnh>

def (tham số):

<khối lệnh>

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Đếm số lần xuất hiện xâu con b trong xâu a, ta ghi?

a.count(b)

b.replace(a)

find(a)

delete(b)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tìm vị trí xuất hiện lần đầu tiên của xâu x trong xâu y, ta ghi?

y.find(x)

x.count(y)

replace(x)

pop(y)

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Để thay thế xâu con x1 bằng xâu con x2 trong xâu y, ta ghi?

y.replace(x1,x2)

find(x1,x2)

count.(x1,x2)

insert(x1,x2)

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?