
10_Trắc nghiệm bài 26-Hàm trong Python
Authored by Doan Hoa
Education
9th - 12th Grade
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Chọn phát biểu sai trong các phát biểu sau:
Lệnh print() thực hiện việc in ra màn hình.
Lệnh input() thực hiện yêu cầu nhập vào một biểu thức, số hay một xâu bất kì.
Lệnh type() trả lại kiểu dữ liệu của biểu thức trong ngoặc.
Lệnh str() chuyển đối tượng đã cho thành chuỗi.
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Phát biểu đúng trong các phát biểu sau là:
Lệnh float() trả về số nguyên từ số hoặc chuỗi biểu thức.
Có ít hàm có sẵn được xây dựng trong python.
Lệnh bool() chuyển một giá trị sang Boolean.
Lệnh input() có thể nhập vào một số nguyên mà không cần chuyển đổi kiểu.
3.
FILL IN THE BLANK QUESTION
1 min • 10 pts
Cho định nghĩa hàm sau:
>>>def PhepNhan(Number):
return Number * 10
Tên hàm là:...............................
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Cho định nghĩa hàm sau:
>>>def PhepNhan(Number):
return Number * 10
Hàm trên được định nghĩa với bao nhiêu tham số?
0
1
2
3
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Hàm sau có chức năng gì?
>>> def sum(a, b):
return a+b
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.
Trả về hai số a và b được truyền vào
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Hàm len("Chào") cho giá trị bằng bao nhiêu?
3
4
5
6
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Kết quả của hàm sau là gì?
>>> int(7.23)
7.23
7
7.2
7,23
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
15 questions
KESEIMBANGAN DAN STRUKTUR PASAR
Quiz
•
10th Grade
12 questions
GDCD 12- Bài 2
Quiz
•
12th Grade
20 questions
Photoshop Certification Advanced
Quiz
•
9th - 12th Grade
20 questions
Công nghệ 3 - I
Quiz
•
3rd Grade - University
20 questions
Famous Cars
Quiz
•
9th - 12th Grade
19 questions
Sport Science - Fitness
Quiz
•
10th Grade
20 questions
Ulangan Jurnal Khusus
Quiz
•
10th - 12th Grade
12 questions
CN9 Bài 3 Đồng hồ đo điện
Quiz
•
9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Education
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
23 questions
TSI Math Vocabulary
Quiz
•
10th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
15 questions
Graphing Inequalities
Quiz
•
7th - 9th Grade
10 questions
Cell Organelles and Their Functions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Combine Like Terms and Distributive Property
Quiz
•
8th - 9th Grade