CSC148 ch 1-4 (midterm review) Study Terms & Questions with Complete solutions
objects are composed of... - ANSWER id (unique identifier) type (determines what functions it can use) value (what it "points to") variables - ANSWER -have an id → point to an object that stores data - variables are NOT objects immutable objects - ANSWER -immutable objects value cannot be changed however you can change what object the variable points to mutable objects - ANSWER -id does not change when value is changed -two objects may have same value but diff id -aliased variables share the same id
Geschreven voor
- Instelling
- CSC148
- Vak
- CSC148
Documentinformatie
- Geüpload op
- 28 mei 2024
- Aantal pagina's
- 12
- Geschreven in
- 2023/2024
- Type
- Tentamen (uitwerkingen)
- Bevat
- Vragen en antwoorden
Onderwerpen
-
csc148 ch 1 4
-
midterm review study terms questions
Ook beschikbaar in voordeelbundel