Determine Whether Data is Mutable or Immutable
Grab a Piece of Paper! Determine Mutable or Immutable
For the data description:
- list all of the data.
- categorize the data as either mutable or immutable.
- Some of the descriptions could be represented multiple ways, so be sure to explain your choice.
- A couple of examples are provided.
| Data Description | Mutable Data | Immutable Data | Explanation |
|---|---|---|---|
| A student |
|
|
|
| A vehicle registration |
|
|
|
| A meteorite landing | |||
| A card in a deck of 52 cards | |||
| Items in a vending machine | |||
| Movie premiere | |||
| A city |