tin

tin

1st - 5th Grade

37 Qs

quiz-placeholder

Similar activities

G5. S -V Agreement QT1-9

G5. S -V Agreement QT1-9

5th Grade

38 Qs

CN 10 bài 13.14

CN 10 bài 13.14

2nd Grade

42 Qs

Ôn tập, kiểm tra kiến thức

Ôn tập, kiểm tra kiến thức

1st - 5th Grade

32 Qs

lịch sử

lịch sử

1st Grade

41 Qs

ÔN TẬP CSSK

ÔN TẬP CSSK

2nd Grade

40 Qs

gdkt

gdkt

1st - 5th Grade

42 Qs

tôi tha hoá, hoá k tha tôi

tôi tha hoá, hoá k tha tôi

1st Grade

40 Qs

địa lí

địa lí

1st Grade

34 Qs

tin

tin

Assessment

Quiz

Others

1st - 5th Grade

Practice Problem

Hard

Created by

Trang undefined

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

37 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả của chương trình sau là:

def PhepNhan(Number):

return Number * 10

print(PhepNhan(5))

5

10

15

50

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Điền vào (...) để tìm ra số lớn nhất trong 3 số nhập vào:

def find_max(a, b, c):

max = a

if ...: max = b

if ...: max = c

return max

print(find_max(1,2,3))

max > b, max > c

max < b, max < c

max = b, max = c

max != b, max != c

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Giá trị của s là bao nhiêu sau khi chạy chương trình?

Def tinhSum(a, b):

return (a + b)**2

s= tinhSum(1, 3)

print(s)

8

16

18

24

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Giá trị của x là bao nhiêu biết kết quả là 16?

def tinh(a, b, c):

if(b != 0):

return a // b + c**2

s = tinh(1, 5, x)

print(s)

3

2

1

4

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Chương trình sau bị lỗi ở dòng lệnh thứ bao nhiêu?

def add(a, b)

sum = a + b

return sum

x= int(input("Nhập số thứ nhất:"))

y= int(input("Nhập số thứ hai:"))

tong = add(x, y)

print("Tổng là: ", tong)

1

2

3

4

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Giá trị hàm f(a, b) có hai tham số a, b. Khi gọi hàm f(x, y), cặp giá trị đối số nào sau đây sẽ gây lỗi?

2, 3

10,c

"a", "b"

"a", "3"

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả của chương trình sau là bao nhiêu?

def kq():

A = [2, 4, 2, 1]

p = 1

for i in A:

p = p * i

print(p)

kq()

9

2

4

16

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?