| Topic E |
| Error |
| In web world error is the course of undesired action that results in failure. Error is a combine result of defect and fault that is inserting wrong or unmatched code or inaccessibility of particular program. |
| Defect or software bug |
| The defect or software bug is the minor form of error. If the defect is detected it can not cause error. But if the defect turns into fault then it can result in error. |
| Failure caused by error |
| As the defect can not cause error, similarly error can not cause failure in case if error is detected. If the error is noticed the solutions are found to rectify that error from the system. Preventive measures are always implemented to safeguard the system from error. |
| How the system could be prevented from the error ? |
| It is the technique of the intelligent and careful programmer which prevents the system from causing error. Programmers while constructing the program in the system indicate the codes for error. At the time of working on the system if any wrong step is taken to handle the system then it is detected as error. |
| Error avalanche |
| Error avalanche is occurred due to the ignorance of error in the system. If the initial error is not detected or noticed by the system then it piles up one on another and thus results in the big failure. Here the situation some what turns into hierarchically structured systems where the error is detected and corrected at higher level. |
| Types of error |
| Few important errors are illustrated below |
| 1 Syntax error |
| For writing any programming language some grammatical syntax are required which is understood by programmer and database. While writing any program if the grammatical codes are not inserted properly then that results in syntax error. |
| 2 Logic error |
While designing any program some arithmetic logic is required. If this logic or algorithm is not used then the system gives rise to logic error.
Logic and syntax error are caused due to the negligence of programmers who are working on the particular system. |
| 3 Range error |
| When the number is not within the correct range such type of error occurred. While constructing array of an illegal length with array constructor such type of error occurred. |
| 4 Type error |
| When the variable or parameter is not of valid type such type of error occur. |
| 5. Linkage error |
There is or connectivity in the software operation. When the program rejects to show such connectivity is called linkage error. |
| |
| |
| |