Question

How many bit strings of length 12 contain the substring "111000"?

How many bit strings of length 12 contain the substring "111000"?

Homework Answers

Answer #1

Each bit can be fill by 2 ways either 0 or 1. Out of the 12 bits we need a substring of length 6 which is '111000'

So, first we select the bit from where it can start. So, it can come from 1st bit to 7th bit as after that there will not be 6 bits to fill in. So, there is 7 ways to put this substring.

Then in the remaining 6 bits each can be filled by 2 ways.

Hence, total ways =

Hence, 448 strings of length 12 contain the substring '111000'.

Please comment if any doubt. Thank you.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
This is a Discrete math problem. a. How many bit strings of length 12 are there...
This is a Discrete math problem. a. How many bit strings of length 12 are there in total? b. How many bit strings of length 12 contain an odd number of 1s? c. How many bit strings of length 12 contain “111000” as a substring of 6 consecutive bits in a row?
(a) How many 12-bit strings contain exactly five 1's? (b) How many 12-bit strings contain at...
(a) How many 12-bit strings contain exactly five 1's? (b) How many 12-bit strings contain at least nine 1's? .(c) How many 12-bit strings contain at least one 1? (d) How many 12-bit strings contain at most one 1?
(a) Find a recurrence relation for the number of bit strings of length n that contain...
(a) Find a recurrence relation for the number of bit strings of length n that contain the substring 10. (b) What are the initial conditions? (c) How many bit strings of length seven (i.e. a7) contain the substring 10?
Assume strings contain ONLY the letters: a, b. How many bit strings of length 8 either...
Assume strings contain ONLY the letters: a, b. How many bit strings of length 8 either start with bbb or end with aa ?
Consider strings of length 8 made up of elements in {0,1}. How many strings contain 000...
Consider strings of length 8 made up of elements in {0,1}. How many strings contain 000 as a substring? How many strings contain more 0’s than 1’s?
How many bit strings of length 20 are there that contain eight 1s and twelve 0s...
How many bit strings of length 20 are there that contain eight 1s and twelve 0s so that each 1 is followed by one 0 immediately?
How many bit strings with length 8 does not contain two consecutives 1’s, i.e., does not...
How many bit strings with length 8 does not contain two consecutives 1’s, i.e., does not contain the sub string 11.
How many binary strings of length 15 contain the same bit in all the odd numbered...
How many binary strings of length 15 contain the same bit in all the odd numbered positions? The positions are numbered 1, 2, . . . , 15. Show how you arrived at your answer, which rules of counting were used etc. Thank You
How many 8-bit strings contain 5 or more 1’s?
How many 8-bit strings contain 5 or more 1’s?
How many eight-bit strings contain exactly 5 0's?
How many eight-bit strings contain exactly 5 0's?
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT