Explain why program inspections are an effective technique f
Explain why program inspections are an effective technique for discovering
errors in a program. What types of error are unlikely to be discovered through
inspections? [10 marks]
Solution
Program inspection will show you some basic faults to the naked eye, which could take a lot of running time if not discovered before. The types of errors being discovered by program inspection depends on the perception and experience of the programmer who inspects the code. The more the experience, the more the range of errors could be discovered by the inspector. Its better to let the code be inspected by a team instead of the same being done by a single programmer. This will also make the programmer one who codes the program to be more careful and perform a program inspection test on himself before submitting it to the next level for the same. The semantic errors like performing arithmetic on a formula, and reading some range of values which are not allowed etc could not be discovered with this kind of testing, especially when the inspectors doesn\'t have a wide range of domain knowledge, especially with the domain to which the program is written for.
