Quiz 6: Mutability, List Processing and Memory Diagrams
Learning Goals
Students should be able to:
- Define mutable and immutable
- Give examples of mutable and immutable objects in Python
- Analyze code to show how objects adhere to the notion of mutability
- Draw a memory diagram that correctly depicts the result of Python code using lists (possibly nested) in memory
- Write a memory report that correctly depicts the result of Python code using lists (possibly nested) in memory
- Implement accumulation patterns requiring nested for loops in Python to translate accumulative algorithms from English
Solutions
After your quiz is graded by instructors, you will get an email from Gradescope. Solutions for individual quiz questions are provided in the Gradescope rubric.