Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Answer questions (a) through (d) for the mutant on line 6 in the method sum() a) f possible, find test inputs that do not reach
Answer questions (a) through (d) for the mutant on line 6 in the method sum() a) f possible, find test inputs that do not reach the mutant. (2 points) (b) If possible, find test inputs that satisfy reachability but not infection for the mutant. (2 points) (c) If possible, find test inputs that satisfy infection, but not propagation for the mutant. 2 points) (d) If possible, find test inputs that strongly kill the mutants. Sum values in an array * param x array to sum Oreturn sum of values in x * Qthrows NullPointerException if x is nul1 1. public static int sum(int] x) 2. 3. nt s 0; 4. for (int i#0; i
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started