
TRẮC NGHIỆM TIN HOC 11 EXAM1
Authored by Bằng Thanh
Computers
KG
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để khai báo danh sách a và khởi tạo danh sách a có 3 phần tử 10, 20, 30, phương án nào sau đây đúng?
a = (10,20,30)
a = {10,20,30}
a = [10,20,30]
a = 10,20,30
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để khởi tạo danh sách a gồm 50 số 0, phương án nào sau đây đúng?
a = 0…50
a = [0…50]
a = [0]*50
a = [0*50]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn lệnh sau:
Danh sách a thu được là:
[7,8,1,9]
[7,3,1,9]
[7,3,8,9]
[7,3,8,1]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để xóa tất cả các phần tử trong danh sách a, phương án nào sau đây đúng?
a.append()
a.del()
a.clear()
a.remove()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để thêm số 5 vào cuối danh sách a, phương án nào sau đây đúng?
a.append(5)
append(5)
a.insert(5)
insert(5)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để xuất phần tử cuối cùng trong danh sách a, phương án nào sau đây đúng?
print(a[len(a)])
print(len(a)-1)
print(a[len(a)-1])
print(len(a))
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để sắp xếp danh sách a theo thứ tự tăng dần, phương án nào sau đây đúng?
reverse(a)
a.reverse()
a.sort()
sort(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?