SQAM Course, Proficience, IISc3
Code’s logic does not produce the proper output for agiven input
–
Some examples
Branch under wrong conditions
Fail to set loop invariant
Fail to initialize variables
Comparing inappropriate data types
Formula is implemented incorrectly
Computation not performed to the required accuracy
Data structures filled past their capacity
–
Buffer overflow
–
Dimension of tables larger than code can handle
–
Length of queue too great
ExamplesExamples