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

Students often get stuck because they start working on a problem without thinking about what they need to know and do in order to get a working solution.
Structure homeworks like code reviews to help students iterate on their code and learn the importance of readability.
Use assignments with visual output to help students understand what their program is actually doing.

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

Privacy Policy