
PYTHON - KIỂU DỮ LIỆU TẬP HỢP
Quiz
•
Information Technology (IT)
•
1st - 5th Grade
•
Medium
Nguyễn Hằng
Used 9+ times
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tập hợp (set) trong Python có đặc điểm nào sau đây?
Các phần tử được sắp xếp theo thứ tự
Có thể chứa các phần tử trùng nhau
Không có thứ tự và không chứa phần tử trùng nhau
Có thể chỉ chứa số nguyên
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đâu là cú pháp đúng để khai báo một tập hợp rỗng trong Python?
set1 = {}
set1 = []
set1 = set()
set1 = ()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn chương trình sau là gì?
{1, 2, 3, 4, 1}
{1, 2, 3, 4}
[1, 2, 3, 4]
SyntaxError
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn chương trình sau tạo ra tập hợp như thế nào?
Tập hợp các số chia hết cho 2 từ 0 đến 9
Tập hợp các số lẻ từ 0 đến 9
Tập hợp rỗng
Tập hợp gồm số 2
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phép toán A & B trong Python dùng để:
Gộp hai tập hợp A và B
Lấy các phần tử có trong A hoặc B
Tìm phần tử chỉ có trong A
Tìm phần tử chung của hai tập hợp
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức nào sau đây được dùng để lấy phần giao giữa hai tập hợp?
union()
difference()
intersection()
symmetric_difference()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn chương trình sau là gì?
{1, 3}
{2, 4}
{6, 7}
{1, 2, 3, 4, 6, 7}
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
30 questions
TIN HỌC LỚP 4 ÔN TẬP HỌC KỲ I
Quiz
•
4th Grade
31 questions
TIN HỌC 3 - ÔN TẬP CHKI
Quiz
•
3rd Grade
27 questions
Tin học 7 giữa kì 1
Quiz
•
1st - 5th Grade
25 questions
KHTN
Quiz
•
1st Grade
28 questions
Ôn tập lớp 4 - P2
Quiz
•
3rd Grade
30 questions
Quiz Môn Tin Học Khối 2
Quiz
•
2nd Grade
34 questions
untitled
Quiz
•
1st - 4th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Information Technology (IT)
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
10 questions
Area
Quiz
•
3rd Grade
8 questions
Ancient China Quick Check
Quiz
•
3rd Grade
