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
Explain how you can find the sign of the product of two or more rational numbers.
makkiz [27]
Rational and product
6 0
3 years ago
A bowl contains 7 marbles of various colors consisting of green, brown, and red.
ZanzabumX [31]

Answer:

3/7

Step-by-step explanation:

7-4=3

7 0
2 years ago
Find JMK, JKH, HLK, HJL, LHK, JLK
nordsb [41]

Answer:

126

Step-by-step explanation:

A line is 180 degrees. I found the degree of the angles in-between 126 and M by subtracting 126 from 180. This means that M is also 126. (Plus the intersecting lines are parallel)

8 0
3 years ago
Marco has 10 quarts of water and 20 cups of milk. How much liquid does he have in all?
emmasim [6.3K]
17 and a half cups would be the answer because of the poopo 
4 0
3 years ago
Use the theoretical method to determine the probability of the following event. A randomly selected person has a birthday in Nov
MakcuM [25]

Answer:

There is an 8.22% probability that a randomly selected person has a birthday in November.

Step-by-step explanation:

The theoretical method to find the probability is the division of the number of desired outcomes by the number of total outcomes.

A randomly selected person has a birthday in November

There are 365 days in a year, so the number of total outcomes is 365.

There are 30 days in november, so the number of desired outcomes is 30.

So the probability is

P = \frac{30}{365} = 0.0822

There is an 8.22% probability that a randomly selected person has a birthday in November.

3 0
3 years ago
Other questions:
  • The degree measure of one of two complementary angles is 30 less than twice that of the other. What is one of the degree measure
    14·2 answers
  • If xy +6e^y = 6e, find the value of y" at the point where x = 0
    13·1 answer
  • Calculate the number of seconds in a day in standard form​
    14·1 answer
  • Expand 7x+14-2(x+4)
    10·2 answers
  • The volume of a cube is related to the area of a face by the formula V = A^3/2What is the volume of a cube whose face has an are
    12·1 answer
  • A particular dress requires 4 1/4 yards of fabric for manufacturing. If the matching jacket requires 1/6 yards less fabric, how
    14·2 answers
  • there are 7 doctors and 27 nurses happy hill hospital.what is the ratio of doctors to nurses.Need it fast
    10·1 answer
  • Help me plz I need to finish these test corrections toooddayyyy
    15·1 answer
  • #
    6·1 answer
  • What is the value of x
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!