
Tin 10. Kiểu danh sách
Authored by Lan Trịnh
Computers
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
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, kiểu dữ liệu nào sau đây được sử dụng để lưu trữ một tập hợp các phần tử có thứ tự và có thể thay đổi ?
Int
List
Dictionary
float
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Danh sách trong Python được khai báo bằng cặp ký hiệu nào?
{ }
[ ]
( )
/* */
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho danh sách
A = [10, 20, 30, 40]
Lệnh nào dưới đây dùng để truy xuất (tham chiếu) tới phần tử có giá trị 30
A[30]
A[0]
A[2]
A[4]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào dùng để tính độ dài của danh sách A?
length(A)
en(A)
Long(A)
Append(A)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho danh sách A=[0,2,2,1,5,4] kết quả khi có lệnh
>>>len()
2
3
5
6
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để xóa phần tử trong danh sách A ta dùng lênh nào?
len (A)
del A[1]
Append()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào dùng để thêm một phần tử vào cuối danh sách?
append()
insert()
extend()
add()
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?