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.

  • 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

Give students a cheat-sheet for how to accomplish particular tasks in Java so that they can create interesting programming from the beginning of a course to keep them engaged.
Use Shapes, Rectangles, and Squares to teach objects and inheritance in Java, tell students they’re the only ones who can complete the job for extra engagement.
Draw a digital 8 on the board to introduce an activity that uses the seven segment display to show how any information can be encoded into functions.

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

Privacy Policy