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]
2 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]2 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
What is the slope of the line passing through the points (-3,4) and (4,-1)
Serhud [2]

Answer:

slope = - \frac{5}{7}

Step-by-step explanation:

Calculate the slope m using the slope formula

m = (y₂ - y₁ ) / (x₂ - x₁ )

with (x₁, y₁ ) = (- 3, 4) and (x₂, y₂ ) = (4, - 1)

m = \frac{-1-4}{4+3} = - \frac{5}{7}

8 0
2 years ago
3/15 + 9/15 + 26/15=
klasskru [66]

Answer:

Mixed number - 2 8/15

decimal - 2.53

Step-by-step explanation:

3+9+26=38

denominator is 15

38/15 convert to a mixed number =

2 8/15  as a decimal is 2.53

4 0
3 years ago
Read 2 more answers
What is the percent of 16/25
Lelechka [254]
16/25 = 0.64 = 64%

Another way to do it is to multiply top and bottom by 4
16/25 = (16*4)/(25*4) = 64/100 = 64%

Either way, the answer is 64%
7 0
3 years ago
Read 2 more answers
2 lines intersect. A line with points R, S, U intersects a line with points V, S, T at point S.
Dima020 [189]

Step-by-step explanation:

here is your answer

enjoy

thanks to another users to give this answer

7 0
2 years ago
F(x) = 3x + 8; g(x) = 5x - 9<br> (a) Find (f + g)(x).
AysviL [449]

Answer: f(x) = 8x -1

Step-by-step explanation:

( f + g )x = 3x + 5x + 8 - 9

( f + g)x = 8x - 1

8 0
3 years ago
Other questions:
  • Written expression for the sum of d and 9
    9·1 answer
  • Can you solve the system of equation using substitution y=x+8 <br> X+y=2
    8·1 answer
  • Geometry help please 100% correct answer only
    5·1 answer
  • Two fractions have a common which of the following could be the two fractions
    10·1 answer
  • Hey can you please help me posted picture of question
    9·1 answer
  • Simplify cosθ + cosθtan2θ. <br><br> 1 <br><br> cscθ <br><br> secθ <br><br> sin2θ
    11·1 answer
  • If the graph of the polynomial intersects the x-axis at two points, then the
    15·1 answer
  • Use the rectangle to answer the question.
    10·2 answers
  • What should be added to a²-2ab+b² to get a²-ab-2b² ​
    12·1 answer
  • ( Easy Question ) What should if do when I see my crush, please don't ban this question brainly because I do need help with this
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!