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

Discuss and explore the difference between additive (sequential) and multiplicative (nested) loop structures to give students practice reasoning about loops.
Have pair programming groups rotate computers every 10 minutes in an activity where they have to continue to solve the assigned problem using other pairs’ code to motivate writing good comments.
Know and point out to students the limits of Khan Academy’s JavaScript environment, which does not allow some important topics (like variable scoping) to be demonstrated.

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

Privacy Policy