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

Challenge students to place the fewest number of ice cream vans on a map of a town while maximizing ice cream availability to introduce the brute-force method in an accessible way.
Misconception: Students add the numbers for ordered list items inside the HTML list item tags.
Have students use a recursive algorithm to solve the problem of only eating the squares of a chocolate bar that contain nuts to introduce recursive algorithms for arrays.

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

Privacy Policy