Python 3.15 Preview: frozendict Quiz

Interactive Quiz ⋅ 13 Questions
By Joseph Peart

In this quiz, you’ll test your understanding of Python 3.15 Preview: frozendict.

By working through this quiz, you’ll revisit how to build a frozen mapping, why it isn’t a dict subclass, what it takes to make one hashable, and exactly where the freeze stops.

Python 3.15 finally gives dictionaries the immutable counterpart that lists and sets have had for years.

The quiz contains 13 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!

Related Resources

A person operating a large machine labeled frozendict that encases documents in ice and sends them along a conveyor belt past a sign reading Safe and Hash, with a Python logo on the panel.

Tutorial

Python 3.15 Preview: frozendict

Preview Python 3.15's frozendict: build immutable mappings you can hash, cache, and share across threads, and learn where the freeze stops.

intermediate python