TYPE OF ERRORS😬 IN PROGRAMMING⠀
TYPE OF ERRORS IN PROGRAMMING⠀
⠀
"Knowledge is ancient error reflecting on its youth!"⠀
⠀
👉Lexical Error⠀
Occurs when the compiler does not recognize a sequence of characters as a proper lexical token.
⠀
👉Syntax Error⠀
An error in the syntax of a sequence of characters or tokens that is intended to be a valid instruction.⠀
⠀
👉Semantic Error⠀
Most of them are scope and declaration errors. These can arise using the wrong variable or using the wrong operator.⠀
⠀
👉Logic Error⠀
Produces unintended or undesired output or other behavior, although it may not immediately be recognized as such.⠀
⠀
👉Runtime Error⠀
Occurs while the program is running. There are many different types of runtime errors. One example is logic error.⠀
⠀
👉Compile Time Error⠀
An error that occurs when a program is being compiled. Example: using an undeclared variable or using a reserved word for the name of a variable.⠀
📕Error Coding for Engineers by A. Houghton (Editor)
(The Springer International Series in Engineering and Computer Science Book 641)
You learn programming by dealing with errors.⠀
_________________________________
⠀
"Knowledge is ancient error reflecting on its youth!"⠀
⠀
👉Lexical Error⠀
Occurs when the compiler does not recognize a sequence of characters as a proper lexical token.
⠀
👉Syntax Error⠀
An error in the syntax of a sequence of characters or tokens that is intended to be a valid instruction.⠀
⠀
👉Semantic Error⠀
Most of them are scope and declaration errors. These can arise using the wrong variable or using the wrong operator.⠀
⠀
👉Logic Error⠀
Produces unintended or undesired output or other behavior, although it may not immediately be recognized as such.⠀
⠀
👉Runtime Error⠀
Occurs while the program is running. There are many different types of runtime errors. One example is logic error.⠀
⠀
👉Compile Time Error⠀
An error that occurs when a program is being compiled. Example: using an undeclared variable or using a reserved word for the name of a variable.⠀
📕Error Coding for Engineers by A. Houghton (Editor)
(The Springer International Series in Engineering and Computer Science Book 641)
You learn programming by dealing with errors.⠀
_________________________________
Comments
Post a Comment