Skip to main content
CS Teaching Tips

Main navigation

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

Remind students that the computer will run any code that compiles, no matter how unreasonable, because it doesn’t have the ability to determine if code is reasonable or not.

Share Remind students that the computer will run any code that compiles, no matter how unreasonable, because it doesn’t have the ability to determine if code is reasonable or not. with FacebookShare Remind students that the computer will run any code that compiles, no matter how unreasonable, because it doesn’t have the ability to determine if code is reasonable or not. with Twitter
  • Emphasize that, as a consequence, it is the programmer’s responsibility to ensure the code does what is intended before it compiles.
    • If the programmer does not take this responsibility the computer will run bad, illogical, silly, dangerous, or otherwise maligned code, so long as it compiles.

More about this tip

Tags

  • Development Methods
External Source

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

Other Tips By
Other Tips By Juha Sorva

Similar tips

Encourage students to step away from buggy code and think about the big picture as a part of the debugging process.
Provide students with App Inventor starter code they can modify and build on so they have an opportunity to play around in App Inventor without becoming overwhelmed by starting from scratch.
Misconception: Students may have trouble identifying errors in their code that cause elements to disappear from the page.
  • CSTT Facebook
  • CSTT Twitter

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

Privacy Policy

  • National Science Foundation
  • Sage Fox Group
  • Harvey Mudd College