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

Use these 5 strategies to give students useful debugging strategies that will help them fix Segmentation Faults.
Model the software engineering process by having students design games or other projects for an audience. This helps students gain valuable, hands-on experience and make connections to real world applications.
Help students find bugs by drawing or writing out what their code does at each step.
  • 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