
Câu hỏi về hàm trong Python

Quiz
•
Information Technology (IT)
•
University
•
Hard
Thu Thị
Used 2+ times
FREE Resource
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ị
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
[Quiz] Python Function

Quiz
•
University
15 questions
Quiz bộ so sánh tương tự và bộ chuyển đổi ADC

Quiz
•
University
15 questions
Bài 27

Quiz
•
10th Grade - University
15 questions
Session 03: Input & Output in C Programming Language

Quiz
•
University
15 questions
Minigame CLB Tin học 20/10

Quiz
•
University
14 questions
Web_FE_BASIC_SS17

Quiz
•
University
15 questions
Quiz KTCB & fun

Quiz
•
University
7 questions
DB01-Hệ Quản Trị Cơ Sở Dữ Liệu Quan Hệ

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University