CSC148 Exam with Complete solutions (A Graded
the only mutable types - ANSWER list and dictionaries and user defined classes Where is all data stored in? - ANSWER objects that have 3 components -> id, type and value What is special about id - ANSWER The id of an object is a unique identifier, meaning that no other object has the same identifier. difference between object and variable? - ANSWER a variable stores an object with value, id and type Variables are not objects because it doesn't store data but only storing the id. it REFERS to an object
École, étude et sujet
- Établissement
- CSC148
- Cours
- CSC148
Infos sur le Document
- Publié le
- 28 mai 2024
- Nombre de pages
- 21
- Écrit en
- 2023/2024
- Type
- Examen
- Contient
- Questions et réponses
Sujets
Document également disponible en groupe