Python Dictionary and Set Quiz

Test how well you know Python dictionaries and sets, from reading keys and using dict methods to set operations and nested JSON-like data.

Intermediate 5 quizzes · 50 questions about 31 minutes
0/5passed Category exam 20 mixed questions. 80% earns a certificate.
Tags:
1 Dictionary Basics Easy Create dictionaries, read and change values, and handle missing keys. #dict#keys-values 10 questions · ~5 min Not started Start
2 Dictionary Methods Medium Use pop, setdefault, update, copy, views and the merge operator correctly. #dict#dict-methods 10 questions · ~6 min Not started Start
3 Looping over Dicts Medium Loop over keys, values and items, and avoid the classic dict loop mistakes. #dict#loops 10 questions · ~6 min Not started Start
4 Sets & Set Operations Medium Remove duplicates, test membership and combine sets with union, intersection and more. #sets#set-operations 10 questions · ~6 min Not started Start
5 Nested Data Structures Hard Work with dicts inside lists inside dicts, copies, aliasing and JSON round trips. #nesting#json#interview 10 questions · ~8 min Not started Start