392 views

1 Answer

Best answer
9 votes
9 votes
Total number of bit strings of length $6 = 2^6$ as each of the $6$ positions has $2$ options - $0$ or $1.$

Number of bit strings of length $6$ containing $1111$ as a substring = $8$

(001111, 011111, 101111, 111111, 111100, 111101, 111110, 011110)

$\therefore$ Total number of strings of length $6$ which does not contain $1111$ as a substring $= 64-8 =56$.
selected by
Answer:

Related questions

2 votes
2 votes
1 answer
1
gatecse asked Jun 28, 2020
222 views
The minimum number of people that must be in a room to ensure that at least three were born on the same day of the week is $\_\_\_\_\_$
4 votes
4 votes
1 answer
2
gatecse asked Jun 28, 2020
297 views
Consider a set $A$ with $6$ elements. Let $N_1$ denote the number of bijective functions from $A$ to $A$ and let $N_2$ denote the number of onto (surjective) functions fr...
4 votes
4 votes
1 answer
3
gatecse asked Jun 28, 2020
190 views
Number of bit strings of length $10$ that do not end in “$111$” is $\_\_\_\_$
4 votes
4 votes
1 answer
4
gatecse asked Jun 28, 2020
206 views
The number of positive integers less than $1000$ which are divisible by $7$ but not by $11$ is $\_\_\_\_$