
Ôn tập Tin học
Authored by Ngen Kyn
Computers
9th - 12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
90 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
Đâu là kiểu dữ liệu trong Python
A. int, float, type, list
B. int, float, bool, string, list
C. input, int, float
D. print, int, float, bool,string
2.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
Cho câu lệnh x=float(input('nhập vào một số:')). Giả sử người dùng nhập vào từ bàn phím giá trị là 12 thì biến x sẽ nhận giá trị là bao nhiêu?
A. x có giá trị là xâu ký tự '12'
B. x có giá trị là số thực 12.0
C. x có giá trị là số nguyên 12
D. x có giá trị là số thực 12.00
3.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
Biểu thức nào sau đây là biểu thức logic?
A. x=12
B. x=x+1
C. x=>1 and x<=10
D. not(x>=5)
4.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Cho đoạn lệnh sau đây
x,y=10,6
if x%y==0:
print(x//y)
else:
print(x%y)
Hãy cho biết kết quả xuất ra màn hình sau khi đoạn lệnh trên được thực hiện?
10
6
4
1
5.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Lệnh nào sau đây là hợp lệ?
for in range(10):
print(i*i)
for in range(10):
print(i*i)
for i in range(10)
print(i*i)
for i in range(10):
print(i*i)
6.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Quan sát đoạn chương trình sau.
s=0
for i in range(1,6):
if i%2!=0:
s=s+i
print(s)
Hãy cho biết kết quả của biến s đc xuất ra màn hình có giá trị bao nhiêu?
0
9
10
12
7.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Lệnh nào sau đây là hợp lệ?
k=2
while k=50:
print(k,end=" ")
k=k+3
k=2
while k<50:
print(k,end=" ")
k=k+3
k=2
while k<50:
print(k,end=" ")
k=k+3
k=2
while k<50
print(k,end=" ")
k=k+3
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?