more information

Pages

Wednesday, April 6, 2011



 Step 4 :
Program test




Debugging is
a process of
testing and eliminating errors in a program.

Syntax
&
logic

are two types of programming errors.







Syntax errors.

Violence of
the rules of a programmiing.

For example,
omitting a semicolon
at the end of C++ statement.



(Other example of syntax error)







Logic errors.

Incorrect calculations
or
procedures.

For example,
failure to include calculation
of overtime hours 
in a payroll program.



(Other example of logic error)



No comments:

Post a Comment