Skip to interview prep
Apexed

87. A fictional task succeeds independently with 80% probability per attempt. Each attempt costs 10 units; stop at first success or after two attempts. What are success probability and expected cost?

HardSituational & STAR

Case
Show model answer

Both attempts fail with probability 0.2 times 0.2, or 4%, so success within the limit is 96%. Every case pays 10 units for the first attempt; the 20% needing a second adds an expected 2, making expected cost 12.

Independence and the stopping rule are essential. Individual cases cost 10 or 20; 12 is the expected average, not a guaranteed bill.

What interviewers listen for

  • Calculate 1−0.2²=96% success
  • Calculate 10+0.2×10=12 expected cost
  • State independence and distinguish average from individual cost
A fictional task succeeds independently with 80% probability per attempt. Each attempt costs 10 units; stop at first success or after two attempts. What are suc