List trong Python là gì?
Quiz về Kiểu Dữ Liệu List và Set (1)

Quiz
•
Information Technology (IT)
•
7th Grade
•
Medium
Khang Nghĩa
Used 17+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Một kiểu dữ liệu chỉ chứa chuỗi.
Một kiểu dữ liệu chỉ chứa số nguyên.
Một kiểu dữ liệu không thay đổi.
Một kiểu dữ liệu cho phép lưu trữ một tập hợp các phần tử.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào được sử dụng để thêm phần tử vào cuối list?
insert()
append()
remove()
pop()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cách nào để truy cập phần tử đầu tiên trong list?
my_list[-1]
my_list[0]
my_list[2]
my_list[1]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Điểm khác biệt chính giữa list và set trong Python là gì?
`set` có thể chứa phần tử trùng lặp, còn `list` thì không
`set` không cho phép phần tử trùng lặp, còn `list` thì có
`set` có thể được truy cập bằng chỉ mục, còn `list` thì không
Không có sự khác biệt
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào được sử dụng để xóa toàn bộ phần tử trong list?
clear()
remove()
pop()
append()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp nào dùng để tạo một set?
my_set = set(1, 2, 3)
my_set = (1, 2, 3)
my_set = {1, 2, 3}
my_set = [1, 2, 3]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào dùng để tìm chỉ số của phần tử trong list?
list.search(value)
list.find(value)
list.index(value)
list.locate(value)
Create a free account and access millions of resources
Similar Resources on Quizizz
13 questions
Session 15 + 16 : Function

Quiz
•
University
17 questions
Kiểm Tra Môn Tin Học 10

Quiz
•
10th Grade - University
10 questions
BÀI F10. ĐỊNH KIỂU CSS CHO SIÊU LIÊN KẾT VÀ DANH SÁCH

Quiz
•
University
10 questions
TRẮC NGHIỆM VUI PYTHON

Quiz
•
10th Grade
10 questions
TẠO BIỂU MẪU TRONG HTML

Quiz
•
12th Grade
19 questions
ÔN TẬP GKI TIN 8

Quiz
•
8th Grade
19 questions
Ôn tập HKI Tin học - Khối 5

Quiz
•
5th Grade - University
16 questions
ICDL K4_ Xử lý văn bản P1_5*

Quiz
•
5th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
20 questions
Math Review

Quiz
•
7th Grade
14 questions
Subtracting Integers

Lesson
•
6th - 8th Grade
15 questions
Exponent Properties

Quiz
•
7th - 9th Grade