- M&C1: Variables used in programs work like variables in math
- M&C2: When assigning the value of one variable to another, students may invert the order. Is it A=B or B=A?
- M&C3: Assignment A = B + 1 changes the value of B by 1, as well as changing A
- M&C4: Assigning one variable’s value to another “links” the variables, so changing one changes the other
- M&C5: Assignment statements like A = B + 1 are stored as a formula rather than as a value.
- M&C6: The left hand side of assignment statement does not always need to be variable
- Variables - Misconception: Students think computers have intelligence and so know what value should be associated with a variable name
- M&C7: We can mix types on expression. For example, why not write A = 5 + “Hero”?
Variables – Student M&Cs
Listed below are Student Misconceptions and Challenges about Variables in Python.
The icon in the hover-over text means there are video(s) included in the post.