Question

In: Computer Science

A total of 10000 hours was spent inspecting 400,000 lines of code with the result that...

    1. A total of 10000 hours was spent inspecting 400,000 lines of code with the result that 6000 potential defects were prevented. Assume that a programmer cost $55/hour.  
  1. What is the total cost of preventing 6000 defects?
  2. What is the cost of preventing one defect?
    1. Suppose that there had been no inspections and three defects per 1000 lines of code escaped into the shipped product. In order to fix a field defect, it cost $30000 per defect.
  1. How many defects per 400,000 lines of code will be escaped?
  2. What is the overall cost of fixing field defects (derived/computed in part a)?
  3. What is the cost relationship between the overall cost calculated in 3.1 and overall cost calculated in 3.2?

Solutions

Expert Solution

3.1

(b & c)

Python Program:

total_hours = 10000
lines_of_code = 400000
potential_defects = 6000
programmer_cost = 55

total_cost1 = total_hours * programmer_cost
cost_one_defect = total_cost1 // potential_defects
print("total cost of preventing 6000 defects : ", total_cost1)
print("the cost of preventing one defect : ", cost_one_defect)

Output:

3.2

(a & b)

Python Program:

defect_per_1000 = 3
cost_per_defect = 30000
lines_of_code = 400000
total_defects = defect_per_1000 * (lines_of_code // 1000)
total_cost2 = total_defects * cost_per_defect
print("total defects per 400,000 lines of code will be escaped : ", total_defects)
print("the overall cost of fixing field defects : ", total_cost2)

Output:

(c.)

3.1 ====> 6000 defects <--> $550000

3.2 ====> 1200 defects <--> $36000000

The overall cost in 3.1 is 550000 and in 3.2 is 36000000. The 3.1 is too cost-effective as you can see there is a large difference in the overcall cost. I definitely suggest the company have to use 3.1 by fixing the amount of the programmer. And yes you can take half of the 3.2 overall cost amount as a budget to find defects so that you can complete the work in the figure around 3.1 and save money from it.

Thumbs Up Please !!!


Related Solutions

Ashley Limited‘s overhead costs of $700,000 consist of machining $400,000; inspecting $200,000; and packaging $100,000. Machining...
Ashley Limited‘s overhead costs of $700,000 consist of machining $400,000; inspecting $200,000; and packaging $100,000. Machining works 4,000 hours a year, 500 inspections occur each year, and 1,000 packing order occur each year. Information on the company’s two products are as follows:                                                         Theta                Beta Machining hours                      1,000                  3,000 Inspections                                    100                      400 Packing orders                             350                      650 Direct labor hours                    1,700                  1,800 How much overhead is allocated to Beta using a single overhead rate (based on direct labor hours) and using ABC, respectively? a. $340,000 and $360,000 b. $340,000 and $175,000...
Setting up values in SPSS - hours spent at work - days spent at work Are...
Setting up values in SPSS - hours spent at work - days spent at work Are these considered ordinal or scale variables? Why?
Jackson Corp. is a telecommunication company. The company spent $300,000 in 2017, $400,000 in 2018, and...
Jackson Corp. is a telecommunication company. The company spent $300,000 in 2017, $400,000 in 2018, and $350,000 in 2019 leasing and maintaining equipment for its cable and Internet service division. The company capitalized the spending and would amortize it over a period of 5 years. Intangible assets are usually amortized using straight-line method. In December 2019, before closing books for 2019, Jackson Corp. reviewed its accounting practice with its auditor. During the review process, the auditor pointed out that all...
ABC spent $ 7,728,750 retrofitting a complex in the Province of Alberta. As a result, the...
ABC spent $ 7,728,750 retrofitting a complex in the Province of Alberta. As a result, the province’s energy bill dropped from $10 million a year to $5 million. Moreover, both parties will benefit from the 10-year life of the contract. During this period, ABC recovers half the money saved in reduced utility costs; Alberta has the other half to spend on other things. What is the rate of return realized by ABC?
A firm incurred a total fixed cost of $400,000 and total variable cost of $600,000 to...
A firm incurred a total fixed cost of $400,000 and total variable cost of $600,000 to produce 50,000 units of output. What are the average fixed cost (AFC), average variable cost (AVC), and average total cost (ATC)?
KADS, Inc. has spent $400,000 on research to develop a new computer game. The firm is...
KADS, Inc. has spent $400,000 on research to develop a new computer game. The firm is planning to spend $200,000 on a machine to produce the new game. Shipping and installation costs of the machine will be capitalized and depreciated using bonus depreciation; they total $50,000. The machine has an expected life of three years and a $75,000 estimated resale value. Revenue from the new game is expected to be $600,000 per year, with fixed costs of $250,000 per year....
Apricot, Inc. has spent $400,000 on research to develop a new computer game. The firm is...
Apricot, Inc. has spent $400,000 on research to develop a new computer game. The firm is planning to spend $200,000 on a machine to produce the new game. Shipping and installation costs of the machine will be capitalized and depreciated; they total $50,000. The machine has an expected life of 3 years, a $75,000 estimated resale value, and falls under the MACRS 7-Year class life. Revenue from the new game is expected to be $600,000 per year, with costs of...
KADS, Inc., has spent $400,000 on research to develop a new computer game. The firm is...
KADS, Inc., has spent $400,000 on research to develop a new computer game. The firm is planning to spend $200,000 on a machine to produce the new game. Shipping and installation costs of the machine will be capitalized and depreciated; they total $50,000. The machine has an expected life of three years, a $75,000 estimated resale value, and falls under the MACRS 7-year class life. Revenue from the new game is expected to be $600,000 per year, with costs of...
The number of hours 10 students spent studying for a test and their scores on that...
The number of hours 10 students spent studying for a test and their scores on that test is represented in the table below. Hours spent studying, x 0 2 4 5 5 5 6 7 8 9 Test scores, y 40 51 64 69 73 75 93 90 95 95 7) What amount of the variance in test score (y) do the hours spent studying (x) account for this sample? (r2 =?) Interpret the result in the context of the...
The number of hours 1010 students spent studying for a test and their scores on that...
The number of hours 1010 students spent studying for a test and their scores on that test are shown in the table. Is there enough evidence to conclude that there is a significant linear correlation between the​ data? Use alphaαequals=0.050.05. ​ Hours, x 00 11 22 44 44 55 55 66 77 88 Test​ score, y 4141 4040 5555 5656 6464 6666 7575 7878 8181 9797 LOADING... Click here to view a table of critical values for​ Student's t-distribution. Setup...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT