Review Dictionary Flashcard
Flashcard
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

7 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What data type is used to store data values in key:value pairs in Python?
Back
Dictionary
2.
FLASHCARD QUESTION
Front
Are duplicates allowed in Python dictionaries?
Back
No
3.
FLASHCARD QUESTION
Front
Which collection type in Python is ordered and changeable, and allows duplicate members?
Back
List
4.
FLASHCARD QUESTION
Front
How can you add items to a dictionary after it has been created? Options: Using the add() method, Using the update() method, By reassigning values, Dictionaries cannot be changed after creation
Back
Using the update() method
5.
FLASHCARD QUESTION
Front
Which of the following is NOT a valid dictionary method in Python?
thisdict.get(), thisdict.append(), thisdict.items(), thisdict.keys()
Back
thisdict.append()
6.
FLASHCARD QUESTION
Front
What is the correct way to print the value of the 'brand' key in the dictionary? Options: print(thisdict.get('brand')), print(thisdict['brand'])
Back
Both are correct
7.
FLASHCARD QUESTION
Front
What method call will delete the entry whose value is 200? Options: delete d('bar'), d.pop("bar"), d.remove("bar"), None of the above
Back
d.pop("bar")
Similar Resources on Wayground
10 questions
Design and Shape
Flashcard
•
University
6 questions
Italian Language Flashcards
Flashcard
•
12th Grade
10 questions
cars/car brands
Flashcard
•
KG - Professional Dev...
10 questions
Lenguajes de Programación Más Usados
Flashcard
•
12th Grade
10 questions
Flashcard on Approaches to Language Teaching
Flashcard
•
12th Grade
10 questions
Interpret Bar Graphs
Flashcard
•
12th Grade
10 questions
Mastering Equivalent Fractions
Flashcard
•
12th Grade
9 questions
Lead Regulations: Things to Remember
Flashcard
•
Professional Development
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade