
Ôn tập bài 14
Quiz
•
Other
•
10th Grade
•
Medium
Tâm Ngọc Chung
Used 2+ times
FREE Resource
Enhance your content
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chọn phát biểu đúng khi nói về dữ liệu kiểu danh sách trong python.
Là tập hợp các phần tử không có thứ tự và mọi phần tử có cùng một kiểu dữ liệu.
Là tập hợp các phần tử có thứ tự và mỗi một phần tử trong danh sách có thể có các kiểu dữ liệu khác nhau.
Là tập hợp các phần tử có thứ tự và mọi phần tử phải có cùng một kiểu dữ liệu.
Tất cả các ý đều sai.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong các cách khai báo danh sách sau đây, cách nào sai?
ls = [1, 2, 3]
ls = [x for x in range(3)]
ls = [int(x) for x in input().split()]
ls = list(3)
3.
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()
pop()
clear()
remove()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh a.sort() thực hiện:
Xóa danh sách a.
Sắp xếp danh sách a theo thứ tự không giảm.
Sắp xếp danh sách a theo thứ tự không tăng.
Gọi đến phần tử đầu tiên trong danh sách a.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho mảng a=[0,2,4,6]. Phần tử a[1]=?
0
2
4
6
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình sau:
a=[3,1,5,2]
a.sort()
print(a)
Sau khi thực hiện đoạn chương trình trên, danh sách a hiển thị trên màn hình là:
[1,2,3,5]
[3,1,5,2]
[5,3,2,1]
[3,5,2,1]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình:
a=[1,2,3]
a.pop(2)
print(a)
Sau khi thực hiện đoạn chương trình trên thì danh sách a có các phần tử:
a=[1,2]
a=[2,3]
a=[1,3]
a=[2]
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
cuestionario de ensayo filosófico
Quiz
•
10th Grade
12 questions
Alberta Natural Resources #2
Quiz
•
KG - University
10 questions
Flee the Facility
Quiz
•
KG - Professional Dev...
10 questions
A Globalização
Quiz
•
10th Grade
15 questions
Adverbs of frequency
Quiz
•
1st Grade - University
15 questions
TEMATIK (Tema 6 Subtema 1)
Quiz
•
10th Grade
10 questions
vehicle transmission and driveline units(a)
Quiz
•
KG - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Other
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
17 questions
Afro Latinos: Una Historia Breve Examen
Quiz
•
9th - 12th Grade
17 questions
Hispanic Heritage Month Trivia
Quiz
•
9th - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
15 questions
PRESENTE CONTINUO
Quiz
•
9th - 12th Grade