
Ôn tập bài 14
Quiz
•
Other
•
10th Grade
•
Medium
Tâm Ngọc Chung
Used 2+ times
FREE Resource
Enhance your content in a minute
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
13 questions
ABOUT TÜRKİYE
Quiz
•
6th - 12th Grade
11 questions
Câu hỏi về máy tính
Quiz
•
3rd Grade - University
11 questions
Ant science
Quiz
•
5th Grade - University
11 questions
Pasos de la Monografía
Quiz
•
10th Grade
11 questions
Romanian Folklore
Quiz
•
8th - 10th Grade
15 questions
PTS PAI KELAS 7 SEMESTER GENAP
Quiz
•
1st Grade - University
10 questions
Key words and definition OCR HSC
Quiz
•
10th Grade
13 questions
El Comercio y su Clasificación
Quiz
•
8th - 10th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Other
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
10 questions
Halloween Trivia Challenge
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
