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
if you flipped a coin 20 times, in percentage how many times do you expect the coin to land on heads, an how many times on tails
djyliett [7]

Answer:

50% head and 50% tails.

Step-by-step explanation:

A coin only has two sides to flip on and is equally probably flip heads or tails. If you flipped the coin 20 times you could expect to flip 10 heads and 10 tails.

8 0
3 years ago
Choose the correct way to end the sentence.<br><br> The lines 2x + 4y = 32 and y = –1/2x + 16 are
Vlad1618 [11]
The two line are Parallel
7 0
3 years ago
The results of a series of surveys revealed a population with a mean of 4.73 and a standard deviation of 0.865. If each survey h
satela [25.4K]

The given sample's confidence interval is 4.73 ± 0.1199, or from 4.61 to 4.85

<h3>What is the z score?</h3>

The z-score is a numerical assessment of a value's connection to the mean of a set of values, expressed in terms of standards from the mean, that is used in statistics.

Given data;

Mean  = 4.73

Standard deviation  = 0.865

Sample size  = 200

interval  = 95%

Confidence interval=?

95% of samples contain the population mean (μ) within the confidence interval of 4.73 ± 0.1199.

Hence, the sample's confidence interval is 4.73 ± 0.1199, from 4.61 to 4.85

To learn more about the Z score, refer to;

brainly.com/question/15016913

#SPJ1

4 0
2 years ago
the pilgrims sailed aboard the mayflower to America in 1620.in 2040.how many years will have passed since the pilgrims sailed to
Bezzdna [24]

Subtract the year the pilgrims sailed from the year you want to find the distance from:

2040 - 1620 = 420 years.

4 0
3 years ago
Stephanie has 6.98 lb of granola to divide into small bags. She will put 0.4 lb of granola in each bag. How many bags will she f
soldier1979 [14.2K]

Answer:

17.45

Step-by-step explanation:

6.98 / 0.4 = 17.45

7 0
3 years ago
Other questions:
  • What is 12 divided by 1083
    8·1 answer
  • A store uses the expression –2p + 50 to model the number of backpacks it sells per day, where the price, p, can be anywhere from
    15·2 answers
  • Marita orders 12 yards of material to make banners. If she needs 1 foot of fabric for each banner, how many banners can she make
    12·2 answers
  • If sin theta= - 5/7, which of the following are possible?
    11·1 answer
  • $7.80/hour = ____ cents/minute? a. 4.7 b. 13 c. 8.8 d. 780
    11·2 answers
  • Jonathan worked at mcdonalds 20 hours pet week and earned 195.Use the equation 20h=195 to find jonathan's hourly wage
    6·2 answers
  • Helena makes $500 per week and she puts 15% of her paycheck in savings how much money does she put in savings
    8·2 answers
  • How many triangles can be constructed using the following three side lengths: 4.8 cm, 2.1 cm, and 2.6 cm?
    11·1 answer
  • PLS HELP! What is 4 1/3 multiplied by 2 1/4
    15·1 answer
  • A number which is now a rattional number is a​
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!