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

Remind students that all programmers make mistakes—constructive criticism isn’t personal.
In assignments, make sure to include examples of or references to code that is essential for a program, but that students are not responsible for writing.
Misconception: Students frequently forget to add delimiters when writing HTML and CSS code, this error is called unclosed pairs.

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

Privacy Policy