Question

Discrete Structures problem numbers are b = 3 and c = 6. Substitute your values for...

Discrete Structures problem

numbers are b = 3 and c = 6.

Substitute your values for b and c in the questions below.

Show work for all the questions. Do enough typing to convince me you are calculating values by hand, without using a calculator.

a) How many total distinct bitstrings are there or length 9?

b)  How many bitstrings of length 9 are there with at least b zeros and fewer than c zeros?

c) How many bitstrings are there of length 9 with either fewer than b zeros or at least c zeros. Use parts a and b.

d) How many bitstrings are there of length 9 in which each '0' is immediately followed by a '1' ?

e) In what format did I deliver the lecture on RSA?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

given, b=3 and c=6

here aCb= a combination b = a!/(a-b)!b!

in all questions bitstring lenght is 9

a) since lenght of bitstring is 9, there are 9 positions of '1's and '0's. and for each position there are two choices either '1' or '0'. so number of bitstrings = 2*2*2*2*2*2*2*2*2 (9 times correspoding to each of 9 positions).

Ans. number of bitstrings of lenght 9 = 2^9 = 512

b) number of bitstrings with atleast 3 zeros and less than 6 zeros.

= number of bitstrings with (exactly 3 zeros) + (exactly 4 zeros) + (exactly 5 zeros).

= 9C3 (chosing 3 positions out of 9 for 0 and placing 1 on other positions)   + 9C4 + 9C5 (similarly for 4 zeros and 5 zeros.)

9C3= 9!/6!3! = 7*8*9/6 =84, 9C4= 9!/5!4!= 6*7*8*9/24=126, 9C5= 126 similarly.

so Ans = 9C3+9C4+9C5= 84+126+126= 336

c) fewer than 3 zeros and atleast 6 zeros.

= number of bitstring with ( exactly 0 zeros) + ( exactly 1 zeros) + ( exactly 2 zeros) + ( exactly 6 zeros) + ( exactly7 0 zeros) + ( exactly 8 zeros) + ( exactly 9 zeros)

= 9C0+ 9C1 + 9C2 + 9C6 + 9C7 + 9C8 + 9C9

= 1 + 9 +36 + 84 + 36 + 9 + 1 =176

Ans = 176

d) bitstrings in which each '0' is immediately followed by a '1'

0 cannot be at 9th position since it cannot be followed by 1. so 9th position must be 1.

on first 8 positions each 0 is followed by 1. so there can be atmost 4 zeros. we again make cases on number of '0's.

if number of '0' is zero. then only one bitstring possible with all '1's. = 1

if number of '0' is one. then 0 can be placed at any of 8 places. = 8 btstrings

if number of '0's is two. then two '0's can be placed at any two places of 8 expect consecutive ones. = 8C2 - 7( consecutive positions) = 28-7= 21.

if number of '0's is three. = 24 ( in this case we again have to consider cases with case 1 being 1st position have zero then second must have '1' and ways of putting 2 '0's in 6 remaining position is 6C2-5. case 2 being 2nd position have '0' then 1st and third must have '1' and ways of putting 2 '0's in remaing 5 places is 5C2 - 4. case 3 being first 2 positions are '1's are third one is '0'. so ways of putting 2'0's in 4 places is 4C2-3.) adding them gives 24

if number of '0's is four. only two bitstrings possible with alternate zeros. = 2

Ans. = 1 + 8 + 21 + 24 + 2 = 56.

Add a comment
Know the answer?
Add Answer to:
Discrete Structures problem numbers are b = 3 and c = 6. Substitute your values for...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Discrete Structures problem numbers are b = 3 and c = 6. Substitute your values for...

    Discrete Structures problem numbers are b = 3 and c = 6. Substitute your values for b and c in the questions below. Show work for all the questions. Do enough typing to convince me you are calculating values by hand, without using a calculator. a) How many total distinct bitstrings are there or length 9? b)  How many bitstrings of length 9 are there with at least b zeros and fewer than c zeros? c) How many bitstrings are there...

  • your numbers are b = 4 and c = 7. Substitute your values for b and...

    your numbers are b = 4 and c = 7. Substitute your values for b and c in the questions below. Show work for all the questions. Do enough typing to convince me you are calculating values by hand, without using a calculator. a) How many total distinct bitstrings are there or length 9? b) How many bitstrings of length 9 are there with at least b zeros and fewer than c zeros? c) How many bitstrings are there of...

  • Discrete Structures problem Suppose we use p = 7 and q = 5 to generate keys...

    Discrete Structures problem Suppose we use p = 7 and q = 5 to generate keys for RSA. a) What is n ? b) What is on)? c) One choice of e is 5. What are the other choices for e? d) Explain how you got your answer for part c. e) For the choice of e = 5 what is d? Show work. f) Using the public key (n, e), what is the message 3 encrypted as? Show work...

  • Hexadecimal digits are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C,...

    Hexadecimal digits are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F. (Please explain briefly) How many hexadecimal strings of length ten have at least three E’s? How many hexadecimal strings of length ten have exactly two A’s and at most two B’s? How many hexadecimal strings of length ten have six digits from the set 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and four digits from the set...

  • Discrete Mathematics. Counting problem. Please answer question A), question B), question C), question D), question E), q...

    Discrete Mathematics. Counting problem. Please answer question A), question B), question C), question D), question E), question F) Exercise 10.12.5: Ordering jobs in a printer queue. About There are eight different jobs in a printer queue. Each job has a distinct tag which is a string of three upper case letters. The tags for the eight jobs are: {LPW, QKJ, CDP, USU, BBD, PST, LSA, RHR} (a) How many different ways are there to order the eight jobs in the...

  • 3.) will use b = 5 c = 25. Recall, a number expressed in base b...

    3.) will use b = 5 c = 25. Recall, a number expressed in base b is a sequence of digits e.g. d3 d2 d1 d0 where each of the digits is between 0 and b-1. The value of d3 d2 d1 d0 would be d3 × b3 + d2 × b2 +d1 × b1 +d0 × b0 . In the case where b is bigger than 10, some of the digits will be letters. For example, if b is...

  • discrete math '-(oe : length(a) 29, be the alphabet {a,b,c,d,e,f,g) and let 7. Let a) How many elements are in the following set? {ωΣ: no letter in ω is used more than once) b) Find the proba...

    discrete math '-(oe : length(a) 29, be the alphabet {a,b,c,d,e,f,g) and let 7. Let a) How many elements are in the following set? {ωΣ: no letter in ω is used more than once) b) Find the probability that a random word we has al distinct letters. e) Find the probability that a random word oe has the letter g used exactly once. d) Find the probability that a random word e does not contain the letter g. '-(oe : length(a)...

  • 1. Three 6-sided dice are tossed. Let X denote the sum of the 3 values that...

    1. Three 6-sided dice are tossed. Let X denote the sum of the 3 values that occur. (a) How many ways can we have X = 3. (b) How many ways can we have X = 4. (c) How many ways can we have X = 5. (d) How many ways can all three dice give the same value? (e) How many ways can the dice give three distinct values? (f) How many ways can the first toss be the...

  • please help on all questions in the pics... numbers: b, c, d, e, f 3. A...

    please help on all questions in the pics... numbers: b, c, d, e, f 3. A student collected the following data in the laboratory. mass of flask, g 52.87 mass of flask and sample, g 53.42 concentration of NaOH solution, M 0.101 initial buret reading, mL 23.78 final buret reading, mL Lab 9: Determining Ascorbic Acid in Vitamin C Tablets (b) what volume, in liters, of NaOH solution was used in the titration? O.101 X23.78 4.80356 Mb O.50 (c) How...

  • Hi please help me with these problems thanks B Valley Natural Foods Soap EOQ Problem B...

    Hi please help me with these problems thanks B Valley Natural Foods Soap EOQ Problem B Valley Natural Foods is a retailer that sells a brand of soap with all natural ingredients. (They do not make the soap; they buy it from a supplier.) The following data should be used in your calculations. Demand/Sales = 10 cases of soap per month (you will need to convert this to an annual amount) $20 per order Ordering Cost = Carrying Charge Unit...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT