Mathematics (JEE)Very hardGATE CS · ICPC
A fair coin is tossed 6 times. A run is a maximal block of consecutive identical outcomes. What is the expected number of runs?
- A. 3
- B. 4
- C. 6
- D. 7/2
Correct answer: D. 7/2
The number of runs is 1 plus the number of positions where consecutive tosses differ. Each of the 5 adjacent pairs differs with probability 1/2, so E = 1 + 5/2 = 7/2.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- A fair coin is tossed 10 times. Let D be the number of heads minus the number of tails. What is Var(D)?
- A permutation of the numbers 1, 2, 3, 4 is chosen uniformly at random and viewed as a function on {1, 2, 3, 4}. What is the expected…
- A permutation of 1, 2, 3, 4, 5 is chosen uniformly at random. An inversion is a pair of positions i < j with pi > pj. What is the expected…
- A permutation of 1, 2, 3, 4, 5 is chosen uniformly at random. A left-to-right maximum is an entry larger than every entry before it (the…
- A permutation of 1, 2, 3, 4, 5 is chosen uniformly at random. How many pairs of consecutive values (i, i+1), for i = 1 to 4, end up next…
- A permutation of 1, 2, 3, 4 is chosen uniformly at random. A descent is a position i with pi > p(i+1). What is the expected number of…