Skip to main content
CS Teaching Tips

Main navigation

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

Misconception: Students mistakenly believe comparison expressions use the same syntax in math, English, and logic.

Share Misconception: Students mistakenly believe comparison expressions use the same syntax in math, English, and logic. with FacebookShare Misconception: Students mistakenly believe comparison expressions use the same syntax in math, English, and logic. with Twitter
  • 3 < x < 5 seems like a legitimate way to express a value of x which is greater than 3 and less than 5 but this is not valid.
    • This statement must be separated into two different statements.

More about this tip

Tags

  • Content Misconceptions
  • Development Methods
External Source

Interview with Pamela Fox

Other Tips By
Other Tips By Pamela Fox

Similar tips

Misconception: Students think that two different variables cannot refer to the same object.
Misconception: Students have trouble understanding the overall flow of a Ruby on Rails application when they access an individual page.
Empathize with students who struggled to get their code working, these students may not be ready to think about how to advance the design of their program; suggesting they refactor their code immediately after it finally runs can be discouraging.

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

Privacy Policy