Question: 10. Code Churn. Code Churn is a common metric used to measure the efficiency and productivity of software engineers and computer programmers. Its usually measured

10. Code Churn. Code Churn is a common metric used to measure the efficiency and productivity of software engineers and computer programmers. It’s usually measured as the percentage of a programmer’s code that must be edited over a short period of time. Programmers with higher rates of code churn must rewrite code more often because of errors and inefficient programming techniques. The following table displays sample information for 10 computer programmers.

Programmer Total Lines of Code Written Number of Lines of Code Requiring Edits Liwei 23,789 4,589 Andrew 17,962 2,780 Jaime 31,025 12,080 Sherae 26,050 3,780 Binny 19,586 1,890 Roger 24,786 4,005 Dong-Gil 24,030 5,785 Alex 14,780 1,052 Jay 30,875 3,872 Vivek 21,546 4,125

a. Use the data in the table above and the relative frequency method to determine probabilities that a randomly selected line of code will need to be edited for each programmer.

b. If you randomly select a line of code from Liwei, what is the probability that the line of code will require editing?

c. If you randomly select a line of code from Sherae, what is the probability that the line of code will not require editing?

d. Which programmer has the lowest probability of a randomly selected line of code requiring editing? Which programmer has the highest probability of a randomly selected line of code requiring editing?

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 Bayesian Statistics An Introduction Questions!