1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
lisabon 2012 [21]
3 years ago
11

Recall that a 6-bit string is a bit strings of length 6, and a bit string of weight 3, say, is one with exactly three 1's. How m

any 6-bit strings are there? How many 6-bit strings have weight 0? How many 6-bit strings have weight 1? How many 6-bit strings have weight 3? How many 6-bit strings have weight 5? How many 6-bit strings have weight 6? How many 6-bit strings have weight 7?
Mathematics
1 answer:
strojnjashka [21]3 years ago
8 0

Answer:

1.. Total number of 6 bit strings is 64

2. Number of 6-bit strings with weight of 0 is 1

3. Number of 6-bit strings with weight of 1 is 6

4. Number of 6-bit strings with weight of 3 is 20

5. Number of 6-bit strings with weight of 5 is 6

6. Number of 6-bit strings with weight of 6 is 1

7. Number of 6-bit strings with weight of 7 is 0

Step-by-step explanation:

A bit string is a string that contains 0 and 1 only

1. Total number of 6 bit strings is 2^6 = 64

2. Number of 6 bit strings with weight 0 is 1

Explanation

Weight 0 means a string with no occurrence of 1

Here, we are only interested in occurrence and not order of occurrence

We apply combination formula for this

nCr = n!/(n-r)!r!

n = 6 and r = 0 i.e. no occurrence of 1

6C0 = 6!/(6-0)!0!

6C0 = 6!/6!0!

6C0 = 1

Hence, the number of string with weight 0 (i.e. no occurrence of 1 ) is 1

3. Number of string with weight 1 is 6

Explanation

Weight 0 means a string with exactly 1 occurrence of '1'

Here, we are only interested in occurrence and not order of occurrence

We apply combination formula for this

nCr = n!/(n-r)!r!

n = 6 and r = 1

6C1 = 6!/(6-1)!1!

6C1 = 6!/5!1!

6C1 = 6

Hence, the number of string with weight 6

4. Number of string with weight 3 is 20

Explanation

n = 6 and r = 3

6C3 = 6!/(6-3)!3!

6C3 = 6!/3!3!

6C3 = 20

Hence, the number of string with weight 3 is 20

5. Number of string with weight 5 is 6

Explanation

n = 6 and r = 5

6C5 = 6!/(6-5)!5!

6C5 = 6!/1!5!

6C5 = 6

Hence, the number of string with weight 5 is 6

6. Number of string with weight 6 is 1

Explanation

n = 6 and r = 6

6C6 = 6!/(6-6)!6!

6C6 = 6!/0!6!

6C6 = 1

Hence, the number of string with weight 6 is 1

7. Number of string with weight 7 is 0

Weight of 7 means that a string that has 7 occurrence of 1

The total length of a 6 bit is 6

Since 6 is less than 7, there's no way a bit of weight 7 can occur.

So, the right answer for this is 0.

You might be interested in
PLEASE ANSWER AS QUICKLY AS POSSIBLE WILL GIVE BRAINLYEST TO FIRST Find the exact value of
Naddika [18.5K]

Answer:

The exact value is 24

Step-by-step explanation:

3 0
2 years ago
Multiply and find product in its lowest terms.
soldi70 [24.7K]

Answer:

1/30

Step-by-step explanation:

\frac{4}{9} \times \frac{3}{5} \times \frac{1}{8} \\ \\ =\frac{4 \times 3 \times 1}{9 \times 5 \times 8} \\ \\ =\frac{1}{3 \times 5 \times 2} \\ \\ =\frac{1}{30}

7 0
2 years ago
I need the answer to this question please 4(3 - 2x) = 15
Alecsey [184]

The correct answer would be -3/8 or in decimal form -0.375 :)

3 0
3 years ago
Suppose you obtain a 20-year mortgage loan of $194,000 at an annual interest rate of 7.8%. The annual property tax bill is $979
Katena32 [7]

Answer:

428.40

Step-by-step explanation:

done

5 0
3 years ago
What is the y intercept of the line?
krek1111 [17]
1, it intersects on the line at 1
7 0
3 years ago
Read 2 more answers
Other questions:
  • 215=x+150y and 176=x+120y
    7·2 answers
  • Find the distance between (-3, 10) and (4,-8)<br> Can you please write the steps for me ?
    13·1 answer
  • For each set of measurements, decide wether or not possible to draw a triangle with those measurements. If it is possible, draw
    9·1 answer
  • 100% of blank equals 52
    5·2 answers
  • Rebecca needs 4 cups of sugar for a recipe. She already has 2 cups of sugar. Write an equation for t, the amount of additional s
    11·1 answer
  • 7x-4=5x+15 solve the following equation
    8·1 answer
  • -Ok guys ik that this isn't a part of academic but i wanna say a story ... since i had 15 subs ive always wanted 100 .. like so
    5·1 answer
  • Please I need the answer and no links answers for both!!
    14·1 answer
  • What is the center and radius of this circle
    15·1 answer
  • If a person who is 5.5 feet tall throws a baseball into the air, the path can be modeled using the table of values, where x repr
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!