wandaclay2589 wandaclay2589
  • 08-04-2020
  • Computers and Technology
contestada

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

Respuesta :

ohismike24
ohismike24 ohismike24
  • 10-04-2020

Answer:

448 strings

Explanation:

Each bit string can be filled by two ways either 0 or 1. If the bit strings of length contain the substring '111000' we therefore need a substring of length 6.

The selection of bits starts from the 1st bit to 7th bit enclosing the substring 111000 and ensuring that the length 6 are all filled. So, there will be  7 ways to contain this substring.

The total ways to contain this substring = 7*2^6 =448

Therefore 448 strings of length 12 contain the substring '111000'.

Answer Link

Otras preguntas

Which variety of mouse is more likely to survive in a dry desert? (1 point) O a mouse that has a shorter tail O a mouse that has a longer tail O a mouse that ne
Read the excerpt from "Daughter of Invention". "Sticks and stones don't break bones," she chanted. Yoyo could tell, though, by the look on her face, it was as i
A rectangular cracker has a length of 5 centimeters and an area f 20 square centimeters. Find its perimeter.
what value of x makes the equation true?
This is important for an exam tommorow.Pls answerWhich option completes the phrase below to make a grammatically correct sentence? Samita was walking down the s
she always comes to school (simple past )​
solve general solutions [tex] \sqrt{3tan \:} (2x - 10) + 1 = 0[/tex]​
need help with this math hw
if x+y = -10 and x-y = 2 what is the value of x
Can someone help me?