Testing and Debugging


Testing and debugging are important skills that can simplify your life as a computer scientist if you do them well. Learning these skills is one of the goals of the class.

Backup:

Is the dog going to eat your program? Yes! Dogs are descended from wolves, which are predators. Predators eat things; that is their job.

You cannot prevent the dog from eating your program. But you can keep a backup. A computer scientist always keeps a backup.

Copy your files to a flash drive, and to your CS Linux account. CS backs up your Linux files every 4 hours, under .snapshot/

Testing:

Debugging:

Common Problems: