Nobody writes perfect code the first time; there's always some errors lurking around in your programs. Good programmers, when done writing their code, don't just toss it over the wall and go on to the next problem. Instead, they test their code first to make sure they haven't made any dumb errors; then they throw it over the wall.
In addition, the traditional starting job for neophyte programmers is testing and maintenance; that is, finding and fixing errors in other people's code. Even after you get promoted out of the test department, you still do testing and maintenance; it's just that you do lots of other things too.
A lab program may have several errors; you should try and find as many as you can, but make sure you find and fix at least one error.
You may use your book and class notes during the lab assignment.
Partners
This page last modified on 21 May 2001.