Intermediate python
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Regensu Live
Used 2+ times
FREE Resource
Enhance your content in a minute
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dictionary = {“name”:”Max”,”age”:27}
print(dictionary)
What is the output?
{‘name’:’Max’,’age’:27}
{name:Max,age:27}
‘name’:’Max’,’age’:27
name:Max,age:27
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the ways to make a dictionary?
A = {“name”:Max}
A = dict(name=Max
A = [“name”:Max]
A = [name = Max]
A = (“name”:”Max”)
A = dict[name = Max
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a dictionary?
Items with Key-Value Pairs
Immutable list
Mutable list
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dictionary = {“name”:”Max”}
Value = dictionary[“name”]
print(Value)
What is the output?
Max
“Max”
{‘Max’}
[Max]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
D = {“name”:”Max”}
D[“name”] = “Sam”
Print(D)
What is the output?
{‘name’:’Sam’}
Sam
[‘name’]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you add something in a dictionary?
Dictionary[“age”] = 3
Dictionary.add(“age”: 3)
Dictionary.update(“age”:3)
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What are the ways to delete an item in a dictionary?
del D[“name”]
D.remove[name]
D.pop(“name”)
D.delete(“name”)
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
11 questions
EXAMEN
Quiz
•
2nd Grade - University
10 questions
สร้าง AI ด้วย designer.microsoft ฺBy k.juthamas
Quiz
•
10th Grade
10 questions
Cyber Security
Quiz
•
1st - 10th Grade
14 questions
Linux: Users and Groups
Quiz
•
9th Grade - University
12 questions
Quizz Internet
Quiz
•
KG - Professional Dev...
10 questions
Les variables sous Python
Quiz
•
10th - 12th Grade
10 questions
Unit 4 Advanced AP CSP
Quiz
•
9th - 12th Grade
10 questions
Computer Applications Q3
Quiz
•
10th 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
