Cách nào sau đây là cách hợp lệ để bắt đầu định nghĩa hàm trong Python?
Python CT con

Quiz
•
Computers
•
10th - 12th Grade
•
Medium
Phamthi Thuy
Used 74+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
def some_function()
function some_function()
function some_function():
def some_function():
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau in ra kết quả gì?
8
5
21
18
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau in ra kết quả gì?
13
21
5
Không in gì
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh gọi hàm nào sau đây là đúng?
x=square( )
x=Square(4):
x=square(5)
print(square())
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, để khai báo hàm ta sử dụng từ khóa nào sau đây?
A. procedure
B. function
C. def
D. return
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh return dùng để?
Kết thúc vòng lặp
Trả lại giá trị
Kết thúc vòng lặp và trả lại giá trị
Kết thúc hàm và trả lại giá trị
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Mảng 1 chiều

Quiz
•
8th - 11th Grade
20 questions
2324tx6

Quiz
•
9th - 12th Grade
10 questions
Trắc nghiệm: Bài 16-Ngôn ngữ lập trình bậc cao và Python

Quiz
•
10th Grade
10 questions
Kiểm tra 15 phút Tin học 10 - DA - Bài 26,27,28

Quiz
•
10th Grade - University
10 questions
Bài 26-Hàm trong Python

Quiz
•
10th Grade
10 questions
Tin học 10 Bài 27. Tham số của hàm

Quiz
•
10th Grade
10 questions
TRẮC NGHIỆM CHƯƠNG TRÌNH CON

Quiz
•
11th Grade
10 questions
Chương trình con KNTT

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University