SWE 437 In Class Exercise # 10
Fault, Error, Failure Model


Names:

Instructions: Work with your neighbors in groups. Let's consider some faulty programs. I'll put the code up on screen.
  1. What is the fault?




  2. If possible, find a test input that does not reach the fault.




  3. If possible, find a test input that reaches the fault, but does not result in an error.




  4. If possible, find a test input that results in an error, but not a failure.




  5. Find a test input that results in failure.




  6. What is the first error state in the last test case?