Qm

Random defect rate, then inspect twelve items

A machine's defect rate for the day, pp, is a random number spread evenly between 00 and 11 (you have no idea whether the machine is running well or poorly). Once the rate is set, you inspect 1212 items produced that day, each defective independently with probability pp.

How many defective items should you expect?

Your answer

Solving needs a free account

Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.

Discussion

Sign in to join the discussion · reading is open to everyone

💡 Discussion rules

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

A coin of random bias, then twenty flipsEach archer's accuracy is random, then sixteen shotsPick a coin from a mixed bag, then flip ten timesA die picks the bias, then eight flipsAn amoeba that dies, stays, or splits each minute
All questions →