
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
20 questions
SGUSDA Python Basics
Quiz
•
KG
20 questions
ICT - CSS - SCS - Set-up User Access
Quiz
•
10th Grade
20 questions
ULANGAN HARIAN MAPEL INFORMATIKA CT
Quiz
•
10th Grade
17 questions
Cyber Safety
Quiz
•
9th - 12th Grade
20 questions
Data structure test1
Quiz
•
12th Grade
20 questions
Kuis Mapel Informatika Kelas 8
Quiz
•
8th Grade
12 questions
HTML & Java
Quiz
•
9th Grade
13 questions
Python
Quiz
•
9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
