The no. of 6 bit strings
either begins with 11or end with 101 are
Answers
Answer: As and .
Step-by-step explanation: As the no. of 6-bit strings
As it either begins with 11 or ends with 101.
As the strings start with 11: 11xxxx
So Combination.
And now ends with 101: xxx101
So Combination.
#SPJ3
Answer:
The number of 6-bit strings that either begins with 11 or end with 101 is 22.
Step-by-step explanation:
We know that the number of n-bit strings possible is given as .
Now, for the string that begins with 11,
Out of 6-bits, two places are already fixed. Therefore, the number of strings starting with 11 is given as,
Now for the string that ends with 101,
Out of 6-bits, three places are already fixed. Therefore, the number of strings ending with 101 is given as,
Therefore, the total number of strings that either begins with 11 or ends with 101 (two is subtracted for repeated strings considered in both cases).
#SPJ3