Allow preservice teachers to demonstrate how to teach their future students understanding and skill in the use of variables and assignment of values to variables, as follows:
differentiate between variables and values
identify primitive types of variables
identify the characteristics of the different types of variables and the operators appropriate to the different types
explain conventions for naming variables
Identify an acceptable program statement that assigns a value to a variable
explain how a variable assignment is executed
What misconceptions K-12 students might have about variable and values
A concrete model is useful to demonstrate how a value is assigned to a variable.
A “RAM mailbox” structure with several compartments is an excellent model. Objects representing information can be moved among the compartments to show how values are assigned and moved. References to the mailbox are useful for more advanced topics such as traces, arrays, and sorts.
Role playing can be a good experience with students representing memory locations and data.