Skip to main content
CS Teaching Tips

Main navigation

  • Browse All Tips
  • Tags
  • 3D
  • About
  • Rate Tips
  • Tip Sheets

Misconception: Students believe that boolean values can only be used in conditionals.

Share Misconception: Students believe that boolean values can only be used in conditionals. with FacebookShare Misconception: Students believe that boolean values can only be used in conditionals. with Twitter
  • Explain to students that boolean values are comparable to numbers or strings in that they can be used anywhere when programming.
    • This will encourage students to treat booleans as they would any other object.

More about this tip

Tags

  • Content Misconceptions
  • CS 1
  • Intro Programming
  • Programming Concepts
External Source

"Visual program simulation in introductory programming education" by Juha Sorva.

Other Tips By
Other Tips By Juha Sorva

Similar tips

Use in-class clicker questions to identify students struggling at the beginning of the course so you can reach out to them.
Emphasize to students that nitty-gritty details are not important for understanding fundamental principles of computer science to motivate students to focus on their big picture understanding.
Misconception: Students create a new instance variable when they only need a local variable.

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

Privacy Policy