
Kiến thức lập trình Python cơ bản
Authored by Hà Đức Trung (TDS-OP)
Other
8th Grade

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
Câu lệnh print trong Python được sử dụng để làm gì?
Lưu trữ giá trị vào biến.
Xóa giá trị khỏi bộ nhớ.
Thực hiện phép toán số học.
In ra giá trị hoặc thông tin lên màn hình.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kiểu dữ liệu int trong Python đại diện cho loại dữ liệu nào?
Số nguyên (integer)
Danh sách (list)
Số thực (float)
Chuỗi ký tự (string)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để chuyển đổi một số thực (float) thành số nguyên (int) trong Python?
Sử dụng int(x) để chuyển đổi số thực x thành số nguyên.
Sử dụng round(x) để chuyển đổi số thực x thành số nguyên.
Sử dụng float(x) để chuyển đổi số thực x thành số nguyên.
Sử dụng str(x) để chuyển đổi số thực x thành số nguyên.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh input trong Python có chức năng gì?
Câu lệnh input trong Python có chức năng nhận dữ liệu từ người dùng.
Câu lệnh input trong Python có chức năng thực hiện phép toán.
Câu lệnh input trong Python chỉ nhận dữ liệu từ file.
Câu lệnh input trong Python dùng để xuất dữ liệu ra màn hình.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kiểu dữ liệu float trong Python có thể chứa những giá trị nào?
Các giá trị số thực, bao gồm số dương, số âm, số 0, và số thập phân.
Chỉ chứa số nguyên âm
Chỉ chứa số nguyên dương
Chỉ chứa ký tự và chuỗi
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để in ra một chuỗi kết hợp với một số nguyên trong Python?
Sử dụng f-string hoặc phương thức format để kết hợp chuỗi và số nguyên.
Sử dụng toán tử + để kết hợp chuỗi và số nguyên.
Chỉ cần in ra số nguyên mà không cần chuỗi.
Sử dụng phương thức append để thêm số nguyên vào chuỗi.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cách nào để chuyển đổi một chuỗi (string) thành số thực (float) trong Python?
Use str(float) to convert a float to a string.
Use float.parse(string) to convert a string to a float.
Use float(string) to convert a string to a float.
Use int(string) to convert a string to a float.
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
13 questions
Lunar New Year
Quiz
•
7th - 11th Grade
15 questions
Chromebook Basics
Quiz
•
6th Grade - University
11 questions
Câu hỏi về máy tính
Quiz
•
3rd Grade - University
15 questions
General Knowledge - Music
Quiz
•
1st Grade - Professio...
11 questions
thành phố đà nẵng
Quiz
•
KG - Professional Dev...
11 questions
Coding Basics
Quiz
•
8th Grade
15 questions
Pixar Movies
Quiz
•
7th - 12th Grade
15 questions
ÔN TẬP TIẾNG VIỆT
Quiz
•
8th 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 Other
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
15 questions
Making Inferences
Quiz
•
7th - 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
10 questions
SOL REVIEW 4: Organizational Patterns
Quiz
•
6th - 8th Grade
12 questions
Final Figurative Language Review
Lesson
•
6th - 8th Grade
8 questions
8th U5L20 Volume of Sphere
Quiz
•
8th Grade