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. Total Lines of Code Number of Lines of Code Programmer Written Requiring Edits Liwei 24,830 5,432 Andrew 16,210 2,114 Jaime 29,750 11,596 Sherae 26,934 4,667 Binny 22,536 5,689 Roger 24,900 2,310 Dong-Gil 21,369 2,650 Alex 16,842 4,505 Jay 31,658 3,657 Vivek 23,887 4,321 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 If you randomly select a line of code from Liwei, what is the probability that the line of code will require editing? Round your answer to four decimal places. 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.
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. Total Lines of Code Number of Lines of Code Programmer Written Requiring Edits Liwei 24,830 5,432 Andrew 16,210 2,114 Jaime 29,750 11,596 Sherae 26,934 4,667 Binny 22,536 5,689 Roger 24,900 2,310 Dong-Gil 21,369 2,650 Alex 16,842 4,505 Jay 31,658 3,657 Vivek 23,887 4,321 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 If you randomly select a line of code from Liwei, what is the probability that the line of code will require editing? Round your answer to four decimal places. 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.
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
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 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.
Total Lines of Code | Number of Lines of Code | |
Programmer | Written | Requiring Edits |
Liwei | 24,830 | 5,432 |
Andrew | 16,210 | 2,114 |
Jaime | 29,750 | 11,596 |
Sherae | 26,934 | 4,667 |
Binny | 22,536 | 5,689 |
Roger | 24,900 | 2,310 |
Dong-Gil | 21,369 | 2,650 |
Alex | 16,842 | 4,505 |
Jay | 31,658 | 3,657 |
Vivek | 23,887 | 4,321 |
- 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
-
- If you randomly select a line of code from Liwei, what is the probability that the line of code will require editing? Round your answer to four decimal places.
- 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.
Expert Solution
Step 1
Given
Programmer | Total lines of code Written | Number of lines of code Requiring Edits |
Liwei | 24,830 | 5,432 |
Andrew | 16,210 | 2,114 |
Jaime | 29,750 | 11,596 |
Sherae | 26,934 | 4,667 |
Binny | 22,536 | 5,689 |
Roger | 24,900 | 2,310 |
Dong-Gil | 21,369 | 2,650 |
Alex | 16,842 | 4,505 |
Jay | 31,658 | 3,657 |
Vivek | 23,887 | 4,321 |
Trending now
This is a popular solution!
Step by step
Solved in 4 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.Recommended textbooks for you
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman