100%(2)100% ont trouvé ce document utile (2 votes)
175 vues1 page
Syntax Errors Statements that don't conform to language rules Usually typing or naming errors. Run time errors are Problems that occur when you run the program (ie, run time) these errors are generally because of limitations of the programming language or the fact that you are running it on a computer.
Syntax Errors Statements that don't conform to language rules Usually typing or naming errors. Run time errors are Problems that occur when you run the program (ie, run time) these errors are generally because of limitations of the programming language or the fact that you are running it on a computer.
Droits d'auteur :
Attribution Non-Commercial (BY-NC)
Formats disponibles
Téléchargez comme DOC, PDF, TXT ou lisez en ligne sur Scribd
Syntax Errors Statements that don't conform to language rules Usually typing or naming errors. Run time errors are Problems that occur when you run the program (ie, run time) these errors are generally because of limitations of the programming language or the fact that you are running it on a computer.
Droits d'auteur :
Attribution Non-Commercial (BY-NC)
Formats disponibles
Téléchargez comme DOC, PDF, TXT ou lisez en ligne sur Scribd
• Usually typing or naming errors • The author should not be the only person to desk check the program- self fulfilling prophecy • Some languages, especially earlier ones, had no help with syntax errors, or help such as “Error 53” Later generation programs like VB have integrated syntax error correction and detection
Problem Error Message Fixed by
Object Names Punctuation Typos Incomplete Statements (If with no Then) Not ending statements Using reserved words as Identifiers
Run Time Errors
Aka execution errors Problems that occur when you run the program (ie, run time) that are not logic errors, but are generally because of limitations of the programming language or the fact that you are running it on a computer
Calculation which there is no result Divide by zero
Result of operation outside range With integer variables allowed -37,768 + 32,760 =??? Real numbers: Inability of computer to BEGIN exactly store results of some decimals Input Number Comparisons may be wrong if number Answer=Number/999,999,999 is slightly different Number = Answer * 999,999,999 If Number = Answer Then Print Equal Else Print Not Equal EndIf END Variable errors