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

To introduce recursion, try reading The Cat in the Hat Comes Back, or “Martin and the Dragon,” to make the topic more engaging.
Explain recursion with the example of determining your row in a stadium by asking the row in front of your what row it is… asking until you get to the first row, the base case.
Misconception: Students may have trouble identifying errors in their code that cause elements to disappear from the page.

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

Privacy Policy