PYTHON DICTIONARIES

Quiz
•
Computers, Other
•
11th Grade
•
Medium
Archana Pataskar
Used 519+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
A dictionary is an example of a sequence ...
True
False
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
A Python dictionary stores ...
value - key pairs
key - value pairs
3.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which of the following create an empty dictionary (D)?
D = dict()
D = ()
D = []
D = {}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
quiz = {"Do you help out at home? ":"yes",
"Do you beleive in Santa? ":"yes"}
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
quiz = ("Do you help out at home? ":"yes" }
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
You have the following dictionary definition:
d = {'foo': 100, 'bar': 200, 'baz': 300}
What method call will delete the entry whose value is 200?
delete d('bar')
d.pop("bar")
d.remove("bar")
None of the above
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Quiz1_HPB2021_2010t1

Quiz
•
1st - 12th Grade
10 questions
CS Python Fundamentals Test 12 PRACTICE

Quiz
•
9th - 12th Grade
12 questions
ITGS 3.05: Hacking

Quiz
•
9th - 12th Grade
13 questions
computer science

Quiz
•
11th Grade
13 questions
Pet simulator x Test

Quiz
•
1st Grade - Professio...
10 questions
Programming 2 Lesson 3

Quiz
•
11th Grade
15 questions
Python Programming Random Quiz

Quiz
•
11th Grade
17 questions
Dictionary in Python

Quiz
•
11th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
20 questions
Scalars, Vectors & Graphs

Quiz
•
11th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
10 questions
Solving Equations Opener

Quiz
•
11th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade