Skip to main content
CS Teaching Tips

Main navigation

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

Juha Sorva

Avoid using x and y as variable names to prevent students from confusing variable assignments with mathematical expressions.

Share Avoid using x and y as variable names to prevent students from confusing variable assignments with mathematical expressions. with FacebookShare Avoid using x and y as variable names to prevent students from confusing variable assignments with mathematical expressions. with Twitter

Remind students that variable assignment occurs in the order assignments are given. This avoids the misconception that changing one value affects other variables assigned before it.

Share Remind students that variable assignment occurs in the order assignments are given. This avoids the misconception that changing one value affects other variables assigned before it. with FacebookShare Remind students that variable assignment occurs in the order assignments are given. This avoids the misconception that changing one value affects other variables assigned before it. with Twitter

Pagination

  • Previous page ‹‹
  • Page 3
Subscribe to Juha Sorva
  • CSTT Facebook
  • CSTT Twitter

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

Privacy Policy

  • National Science Foundation
  • Sage Fox Group
  • Harvey Mudd College