
Python Quizz-11
Quiz
•
Computers
•
University
•
Medium
shilpa gupta
Used 24+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements create a dictionary?
d = {}
d = {“john”:40, “peter”:45}
d = {40:”john”, 45:”peter”}
All of the mentioned
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code snippet?
d = {"john":40, "peter":45}
print("john" in d)
True
False
None
Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
d1 = {"john":40, "peter":45}
d2 = {"john":466, "peter":45}
print(d1 == d2)
True
False
None
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
d1 = {"john":40, "peter":45}
d2 = {"john":466, "peter":45}
print(d1 > d2)
True
False
Error
None
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
d = {"john":40, "peter":45}
print(d["john"])
45
40
john
error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose d = {“john”:40, “peter”:45}. To obtain the number of entries in dictionary which command do we use?
d.size()
len(d)
size(d)
d.len()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
d = {"john":40, "peter":45}
print(list(d.keys()))
[“john”, “peter”]
[“john”:40, “peter”:45]
(“john”, “peter”)
(“john”:40, “peter”:45)
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
8 questions
Cha-ching 2
Quiz
•
1st Grade - University
10 questions
Kiểm tra học kỳ 1 lớp 2
Quiz
•
2nd Grade - University
13 questions
Guess the Video Game Vehicles 1
Quiz
•
KG - Professional Dev...
10 questions
pointers and structures
Quiz
•
University
15 questions
APN - Gerenciamento de Processos de Negócio (BPM)
Quiz
•
University
13 questions
ULANGAN HARIAN KOMPUTER DAN JARINGAN DASAR KLS X SEMESTER 1
Quiz
•
12th Grade - University
10 questions
Server Administration- Quiz 1
Quiz
•
12th Grade - University
11 questions
Database Management
Quiz
•
12th Grade - University
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
Discover more resources for Computers
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
7 questions
Central Idea of Informational Text
Interactive video
•
4th Grade - University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
39 questions
Unit 7 Key Terms
Quiz
•
11th Grade - University
7 questions
Transition Words and Phrases
Interactive video
•
4th Grade - University
18 questions
Plotting Points on the Coordinate Plane
Quiz
•
KG - University
5 questions
Declaration of Independence
Interactive video
•
4th Grade - University
