
BÀI 26: HÀM SỐ PYTHON
Quiz
•
Information Technology (IT)
•
12th Grade
•
Hard
quizzizpro5 nam
FREE Resource
Student preview

76 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình: def Kieu(Number): return type(Number) print(Kieu(5.0)) Chương trình trả về kết quả nào sau đây?
5.
float.
Chương trình bị lỗi.
int.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình: def PhepNhan(Number): return Number * 10 print(PhepNhan(5)) Chương trình trả về kết quả nào sau đây?
5.
10.
Chương trình bị lỗi.
50.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm trên có chức năng gì sau đây?
Trả về tổng của hai số a và b được truyền vào.
Trả về hai giá trị a và b.
Tính tổng hai số a và b.
Tính tổng hai số a và b và hiển thị ra màn hình.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cuối dòng đầu tiên của định nghĩa hàm phải có dấu gì sau đây?
Dấu ':'
Dấu ';'
Dấu '.'
Dấu ','
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ý nào sau đây là hàm trong Python?
str()
in()
leng()
Floo.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho chương trình: def ham(): print(country) ham("Sweden") ham("India") ham("Brazil") Chương trình trả về kết quả nào sau đây?
Sweden, India, Brazil.
Sweden, Brazil, India.
Sweden, Brazil.
Chương trình bị lỗi.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào sau đây được dùng để tạo xâu in hoa từ toàn bộ xâu hiện tại?
lower()
len()
upper()
srt()
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
16 questions
Subject pronouns in Spanish
Quiz
•
9th - 12th Grade
14 questions
Model and Solve Linear Equations
Quiz
•
9th - 12th Grade
20 questions
Food Chains and Food Webs
Quiz
•
7th - 12th Grade