Bird
0
0

What is the error and the correct coding cost if testing costs 4 times coding cost?

medium📝 Debug Q6 of 15
Testing Fundamentals - Why Software Testing Matters
A test report shows a bug fixed during testing costs $400. The report mistakenly states fixing it during coding costs $600. What is the error and the correct coding cost if testing costs 4 times coding cost?
AError: coding cost too low; Correct coding cost is $1600
BError: coding cost too high; Correct coding cost is $100
CNo error; coding cost is correct
DError: testing cost too low; Correct testing cost is $2400
Step-by-Step Solution
Solution:
  1. Step 1: Understand cost relation

    Testing cost = 4 * coding cost; Given testing cost = $400.
  2. Step 2: Calculate correct coding cost

    Coding cost = 400 / 4 = $100; Report states $600, which is too high.
  3. Final Answer:

    Error: coding cost too high; Correct coding cost is $100 -> Option B
  4. Quick Check:

    Coding cost = Testing cost / 4 = $100 [OK]
Quick Trick: Divide testing cost by 4 for coding cost [OK]
Common Mistakes:
  • Assuming coding cost is higher than testing
  • Not dividing testing cost correctly
  • Ignoring the cost relation

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Testing Fundamentals Quizzes