
Python Sets & Dictionaries
Quiz
•
Computers
•
•
Practice Problem
•
Medium
Shannon Jones
Used 1+ times
FREE Resource
Enhance your content in a minute
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Empty curly braces in an assignment statement will create which type of data structure?
(s = {})
List
Dictionary
Stack
Set
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Square brackets in an assignment statement will create which type of data structure?
( s=[] )
List
Queue
Dictionary
Set
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is not true about sets?
The .pop() method removes elements
They are unordered
Each element is unique
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure stores key/value pairs?
Sets
Stacks
Lists
Dictionaries
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The elements that both sets have in common:
Union
Intersection
Symmetric Difference
Difference
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Each key/value pair in a dictionary is separated by this symbol:
/
,
:
;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure is exponentially more efficient than the others?
List
Set
Tuple
Hash Map
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
15 questions
ONLINE SAFETY
Quiz
•
11th Grade
15 questions
# REVIEW 1 DATA TYPES
Quiz
•
10th Grade
15 questions
China: Communism
Quiz
•
Professional Development
15 questions
STS Genap PPB 2024
Quiz
•
11th Grade
13 questions
Arrays in Swift
Quiz
•
10th - 12th Grade
20 questions
Assesmen Bab BK dan TIK
Quiz
•
10th Grade
18 questions
Cyber Security and Social Engineering
Quiz
•
9th - 11th Grade
20 questions
CP N5 - Module 1, 5, 8
Quiz
•
KG
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
