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

Create a programmatic contract, a document that states students will break an assignment into smaller components, for a large programming project to give students experience with modular design.
Misconception: Students get confused by the multiple equals signs comparison operators in Javascript making it difficult to motivate the difference to beginning students.
Encourage students to be careful when using sound blocks in Scratch that don’t have durations, as these blocks start sounds immediately rather than waiting until the first sound is done.
  • 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