
Kiểm tra kiến thức Python
Authored by Trùng Dương Đặng
Design
Professional Development
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau là: def Kieu(Number): return type(Number); print(Kieu (5.0))
5.
float.
Chương trình bị lỗi.
int.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau là: def PhepNhan(Number): return Number * 10; print(PhepNhan(5))
5.
10.
Chương trình bị lỗi.
50.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm sau có chức năng gì? def sum(a, b): print("sum = " + str(a + b))
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ì?
Dấu ':'.
Dấu ';'.
Dấu '.'.
Dấu ',.'
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đâu là hàm trong Python?
str().
int().
len().
Cả A, B, C đều đúng.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau bị lỗi ở dòng lệnh thứ bao nhiêu? def add(a, b): x = a + b return(x) add(1, 2) add(5, 6)
2.
3.
1.
Không bị lỗi.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau hiển thị kết quả như thế nào? def ham(): print(country) ham("Sweden") ham("India") ham("Brazil")
Sweden, India, Brazil.
Sweden, Brazil, India.
Sweden, Brazil.
Chương trình bị lỗi.
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
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 Design
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...