1.

Explain the various types of errors detected during testing. 

Answer»

The different program errors are as follows;

1.  Synta’x error:

It occurs when there happens to be a misuse of a programming language’s instructions. It happens at the time of compilation. Such errors need to be rectified before proceeding further.

2. Semantic errors:

An error, which occurs due to the incorrect logic and a solution called semantic error. It also occurs due to wrong use of grammar in program. Runtime Error occurs at run-time. Such error cause a program to end abruptly or even cause system shut-down. Such errors are hard to detect.

3. Logical Error: It may happen that a program contains no syntax or run-time errors but still it doesn’t produce the correct output. It is because the developer has not understood the problem statement properly. These errors are hard to detect as well.



Discussion

No Comment Found

Related InterviewSolutions