Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Given below is a simple C program to accept a set of inputs and calculate standard deviation. It has consciously been seeded with defects. If
Given below is a simple C program to accept a set of inputs and calculate standard deviation. It has consciously been seeded with defects. If you were asked to perform white box testing on this program, identify some of the defects in the program. Also, list the methodology you used to identify these defects 2. CODE FOR CALCULATING STANDARD DEVIATION 2 AND 3 PROBLEM #include void main (argc, argv) int no numbers; /* The number of numbers for which std dev is to be calculated */ fioat mean, stdev; /* temporary variables int i, total; /* temporary variables / int numbers [100] * the actual numbers Rrintf ("please enter the number of numbers In") : scanf (" cd', ' &no numbers)
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