Mathematics (JEE)HardGATE CS

How many binary strings of length 7 have exactly three 1s, and no two 1s adjacent?

  1. A. 35
  2. B. 20
  3. C. 10
  4. D. 15

Correct answer: C. 10

Place the three 1s among the 4 zeros' gaps: the 4 zeros create 5 gaps, and each 1 goes into a distinct gap: C(5,3) = 10.

More Permutations, Combinations and Probability questions

Exams that ask this topic