Misconception: Students think that “return x*x” changes the value of x to be x*x.
Share Misconception: Students think that “return x*x” changes the value of x to be x*x. with FacebookShare Misconception: Students think that “return x*x” changes the value of x to be x*x. with Twitter
- Students think that the mathematical function that executes on the return line results in a change to the variable's value that will be saved for later use.