
Đề Khảo Sát Tốt Nghiệp THPT
Authored by huy hoang
Other
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
32 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, cách nào sau đây được sử dụng để kiểm tra xem một biến 'x' có khác 5 hay không?
if x != 5:
if x <> 5:
if x not 5:
if x is not 5:
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để kiểm tra xem một biến 'number' có là số chẵn hay không?
if number.even():
if number % 2 == 0:
if number.is_even():
if number == even:
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Số thực được ký hiệu là gì:
int
in
float
on
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình trên là chương trình tính tổng các số chẵn từ 1 đến n. n là số nguyên được nhập từ bàn phím. Dấu ......... ở dòng 5 còn thiếu là:
s=s+i
s=s+1
s=s+n
s=s+(n+1)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để nhập số từ bàn phím ta sử dụng câu lệnh gì:
print()
input()
int()
float()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho danh sách A = [1, 3, 5, 8, 9]. Để hiển thị độ dài danh sách ta dùng câu lệnh nào?
Del(A)
A[len]
len(A)
A(Del)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho danh sách A = [1, 3, 5, 8, 9]. Để Xóa phần tử cuối cùng ta sử dụng lệnh nào
del (A[len(A)-1])
del A[n]
del (A[len(A)])
del A[n-1]
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?