Mathematics (JEE)ModerateGATE CS

A fair coin is tossed repeatedly until both a head and a tail have appeared at least once. What is the expected number of tosses?

  1. A. 2
  2. B. 3
  3. C. 5/2
  4. D. 4

Correct answer: B. 3

The first toss sets one face. From then on, the wait for the other face is geometric with success probability 1/2, with mean 2. So the expected total is 1 + 2 = 3.

More Permutations, Combinations and Probability questions

Exams that ask this topic