
Câu hỏi về lập trình Python
Authored by hue dang
Computers
10th Grade
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Toán tử nào dùng để kiểm tra một giá trị có nằm trong danh sách không?
in
int
range
append
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Kết quả của chương trình sau là gì?
1 2 3 4 5 6
1 2 3 4 5 6 5
1 2 3 4 5
2 3 4 5 6 5
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Ngoài việc kết hợp lệnh for và range để duyệt phần tử trong danh sách, có thể sử dụng câu lệnh nào khác?
int
while
in range
in
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Giả sử A = ['a', 'b', 'c', 'd', 2, 3, 4]. Các biểu thức sau 6 in A; 'a' in A
trả về giá trị đúng hay sai?
True, False
True, False
False, True
False, False
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Lệnh nào sau đây xoá toàn bộ danh sách?
clear()
exit()
remove()
del()
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Giả sử A=[5,6,7,8,9,10,11,12]. Biểu thức (3+4-15+18//4) in A trả về giá trị đúng sai?
True
False
Không xác định
Câu lệnh bị lỗi
7.
FILL IN THE BLANKS QUESTION
45 sec • 1 pt
Sau khi thực hiện câu lệnh sau danh sách A nhận kết quả gì?
(a)
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?