how many 12bit strings begin with 0101 end with 110 and have

how many 12-bit strings begin with 0101, end with 110 and have 0010 as the four middle

Solution

a)out of 12 bits the first 4 bits are already given hence there are 8 bits to be filled each bit is having two chances either 0 or 1 so total no of possibilities is 2^8

b)out of 12 bits the end 3 bits are already given hence there are 9 bits to be filled each bit is having two chances either 0 or 1 so total no of possibilities is 2^9

c)similarly as already four bits arre choosen as earlier answer is 2^8

how many 12-bit strings begin with 0101, end with 110 and have 0010 as the four middleSolutiona)out of 12 bits the first 4 bits are already given hence there ar

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site