
Kiểu dữ liệu danh sách (Khối 10)
Authored by Kiều Nguyễn
Computers
10th Grade
Used 3+ 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
Đối tượng dưới đây thuộc kiểu dữ liệu nào? A = [1, 2, ‘3’]
list.
int.
float.
string.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức nào sau đây dùng để thêm phần tử vào list trong python?
abs().
link().
append().
add()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Danh sách A sẽ như thế nào sau các lệnh sau? >>> A = [2, 3, 5, 6] >>> A.append(4) >>> del (A[2])
2, 3, 4, 5, 6, 4.
2, 3, 4, 5, 6.
2, 4, 5, 6.
2, 3, 6, 4.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào để duyệt từng phần tử của danh sách?
for.
while – for.
for kết hợp với lệnh range().
while kết hợp với lệnh range().
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh xoá một phần tử của một danh sách A có chỉ số i là:
list.del(i).
A.del(i).
del A[i].
A.del[i].
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Muốn gọi đến phần tử đầu tiên trong danh sách a ta dùng lệnh gì?
a.[1]
a[0]
a.0
a[]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giả sử A = [2, 4, '5', 'Hà Nội', 'Việt Nam', 9]. Hãy cho biết kết quả của câu lệnh 4 in A?
True
False
true
false
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?