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
Written for
- Institution
- CSC148
- Course
- CSC148
Document information
- Uploaded on
- May 28, 2024
- Number of pages
- 12
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
csc148 ch 1 4
-
midterm review study terms questions
Also available in package deal