Question

(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?

Homework Answers

Answer #1

a) Total strings = C(12, 5) =

C(12, 5) because we need to select those 5 places where we are putting 1 and rest of the places will go with 0.

Total such strings = 792

b) At least nine 1's = (nine 1's) + (ten 1's) + (eleven 1's) + (Twelve 1s)

= 299

Hence total 299 such strings are possible.

c) At least one 1 = 2^12 - (no one) = 4096 - 1 = 4095

d) At most one 1 = (no 1s) + (one 1) =C(12,0) + C(12, 1) = 1 + 12 = 13

I hope these will help. Thank you.

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
How many eight-bit strings contain exactly 5 0's?
How many eight-bit strings contain exactly 5 0's?
How many 8-bit strings contain 5 or more 1’s?
How many 8-bit strings contain 5 or more 1’s?
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?
How many bit strings of length 12 contain the substring "111000"?
How many bit strings of length 12 contain the substring "111000"?
Discrete Math a.) How many bit strings are there of length five or less, not counting...
Discrete Math a.) How many bit strings are there of length five or less, not counting the empty string? b.) How many different three-letter initials with none of the letters repeated can people have? c.) How many different three-letter initials are there that begin with the letter B? d.) How many 5-element DNA sequences end with A? e.) How many bit strings of length nine both begin and end with 1?
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 ?
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?
(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?
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?