
Kiểm tra kiến thức Python
Quiz
•
Science
•
10th Grade
•
Medium
Minh Lê
Used 1+ times
FREE Resource
Enhance your content
20 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.
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?
Similar Resources on Wayground
20 questions
Forensic Science Review
Quiz
•
10th - 12th Grade
20 questions
BT Đồng vị (cơ bản) - Lớp 10
Quiz
•
10th Grade
15 questions
Ai nhanh nhất
Quiz
•
1st Grade - University
15 questions
Python Skills
Quiz
•
1st Grade - Professio...
15 questions
Test Chân Thân
Quiz
•
1st Grade - Professio...
20 questions
Introduction to Forensic Science
Quiz
•
10th - 12th Grade
19 questions
Bài 5: GIÁ THỂ TRỒNG CÂY
Quiz
•
10th Grade
15 questions
KIỂM TRA 15P HK2 LẦN 1
Quiz
•
10th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Science
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
10 questions
Exploring the States of Matter
Interactive video
•
6th - 10th Grade
16 questions
Macromolecules Quiz
Quiz
•
10th Grade
10 questions
Exploring Biomes and Ecosystems for Kids
Interactive video
•
6th - 10th Grade
10 questions
Newton's Laws in NFL Action
Interactive video
•
6th - 10th Grade
15 questions
Carrying Capacity and Limiting Factors
Quiz
•
9th - 12th Grade
20 questions
Characteristics of Life
Quiz
•
10th Grade
10 questions
Exploring Thermal Energy and Temperature Concepts
Interactive video
•
6th - 10th Grade