| 1. | This is a type of error that is encountered while the PROGRAM is running. | This is an error encountered in the syntax of a sequence of characters or the tokens intended to be written in a PARTICULAR language. |
| 2. | It HAPPENS due to the occurrence of an illegal operation. | It happens due to the occurrence of grammar RULES with respect to the programming language. |
| 3. | This type of error is detected while the program is still running. | This type of error is detected while compiling the program. |
| 4. | E.g., Array out of bound, Diving by zero, etc. | E.g., Missing CURLY braces, semicolons, etc. |