
Lớp 10-Kiểm tra kiến thức lập trình Python
Authored by Linh Mỹ
Science
10th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào được dùng để nhập dữ liệu từ người dùng?
input()
raw_input()
scan()
read()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh input() trả về kiểu dữ liệu gì?
Int
Float
Str
Bool
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn code sau sẽ hiển thị điều gì? >>> x = 5 >>> y = "5" >>> print (x+y)
55
10
Đoạn code lỗi
5 "5"
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh được viết đúng là:
if x > 5 print("X lớn hơn 5")
if x > 5: print("X lớn hơn 5")
if x > 5 then: print("X lớn hơn 5")
if x > 5 {print("X lớn hơn 5")}
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn code sau là: >>> x = 10 >>> if x > 5: print("Lớn hơn 5") else: print("Không lớn hơn 5")
Lớn hơn 5
Không lớn hơn 5
Lỗi chương trình
Không có kết quả
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn code sau là: >>> i = 0 >>> while i < 3: Print(i, end = " ") i = i + 1
0 1 2
1 2 3
Đoạn code lỗi
3 2 1
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dùng lệnh nào để dừng vòng lặp while?
pass()
continue()
break()
exit()
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?