Your browser does not support JavaScript!
Please enable JavaScript to use the full functionality of the site.
Without JavaScript, you will not be able to expand the content tables in the PD Materials Page and CSP Index Page.

PD4CS

Professional Development for CS Principles Teaching

Log in

Menu

Skip to content
  • Home
  • CSP Index
  • PLTW Index
  • Resources
  • About

Home » Variables » Variables – Student M&Cs

Variables – Student M&Cs

Listed below are Student Misconceptions and Challenges about Variables in Python. The icon video included in the hover-over text means there are video(s) included in the post.
  • 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”?

Recently visited pages

  • M&C7: Differences and similarities between Lists, Tuples, and Arrays
nsf1 This work is supported by the National Science Foundation under grant number 1502462. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation"
Proudly powered by WordPress | If you have questions, please contact PD4CS Research Team