Search Header Logo

On tap TN GK2_Tin 1-

Authored by Kim Tăng

Other

10th Grade

Used 4+ times

On tap TN GK2_Tin 1-
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho biết kết quả của đoạn chương trình dưới đây:

>>>for i in range(1,6):

>>> print(i,end=" ")

12345

123456

1 2 3 4 5

1 2 3 4 5 6

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Toán tử nào dùng để kiểm tra một giá trị có nằm trong danh sách không?

in

int

range

append

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Giả sử A = [‘a’, ‘b’, ‘c’, ‘d’, 2, 3, 4]. Các biểu thức sau trả về giá trị đúng hay sai?

6 in A

‘a’ in A

True, False.

True, False.

False, False

False, True

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào sau đây xoá toàn bộ danh sách?

exit() 

clear()

remove()

del()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Python, câu lệnh nào dùng để tính độ dài của xâu s?

len(s).

length(s).

s.len().

s.length().

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

1) “123_@##”                                        2) “hoa hau”

3) “346h7g84jd”                                     4) python

5) “01028475”                                        6) 123456

5

4

6

3

7.

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

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?