Conflation of object and referring variable e.g test = list(2,1,3) makes test a part of the list object |
Exactly one variable (at a time) may refer to a list/object |
test2=test renames the list/object |
test2=test copies the properties from one object to another |
There are many data visualizers available online. For example, the website http://www.pythontutor.com/ (mentioned in the chapter) allows you to visualize data using the Python, Java, C, C++, Javascript, Ruby, and TypeScript programming languages. It is recommended that teachers create short code segments that create simple data structures like arrays and allow the site to visualize how the data is organized and accessed.
In Java, the language used to teach APCS A and assess APCS A students on the College Board exam, code sample like the one below could be used to illustrate how a Java array structure looks and behaves.
Visualizing a Java Array
Visualizing a Javascript Array