
Bài Quiz không có tiêu đề
Authored by Khôi Võ
Education
9th - 12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để xóa tất cả các phần tử trong danh sách, ta gọi hàm thành viên
append()
pop()
clear
D)remove()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để gọi các phần tử đầu tiên trong danh sách a ta dùng lệnh
a[1]
a[0]
a0
a[]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho mảng a=[0,2,4,6]. Phần tử a[1]= ?
0
2
4
6
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để biết kích thước của danh sách ta dùng hàm
len()
type()
sort()
pop
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để khởi tạo danh sách b có 5 phần tử 1,2,3,4,5 ta dùng viết
b=1,2,3,4,5
b=(1,2,3,4,5)
b=[1..5]
b=[1,2,3,4,5]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để thêm phần tử vào cuối danh sách ta dùng hàm
append()
append()
clear()
remove()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để xóa phần tử thứ 2 trong danh sách a ta dùng lệnh
del(2)
remove(2)
del a
del a[2]
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?