retagged by
3,841 views
2 votes
2 votes

How many bit strings contain exactly eight 0s and 10 1s if every 0 must be immediately followed by a 1?

I got answer 9C2=36.Answer given 45

retagged by

2 Answers

Best answer
11 votes
11 votes
Consider the following arrangement of eight 0 ans 1.
_01_01_01_01_01_01_01_01_
Now the additional two 1's can be placed separately in 9C2 and placed together in 9 ways.
So the answer is 9C2+9=36+9=45.
edited by
1 votes
1 votes
the bit strings must consist of eight 01 substrings and two 1s. Thus, there
are ten total positions and choosing the two positions for the 1s determines the string.
There are
10C2=45 such strings

Related questions

1 votes
1 votes
0 answers
2
Vaishnavi01 asked Oct 24, 2018
294 views
In how many ways a team of 11 players be selected from 14 players when two of them can play as goalkeepers only?
6 votes
6 votes
0 answers
3
[ Jiren ] asked Aug 22, 2022
478 views
How many ways are there to Distribute 7 distinct objects to 3 Distinct boxes andNo box should be EmptyAny box can be Empty
1 votes
1 votes
1 answer
4
Akriti sood asked Nov 7, 2016
599 views
There are 10 bacteria in a flask. Every hour 3 bacteria die and the remaining ones are each divided into 2 after 1 day, how many bacteria will live there?Assume that the ...