CSE 5321 Software Testing – Assignment 1 solved

$35.00

Category: You will receive a download link of the .ZIP file upon Payment

Description

5/5 - (1 vote)

1. How are faults and failures related to testing and debugging? (5 points)
2. What is verification and validation? (5 points)
3. What is static analysis and dynamic testing? (5 points)
4. For what do testers use automation? What are the limitations of
automation? (5 points)
5. Below are four faulty programs. Each includes a test case that
results in failure. Answer the following questions about each
program. (20 points each)
(a) Identify the fault. (3 points)
(b) If possible, identify a test case that does not execute the fault. (3 points)
(c) If possible, identify a test case that executes the fault, but does not result
in an error state. (3 points)
(d) If possible identify a test case that results in an error, but not a failure. (3
points)
Hint: Don’t forget about the program counter.
(e) For the given test case, identify the first error state. Be sure to describe
the complete state. (5 points)
(f) Fix the fault and verify that the given test now produces the expected
output. (3 points)
Program 4: