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.

Share Misconception: when working with Booleans, students assume that false means incorrect and true means correct. with FacebookShare Misconception: when working with Booleans, students assume that false means incorrect and true means correct. with Twitter
  • 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

Use Potato Head Toys to teach classes, objects, methods, and properties so that students develop hands on experience with abstract topics.
Use descriptive variable names to model good naming practice so that students learn the value of descriptive names.
Explain that when you ask an object to do something the proper syntax in Java is to say object [dot] method, sometimes there is additional information required.
  • 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