
Review Python basic

Quiz
•
Computers
•
University
•
Easy
Thanh Lê
Used 1+ times
FREE Resource
60 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cách nào sau đây là cách hợp lệ để bắt đầu định nghĩa hàm trong Python?
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 Wayground
62 questions
Trắc nghiệm nhập môn OOP

Quiz
•
University
65 questions
Ôn tập KTCK2 Tin 10

Quiz
•
10th Grade - University
60 questions
Tin học Chương 1

Quiz
•
University
60 questions
TIN 7 Bài 1,2,3

Quiz
•
7th Grade - University
63 questions
test mask

Quiz
•
University
62 questions
ÔN TẬP Giữa Kỳ Môn Tin Học 8

Quiz
•
7th Grade - University
57 questions
TIN 11CD- ÔN TẬP CUỐI HK1

Quiz
•
University
60 questions
EXCEL

Quiz
•
University - Professi...
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade