Quiz về Kiểu Dữ Liệu List và Set (1)
Quiz
•
Information Technology (IT)
•
7th Grade
•
Medium
Khang Nghĩa
Used 18+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
List trong Python là gì?
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
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
20 questions
Ktra thường xuyên Tin 11
Quiz
•
11th Grade - University
20 questions
Penilaian Akhir Semester Informatika
Quiz
•
9th - 12th Grade
10 questions
Kiểm tra Tin 7
Quiz
•
7th Grade
11 questions
TRẢ LỜI ĐÚNG - TRÚNG QUÀ COOL
Quiz
•
University
20 questions
BÀI KIỂM TRA 15 PHÚT - Môn Tin Học 10 - HK2-PYTHON
Quiz
•
10th Grade - University
10 questions
MongoDB Concepts 2
Quiz
•
University
15 questions
IC3_GS6_Bài 14: Sở hữu trí tuệ
Quiz
•
8th Grade
12 questions
Teknologi Informasi dan Komunikasi
Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
20 questions
Photosynthesis and Cellular Respiration
Quiz
•
7th Grade
16 questions
Adding and Subtracting Integers
Quiz
•
7th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
