Skip to main content
CS Teaching Tips

Main navigation

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

Misconception: when working with Booleans, students assume that false means incorrect and true means correct.

  • By encouraging students to write appropriate test cases before writing actual code, they will build a better intuition for what an output of true or false actually means.

More about this tip

Tags

  • Content Misconceptions
  • Development Methods
  • Programming Concepts
External Source
Aiza Mbaye, Roxane Caires, Daniel Modell from CSNYC Tip-A-Thon.
Other Tips By
Other Tips By Daniel Modell
Roxane Caires
Daniel Modell

Similar tips

Misconception: When students use the division operator during declaration or assignment of a Double in Java, like double x = a/b, they forget about integer division, which can result in rounding errors.
Encourage students to write the inside of the loop before the loop syntax to help students recognize the conditions necessary for iteration.
Gradually increase the grading strictness about styling to help students become more meticulous about naming and documentation.

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

Privacy Policy