
bài 26
Authored by Thiên Trần
Information Technology (IT)
10th Grade
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Từ khóa nào dùng để khai báo hàm trong Python?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu nào sau đây là một định nghĩa hàm hợp lệ trong Python?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giá trị trả về của đoạn mã sau là bao nhiêu?
def tru(a, b):
return a - b
print(tru(10, 4))
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào sau đây dùng để gọi hàm có tên là `giai_thua`?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Điều gì xảy ra nếu không có lệnh `return` trong hàm?
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Kết quả của `luy_thua(3)` là gì?
def luy_thua(x):
return x * x
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn mã nào sau đây định nghĩa hàm không có tham số?
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?