Testing and Debugging

Valid Data

Expected Data - ???

Invalid Valid Data

Unexpected Data - ???

Debugging

Locating errors in a program

Syntax Errors

Typing Errors

Logic Errors

You enter instructions that don't give the expected results.

				
decAverage = decNum1 + decNum2 / 2