Python set
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Hard
Used 16+ times
FREE Resource
Enhance your content in a minute
12 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
45 sec • 1 pt
Что будет выведено программой?
s = {1, 3, 4}
s1 = {3, 4, 5, 6, 8}
s2 = s | s1
a = list(s2)
a.sort()
print(*a)
2.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Что будет выведено программой?
s = {1, 3, 4}
s1 = {3, 4, 5, 6, 8}
s2 = s & s1
a = list(s2)
a.sort()
print(*a)
3.
FILL IN THE BLANK QUESTION
45 sec • 1 pt
Что будет выведено программой?
s = {1, 3, 4}
s1 = {3, 4, 5, 6, 8}
s2 = s ^ s1
a = list(s2)
a.sort()
print(*a)
4.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Что будет выведено программой?
s = {1, 3, 4}
s1 = {3, 4, 5, 6, 8}
s2 = s - s1
a = list(s2)
a.sort()
print(*a)
5.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Что будет выведено программой?
s = {1, 3, 4}
s1 = {3, 4, 5, 6, 8}
s2 = s1 - s
a = list(s2)
a.sort()
print(*a)
6.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Какие символы будут в множестве a3 после выполнения программы?
ш
н
а
и
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Чем является объект alist:
alist = list(map(int, input().split()))
Mset = set(alist)
print(len(Mset))
множеством
списком
оператором
словарем
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
Безопасность в сети Интернет
Quiz
•
10th - 11th Grade
10 questions
Python
Quiz
•
1st - 12th Grade
13 questions
Безопасность в сети Интернет
Quiz
•
6th - 10th Grade
10 questions
STRING HANDLING
Quiz
•
10th Grade
10 questions
python-BTxâu
Quiz
•
9th - 12th Grade
15 questions
Методы строк
Quiz
•
10th Grade
17 questions
Основы С/С++. Типы данных
Quiz
•
10th Grade
10 questions
Python списки
Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
