- Students may believe that variables can store unresolved mathematical expressions.
- When we have the assignment
var1 = var2 + var3, they assume that a change to
var3after this assignment will change
var1change without explicitly reassigning
- This is because they think
var1holds the expression
var2+var3not the value of the result.
"Visual program simulation in introductory programming education" by Juha Sorva, from Appendix A: Misconception Catalogue
Other Tips By: