Different Type of Errors

Different types Errors
Normally when a computer shows you an error, its mean that the programmer made mistake in program, Normally its occur when a programmer made a program and do not test it properly, there are 3 main errors occur generally such as Syntax Error, Logical Error, and Run Time Errors.

SYNTAX ERRORS
The computer programmers used different languages to made programs, these computer languages have pre define rules to follow, same as when we talk with each other and use different  languages but follow grammar of that language, when a program make a program and ignore or violate the rules of that language, then syntax errors occur.

LOGICAL ERRORS
Logical errors are hard to find, because these errors are not occur due to mistakes in programs, even when the programmer complied the program its show that there is no error in program, its mean that programmer follow all the rules which are pre-defined in that programming language, but this error occurs when a programmer do something else wrong, such as if there is need to add two values and the programmer put the sign of minus, it means that there is no mistake in program while he compile but the out put result will be wrong. So its called logical error.

RUN TIME ERRORS
Run time errors occur when the user put invalid data, such as if a program required numeric data and the user enter alphabets, this type of errors close the program automatically.