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.

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.

Pagination

  • Previous page ‹‹
  • Page 3
Subscribe to Juha Sorva

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

Privacy Policy