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?

  1. A. 34/256
  2. B. 55/256
  3. C. 21/64
  4. 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.

More Permutations, Combinations and Probability questions

Exams that ask this topic