
Câu hỏi về hàm trong Python
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Hard
Thu Thị
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Hàm trong Python ký hiệu là gì:
def
summary
void
function
2.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Hàm trong Python trả về giá trị là có
bắt buộc không?
Có
Không
Có hoặc không
Cả hai
3.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Cú pháp nào sau đây là đúng để định nghĩa một hàm?
def myFunction[]:
def myFunction():
function myFunction():
def myFunction{}:
4.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Khi gọi hàm, các tham số được truyền vào trong dấu gì?
()
[]
{}
<>
5.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Hàm nào sau đây sẽ trả về giá trị lớn nhất trong một danh sách?
max()
greatest()
high()
large()
6.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Hàm có thể không trả về giá trị, khi đó nó sẽ trả về giá trị gì?
0
None
""
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Khi một hàm có tham số mặc định, tham số đó sẽ có giá trị gì nếu không được cung cấp?
Giá trị của biến toàn cục
Giá trị mặc định đã được định nghĩa
Giá trị None
Không có giá trị
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?
Similar Resources on Wayground
10 questions
ASSESSING HARDWARE
Quiz
•
University
15 questions
Operating System
Quiz
•
University
10 questions
Fundamentos de Programación en Python
Quiz
•
6th Grade - University
10 questions
Thuật toán Backtracking
Quiz
•
University
12 questions
Understanding Data Structures
Quiz
•
University
10 questions
Quiz CG - Code V2
Quiz
•
University
12 questions
Binary Search
Quiz
•
University
10 questions
CHAPTER 2: SYSTEM ANALYSIS AND DESIGN
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University
