Search Header Logo

Tin 10_ky2 tx3

Authored by tin tuấn

Computers

9th - 12th Grade

Used 2+ times

Tin 10_ky2 tx3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong ngôn ngữ lập trình Python, để in ra màn hình ta sử dụng lệnh:

write()

print()

cout<<

read()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quan sát chương trình bên và cho biết nó sai ở dòng lệnh nào

a = int(input(“Nhập cạnh a = “))                                         (1)

b = int(input(“Nhập cạnh b = “))                                        (2)

s = (a+b)*2                                                                           (3)

Print(“Chu vi hình chữ nhật = “,s)                                      (4)

1

2

3

4

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để biết kích thước của danh sách ta dùng hàm:

type()

len()

sort()

pop()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho đoạn CT sau và chỉ ra đâu là tham số

def tong(a,b):

return a+b

x,y = 5,7

tong(x,y)

a,b

x,y

a

y

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đâu là cú pháp gọi hàm trong Python

<tên hàm>(<danh sách biến>)

<tên biến>(<danh sách biến>)

<tên hàm>(<danh sách tham số hàm>)    

<tên biến>(<danh sách tham số hàm>)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đâu là cách gọi hàm đúng:

chuvi{m,n}

chuvi(6;8)

chuvi(x,y)

chuvi[x,y]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào là lệnh trả lại giá trị trong hàm?

return

def     

while

for

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?