
10A1-khởi động bài 15- Thực hành kiểu list
Authored by Thu Nguyễn
Information Technology (IT)
10th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Xóa phần tử đứng ở vị trí i trong danh sách a và đưa ra phần tử này ta dùng hàm?
a.pop(i)
a.delete(i)
delete(a,i)
i.pop(a)
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Cách khai báo biến mảng sau đây, cách nào sai?
a = [1, 2, 3]
a = [int(x) for x in input().split()]
a = [x for x in range(3)]
a = list(3)
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Để bổ sung phần tử x vào cuối danh sách a ta sử dụng hàm?
a.append(x)
x.append(a)
append(x)
append(a,x)
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Cho danh sách a =['10A1', -23, 9, 'Liên Hà'].
a[1] có giá trị bằng bao nhiêu?
'10A1'
-23
1
0
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Trong kiểu dữ liệu danh sách, các phần tử được đánh chỉ số bắt đầu từ bao nhiêu?
0
1
2
không có chỉ số
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?