1. A software division of Emazon produces 20000 lines of code every day. Each li
ID: 3052455 • Letter: 1
Question
1. A software division of Emazon produces 20000 lines of code every day. Each line of code could be either defective or non-defective. The software tester is responsible for identifying faulty lines of code. Using the probability framework, describe the following: (10 points) Describe the random experiment in this case Describe sample space in this problem for a given day. (hint: the software tester is interested in faulty code) Describe a potential outcome for a random day. Identify an event. How do you calculate the probability of this event you described? a. b. c. d. e.Explanation / Answer
Solution:
a) The random experiment in this case is whether or not the line of code will be defective or non-defective.
b) The sample space in this problem is all the lines of code whether they are defective or not. In this case, the testers are trying to calculate which lines are faulty or defective.
c) A potential outcome for a random day, is going through a particular line of code and concluding that it is non-defective.
d) The probability of a line of code being defective is 0.05. Therefore, there is about one defective line for every 1000 lines without a defect.
e) To calculate this probability, I used subjective probability to determine the percentage 0.05 and used it to determine the estimated number of defected lines out of all 20000.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.