Saturday, August 8, 2009

Logical errors in program

Logical errors occur when the programmer forgets to consider a certain aspect of a program or just misunderstands it. The aspect overlooked can be miniscule. Logical errors are often typos or errors in the algorithm design.

When there is a logical error in the program, the program doesn't work correctly. A compiler cant spot these kinds of errors.

Locating logical errors can be troublesome. The only way of avoiding these errors is to plan and write the program with extreme care.

Previous post

Next post

No comments:

Post a Comment