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
2 (x+1)=3x-1 how to do this
Norma-Jean [14]
The answer would be x=3

7 0
3 years ago
-15 +n=-9 <br> One step equation need the answer
Nady [450]

Answer:

6

Step-by-step explanation:

3 0
3 years ago
Read 2 more answers
-10.7474..... as a fraction
kondaur [170]

In fraction, it would be:

-107474/10000

6 0
3 years ago
Please help 15 points will give brainliest
torisob [31]

Answer:

Step-by-step explanation:

m∠1 = 3 times of m∠2

m∠2 = (1/3) times of ∠1

        = \dfrac{1}{3}*72\\\\= 24

m∠2 = 24°

6 0
3 years ago
The perimeter of a rectangle is 128 inches.
Anuta_ua [19.1K]

Considering the perimeter of the rectangle, we have that the length is of 9 inches and the width is of 55 inches.

<h3>What is the perimeter of a rectangle?</h3>

The perimeter of a rectangle of length l and width w is given as follows:

P = 2(l + w).

The length is an odd integer and the width is <u>5 times the next consecutive odd integer,</u> hence:

l = x, w = 5(x + 2).

The perimeter is of 128 inches, hence:

128 = 2l + 2w

128 = 2x + 10(x + 2)

128 = 2x + 10x + 20

12x = 108

x = 9.

Hence the length is of 9 inches and the width is of 55 inches.

More can be learned about the perimeter of a rectangle at brainly.com/question/10489198

#SPJ1

6 0
2 years ago
Other questions:
  • A stack of 4 bricks is 6 feet high how high is a stack of 20 bricks
    8·1 answer
  • 2x(x^4-x^2-6) what is the answer to this when foiled?
    12·1 answer
  • Graph
    15·2 answers
  • An industrial cleaner is manufactured using only the 3 secret ingredients A, B, and C, which are mixed in the ratio of 2:3:5, re
    8·2 answers
  • What is the area of ALP? <br> Answer in the box <br> I’ve tried but i didn’t get the right answer
    5·1 answer
  • The amount Q of water emptied by a pipe varies directly as the square of the diameter d. A pipe 5 inches in diameter will empty
    13·1 answer
  • Anyone know how to do this ! ?
    7·1 answer
  • I need help with this please help me I need to show work too
    9·1 answer
  • Find the slope of the line that passes through (8, 4) and (5, 2).
    9·2 answers
  • Can someone help plz need this to save my grade??
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!