Mathematics (JEE)HardGATE CS
A binary string of length 8 is chosen uniformly at random. What is the probability that it contains no two consecutive 1s?
- A. 34/256
- B. 55/256
- C. 21/64
- D. 1/4
Correct answer: B. 55/256
The number of such strings is F₁₀ = 55, so the probability is 55/256. Option 34/256 is the count for length 7.
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, 4, 5 is chosen. What is the probability that 1 appears before 2 and 3 appears before 4?
- For a uniformly random permutation of 1, 2, 3, 4, 5, what is the expected number of inversions (pairs i < j with the i-th entry greater…
- In how many ways can 8 identical balls be put into 4 distinct boxes so that the first box receives at most 2 balls?
- How many non-negative integer solutions are there to x + y + z + w = 12 with x ≤ 4?
- How many permutations of 1, 2, 3, 4, 5, 6 have no fixed point and no i with p(i) = i + 1 (for i from 1 to 5)?
- In how many ways can the letters of BANANA be arranged so that no two N's are adjacent?