Engineering MathematicsHardGATE CS (PYQ pattern)
A fair coin is tossed until the same face appears three times in a row (HHH or TTT). What is the expected number of tosses?
- A. 14
- B. 8
- C. 6
- D. 7
Correct answer: D. 7
After the first toss we have a run of length 1. Let eₖ be the expected further tosses from a run of length k: e₁ = 1 + ½e₂ + ½e₁, e₂ = 1 + ½·0 + ½e₁. Then e₁ = 6, e₂ = 4, and the answer is 1 + 6 = 7. (14 is the wait for HHH alone.)
Practise more Engineering Mathematics (GATE) questionsEngineering Mathematics (GATE): notes and key points
More Engineering Mathematics (GATE) questions
- Three fair dice are rolled. Given that the largest number shown is exactly 4, what is the probability that the smallest number shown is…
- A fair coin is tossed 6 times. What is the probability of at least 4 heads?
- Calls arrive as a Poisson process of rate 4 per hour. Given that exactly 3 calls arrived during the first hour, what is the probability…
- X₁, X₂, X₃ are independent exponentials with rates 1, 2 and 3. What is P(X₁ < X₂ < X₃)?
- X is uniform on [−1, 2] and Y = X². What is Cov(X, Y)?
- X and Y are independent and uniform on [0, 1]. What is P(|X − Y| < 1/3 | X + Y > 1)?