Search Header Logo

tin10

Authored by Ha Nguyen

Fun

1st - 3rd Grade

Used 1+ times

tin10
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Xâu trong Python là

1 giá trị bất kì

Một dãy các số

1 dãy các kí tự

1 kí tự

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

def Nhap_xau() :

msg = input( "Nhập một xâu :

renturn msg

Quan sát hàm Nhap_xau(), trong đó tham số của hàm là

input

Ký tự

0 có tham số

msg

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

cho biết kq CT sau:

s= ' LOP 10B '

s1 = ' '

for ch in s :

s1=ch+s1

print( s1 )

LOP

10B

LOP 10B

B01 POL

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh s2 in s1 có ý nghĩa j

Tìm 1 phần tử có giá trị bất kì trg xâu

trả lại giá trị false nếu xâu s2 kh là xâu con của s1

Trả lại giá trị true nếu xâu s2 kh là xâu con của s1

Tìm xâu con của xâu s2

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho đoạn CT:

A=[2,4,5,7,9,12]

A.remove(2)

print(A)

[4,5,7,9,12]

[4,5,7,9,2,12]

7

[2,4,7,9,12]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho bt Kq:

A=[i for i in range(5)]

print(A)

[5]

[1,2,3,4,5]

[0,1,2,3,4]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm nào sau đây ép kiểu số nguyên cho biến y

print(y)

round(y)

type(y)

int(y)

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?