Skip to main content
CS Teaching Tips

Main navigation

  • Browse All Tips
  • Tags
  • 3D
  • About
  • Rate Tips
  • Tip Sheets

Random Tip

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.

For more information or to report a bug, contact us at admin@csteachingtips.org. Built with Bootstrap. Powered by Drupal.

Privacy Policy