M182-lect1 pdf
M182-lect1 pdf
M182-lect1 pdf
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
The programming process3. Test and debug :A program that compiles and executes successfully doesnot necessarily work as expected.It is very important to test the program with several kindsof inputs to make sure that it always gives the expectedoutcome.Programs often contain a type of error called a bug (or,more formally, a logic or design error). Such errors are hardto find and sometimes are not found until long after aprogram has been released.A tool called the debugger is very helpful in finding sucherrors.13