SOLUTION: how many bit string of length eight either start with a 1 bit or end with the two bits 00
Algebra.Com
Question 401664: how many bit string of length eight either start with a 1 bit or end with the two bits 00
Found 2 solutions by Alan3354, Jk22:
Answer by Alan3354(69443) (Show Source): You can put this solution on YOUR website!
how many bit string of length eight either start with a 1 bit or end with the two bits 00
----------------
Starting with the 1 bit = 128 to 255 = 128 numbers
Ending with 00 = 256/4 = 64 numbers
Half of these 64 numbers start with 1, leaving 32.
Assuming starting with 1 and ending with 00 is counted only once:
128 + 32 = 160 numbers
Answer by Jk22(389) (Show Source): You can put this solution on YOUR website!
We add the possibilities : if it starts with bit 1, but does not stop with 00 in order not to count doubly, we get : 2^5 for bits 2,3,4,5,6, times 3 possibilities for bits 7,8 should not equal 00, hence 32*3
these possibilities have to be added to all cases where the first bit is 0, and the 2 last 00, which makes bits 2,3,4,5,6 free, or 2^5=32
the total number of possibilities are then : 32*4=64*2=128 possibilities.
RELATED QUESTIONS
A "bit" is a computer term for one of the digits 0 or 1. A "bit-string" of length 9 is a... (answered by swincher4391)
How many 11-bit strings (that is, bit strings of length 11) are there which:
a)Start... (answered by ikleyn)
How many 12-bit strings (that is, bit strings of length 12) are there which:
have weight (answered by ikleyn)
How many bit strings of length 9 either begin with 2 bit(s) equal to 0 or end with 3... (answered by edjones)
A bit is a 0 or a 1. A bit string of length 7 is a sequence of 7 digits, all of which are (answered by collegegirl11)
How many 12-bit strings (that is, bit strings of length 12) are there which have weight 7 (answered by ikleyn)
A byte is a sequence of eight bits. A bit can be a 0 or a 1. In how many distinguishable... (answered by richard1234)
Determinants: Let M = (
𝑎
𝑐
𝑏
𝑑
) is a 2x2 matrix.
a. For which values... (answered by ikleyn)
How many 9-bit strings are there which:
a) Start with the sub-string 101?
b)... (answered by Edwin McCravy)