Types of Errors in programming

Types of Errors in programming - Private University of...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Private University of Technology Miss Takoua Becha Academic Year: 2010 / 2011 Reading : Types of errors . . , affect the computer or its peripherals For example you . might have written a program which needs access to a printer If there is no , printer present when run the program the computer will produce a system error . message Sometimes a system error makes the computer stop working altogether . and you ll have to restart the computer A sensible way of avoiding system errors is to write code to check that peripherals are present before any data is sent to . it .. are mistakes in the programming language like typing . . PRNIT instead of PRINT These errors cause the program to fail Some translator . programs won t accept any line that has syntax errors Some only report a syntax . error when they run the program Some languages also contain special commands such as , debug . which will report structural errors in a program The programming manual for the particular language you re using will give details of what each . error message means .. . are much more difficult to detect than syntax errors This , . is because a program containing logic errors will run but it won t work properly...
View Full Document

This note was uploaded on 01/24/2012 for the course CS 1205 taught by Professor Takoua during the Spring '11 term at Cardiff University.

Page1 / 3

Types of Errors in programming - Private University of...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online