Question

How many bitstrings of length 10 contain at least one zero?

How many bitstrings of length 10 contain at least one zero?

Homework Answers

Answer #1

A 10 digit string containing all 1s - 1111111111

And in all 10 digit string there would be atleast one 0.So our required answer would be total number of possibilities minus 1(ie the number with all 1s)

now we calculate no. Of possibilities of a 10 digit binary number - each digit has 2 options(either zero or one)

And the frst digit should always be 1(if it were to be zero it would reduce to 9 digit number)

So remaining are 9 digits and each digit has 2 options.So the total number of possibilities are 2*2*2.....9times=2^9

Now required answer is = 2^9-1

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
Do each of the following. a) How many ternary strings of length 20 contain at least...
Do each of the following. a) How many ternary strings of length 20 contain at least four 1s? (Hint: A ternary string consists of 0s, 1s, and 2s.) b) How many ternary strings of length 20 contain exactly four 1s?
how many 3-digit numbers are there that contain at least one three?
how many 3-digit numbers are there that contain at least one three?
A passcode consists of uppercase letters and numbers. How many passcodes of length 6 contain at...
A passcode consists of uppercase letters and numbers. How many passcodes of length 6 contain at least one A?
How many positive integers less than 10000 are there which contain at least one 3 or...
How many positive integers less than 10000 are there which contain at least one 3 or at least one 8 (or both)?
(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 numbers between 0 and 57343 contain at least one letter when written in base...
How many numbers between 0 and 57343 contain at least one letter when written in base 16? Show work as if not using a calculator or computer?
How many bit strings of length 12 contain the substring "111000"?
How many bit strings of length 12 contain the substring "111000"?
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?
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 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.
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT