
Hàm trong Python
Authored by Thúy Trần
Education
10th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phát biểu nào sau đây sai?
len(): tham số là danh sách hoặc xâu kí tự và trả về giá trị kiểu số thực.
float(): tham số là một xâu kí tự hoặc số nguyên và trả về giá trị số thực.
str(): tham số là các kiểu dữ liệu khác nhau và trả về xâu kí tự.
len(): tham số là danh sách hoặc xâu kí tự và trả về giá trị kiểu số nguyên.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp thiết lập hàm có trả lại giá trị là:
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp thiết lập hàm không trả lại giá trị là:
4.
FILL IN THE BLANK QUESTION
30 sec • 5 pts
Đoạn chương trình sau in ra màn hình kết quả là gì?
a=[2,5,3,7,8]; print(len(a))
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau in ra kết quả gì?
8
5
21
18
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Kết quả sau khi thực hiện chương trình sau là gì?
a=[3,5,78,2,43,2,1,2,7]
print(a.count(2))
2
3
4
5
7.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Đâu là cách viết hàm đúng trong Python?
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
Tin học 10
Quiz
•
10th Grade
12 questions
KHOI 11. GIAO DUC VÀ DAO TAO
Quiz
•
9th - 12th Grade
10 questions
GD Kinh tế và Pháp luật 10
Quiz
•
9th - 12th Grade
10 questions
Bài tập trắc nghiệm Tiêu dùng thông minh
Quiz
•
10th Grade
10 questions
Bài 4: Giao thức mạng
Quiz
•
10th Grade - University
10 questions
Ce știm despre Internet?
Quiz
•
4th Grade - University
10 questions
Độc Tiểu Thanh kí
Quiz
•
9th - 12th Grade
15 questions
ÔN TẬP NGỮ VĂN 9
Quiz
•
9th - 10th Grade
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 Education
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
20 questions
Cell Organelles
Quiz
•
10th Grade
25 questions
Complementary and Supplementary Angles
Quiz
•
7th - 10th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
10 questions
Exploring the Layers of the Earth
Interactive video
•
6th - 10th Grade