Skip to the content of the web site.

Web Resources

Web Resources Image Banner

Programming Tips

Programming is a fundamental aspect of computer science (although there is much more to computer science than just programming!). We have gathered a collection of tips suggested and followed by expert programmers.

Each tip is stated and explained in a separate PDF document. Relevant expectations from the Ontario Curriculum are cited and related exercises are suggested.

Simplify nested logic so that code is easier to read. Download
Use standard indentation. Download
Take a breather. Download
Test with data you know the answer to. Download
Know your bugs - syntax errors. Download
Know your bugs - runtime errors. Download
Know your bugs - logic errors. Download