Question: 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 setof inputs and calculate standard deviation. It has consciously been seeded with

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!