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
École, étude et sujet
- Établissement
- CSC148
- Cours
- CSC148
Infos sur le Document
- Publié le
- 28 mai 2024
- Nombre de pages
- 12
- Écrit en
- 2023/2024
- Type
- Examen
- Contient
- Questions et réponses
Sujets
-
csc148 ch 1 4
-
midterm review study terms questions
Document également disponible en groupe