Mathematics (JEE)Very hardCAT · MBA placement
A binary string of length 4 is chosen uniformly at random. What is the expected number of runs (maximal blocks of equal digits) in it?
- A. 2
- B. 5/2
- C. 3
- D. 4
Correct answer: B. 5/2
A run starts at position 1 and at each position 2 to 4 where the digit changes; the expected number of changes is 3/2, so the expected number of runs is 1 + 3/2 = 5/2. Option 2 counts only the changes.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- A uniformly random permutation of 1, 2, 3 is chosen. What is the expected number of cycles in its cycle decomposition?
- A uniformly random permutation of 1, 2, 3, 4, 5 is chosen. What is the probability that p(1) > p(2) > p(3)?
- Four distinct numbers are chosen uniformly at random from {1, 2, …, 10}. What is the probability that the largest of them is 9?
- Two distinct numbers are chosen uniformly at random from {1, 2, …, 9}. What is the probability that their sum is even?
- A fair coin is tossed 4 times. What is the probability that the number of heads is strictly greater than the number of tails?
- How many lattice paths from (0, 0) to (4, 4) using unit steps right and up avoid the point (1, 1)?