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
The of an equation is formed by all the points in e plane that makes it true
zavuch27 [327]

Answer:

Graph

Step-by-step explanation:

6 0
3 years ago
Read 2 more answers
Help me i think its add 24 to both sides
umka2103 [35]

It is given in the question that

Steven is solving the equation

3(8-2x)+40=34

He begins with the following two steps.

Step 1: 3(8)+3(-2x)+40=34  Step 2: 24-6x+40=34

And we have to find , what will be the next step in solving the equation.

First we combine the like terms. And the like terms are 24 and 40. So we have to add 24 and 40. And that will be the next step.

So the correct option is the last option.

8 0
3 years ago
The endpoints of (MP)are M(2,1) and P(12,6). If point K partitions (MP) in a ratio of MK:KP = 3:2, what are the coordinates of K
GREYUIT [131]

Answer:

K(8, 4)

Step-by-step explanation:

Given:

M(2, 1), P(12, 6)

MK:KP = 3:2

Required:

Coordinates of K

SOLUTION:

Coordinates of K can be determined using the formula below:

x = \frac{mx_2 + nx_1}{m + n}

y = \frac{my_2 + ny_1}{m + n}

Where,

M(2, 1) = (x_1, y_1)

P(12, 6) = (x_2, y_2)

m = 3, n = 2

Plug in the necessary values to find the coordinates of K:

x = \frac{mx_2 + nx_1}{m + n}

x = \frac{3(12) + 2(2)}{3 + 2}

x = \frac{36 + 4}{5}

x = \frac{40}{5}

x = 8

y = \frac{my_2 + ny_1}{m + n}

y = \frac{3(6) + 2(1)}{3 + 2}

y = \frac{18 + 2}{5}

y = \frac{20}{5}

y = 4

The coordinates of K = (8, 4)

3 0
3 years ago
Cecil had 6 ice cubes. He put 1 ice cube in each glass. In how many glasses did Cecil put ice cubes?
Kamila [148]
He only puts 1 in each glass and he has six. The answer is 6.
7 0
3 years ago
Read 2 more answers
Which answer shows 0. 00897 written in scientific notation? 0. 897 times 10 Superscript negative 2 8. 97 times 10 Superscript ne
eduard

Answer:

c i think

Step-by-step explanation

not 100% tho

8 0
2 years ago
Other questions:
  • What is the answer to this
    15·1 answer
  • In circle P, EG and FH are diameters.<br> What is m EH?
    7·1 answer
  • It is impossible to get 5 aces when selecting cards from a shuffled deck. Express the indicated degree of likelihood as a probab
    6·1 answer
  • In a quadrilateral, all angles add up to ................
    10·2 answers
  • What is 145% of 8000? Round to the nearest hundredth ​
    5·2 answers
  • A regular decegom has a perimeter of 150 in and an apothem of ≈ 23.1 in. What is the area of this polygon to the nearest tenth o
    15·1 answer
  • Y = 3(x+ 4)^2+ 4 plz find the vertex and whether the graph has a minimum or maximum point
    11·1 answer
  • Pls help me find the sum ❣️
    9·1 answer
  • A factory makes 12 bikes in 3 hours.
    6·1 answer
  • (1 point for work, 1 point for correct answer) PLEASE HELP BEFORE WINTER BREAK​ NO LINKS HURRY
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!