DISCUSSION ASSIGNMENT: UNIT 6CS 1101 - AY2020-T2 UNIT 6
Describe the difference between objects and values using the terms “equivalent” and “identical”. Illustrate the difference using your own examples with Python lists and the “is” operator. Describe the relationship between objects, references, and aliasing. Again, create your own examples with Python lists. Finally, create your own example of a function that modifies a list passed in as an argument. Describe what your function does in terms of arguments, parameters, objects, and references. Create your own unique examples for this assignment. Do not copy them from the textbook or any other source. 92 words ANSWERS: Describe the difference between objects and values using the terms “equivalent” and “identical”. Illustrate the difference using your own examples with Python lists and the “is” operator
Written for
- Institution
-
Modern Technology School
- Course
-
CS 1101
Document information
- Uploaded on
- March 15, 2022
- Number of pages
- 4
- Written in
- 2021/2022
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
- cs 1101
-
discussion assignment unit 6cs 1101 ay2020 t2 unit 6