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
Geschreven voor
- Instelling
- CSC148
- Vak
- CSC148
Documentinformatie
- Geüpload op
- 28 mei 2024
- Aantal pagina's
- 21
- Geschreven in
- 2023/2024
- Type
- Tentamen (uitwerkingen)
- Bevat
- Vragen en antwoorden
Onderwerpen
-
csc148 exam
Ook beschikbaar in voordeelbundel