Question

How many 8-bit strings contain 5 or more 1’s?

How many 8-bit strings contain 5 or more 1’s?

Homework Answers

Answer #1

Here we need to find how many 8-bit strings contain 5 or more 1's.

We know that a byte is a string of 8 bits and bit string contains 0 or 1.

Now a 8-bit string is entirely determined by the location of the 1's

Case 1: There are 5 1's.

Now number of ways by which we can arrange 5 1's in 8 positions is=

Case 2: There are 6 1's.

Now number of ways by which we can arrange 6 1's in 8 positions is=

Case 3: There are 7 1's.

Now number of ways by which we can arrange 7 1's in 8 positions is=

Case 4: There are 8 1's.

Now number of ways by which we can arrange 8 1's in 8 positions is=

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
(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?
How many eight-bit strings contain exactly 5 0's?
How many eight-bit strings contain exactly 5 0's?
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.
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 12 contain the substring "111000"?
How many bit strings of length 12 contain the substring "111000"?
how many 8 bit strings begin or end with 1 ? * Is there a simple...
how many 8 bit strings begin or end with 1 ? * Is there a simple way of solving this problem ?*
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?
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) 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?
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT