Question
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
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,839 | 4,599 |
Andrew | 18,012 | 2,790 |
Jaime | 31,075 | 12,090 |
Sherae | 26,100 | 3,790 |
Binny | 19,636 | 1,900 |
Roger | 24,836 | 4,015 |
Dong-Gil | 24,080 | 5,795 |
Alex | 14,830 | 1,062 |
Jay | 30,925 | 3,882 |
Vivek | 21,596 | 4,135 |
(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. (Round your answers to four decimal places.)
Programmer | Probability |
---|---|
Liwei | |
Andrew | |
Jaime | |
Sherae | |
Binny | |
Roger | |
Dong-Gil | |
Alex | |
Jay | |
Vivek |
(b)
If you randomly select a line of code from Sherae, what is the probability that the line of code will not require editing? (Round your answer to four decimal places.)
(c)
Which programmer has the lowest probability of a randomly selected line of code requiring editing? (Round your answer to four decimal places.)
The lowest probability is ---Select--- Liwei Andrew Jaime Sherae Binny Roger Dong-Gil Alex Jay Vivek at .
Which programmer has the highest probability of a randomly selected line of code requiring editing? (Round your answer to four decimal places.)
The highest probability is ---Select--- Liwei Andrew Jaime Sherae Binny Roger Dong-Gil Alex Jay Vivek at .
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