Monday, 7 November 2016

Syntax Errors, Logical Errors and Run-time Errors

Syntax errors                                                                          
 Errors in spelling and grammar. You can use the compiler or interpreter to uncover syntax errors. You must have a good working knowledge of error messages to discover the cause of the error. Syntax error prevents your program form executing.
Logical errors 
Errors that indicate the logic used when coding the program failed to solve the problem. You do not get error messages with logic errors. Your only clue to the existence of logic errors is the production of wrong solutions. Logical error is not detected by the computer. Logic error causes your results to be wrong.   
Run-time errors
Run-time errors can occur if you are running two software programs that aren't compatible, if your computer has memory problems, or if the computer has been infected with malicious software. Run-time errors occur when you tell the computer to do something illegal. Run-time errors may halt execution of your program.

No comments:
Write comments

Theme images by MichaelJay. Powered by Blogger.

Follow by Email

Social stratification

Definition Social stratification is one of the results of ongoing social processes taking place. Every society is segmented into differen...

footer

Labels