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
Which of the following equations represents a line that is parallel to the line 3x - 2y = 12
sveticcg [70]

Answer:

Step-by-step explanation:

12=3x-2y

2y+12=3x

2y=3x-12

y=(3x-12)/2

y=mx+b

To be parallel to the line above our line must have the same slope or m. The above line has a slope of 3/2 or 1.5 so the parallel line will be

y=1.5x+b, using point (7,10) we can solve for the y intercept or b

10=1.5(7)+b

10=10.5+b

b=-0.5 so our line is

y=1.5x-0.5

5 0
2 years ago
What is the constant proportionality of y=32x-4
alexira [117]
32 is the constant because it doesn’t have a letter
4 0
3 years ago
Read 2 more answers
person A buys 12 granola bars and 7 cups of yogurt for $15.50. person B buys six granola bars and 11 cups of yogurt for $11.50.
tino4ka555 [31]

50 per cup. If we plug this in to each equation, you'll see that 12 granola bars equals $12, and 7 cups of yogurt equals $3.50, for a total of $15.50.

7 0
2 years ago
(Essay Question 7 Points)
Irina18 [472]

Well I don't know.
Let's think about it:

-- There are 6 possibilities for each role.
    So 36 possibilities for 2 rolls.
    Doesn't take us anywhere.

New direction:
-- If the first roll is odd, then you need another odd on the second one.
-- If the first roll is even, then you need another even on the second one.
This may be the key, right here !

-- The die has 3 odds and 3 evens.

-- Probability of an odd followed by another odd = (1/2) x (1/2) = 1/4
-- Probability of an even followed by another even = (1/2) x (1/2) = 1/4

I'm sure this is it.  I'm a little shaky on how to combine those 2 probs.

Ah hah ! 
Try this:

Probability of either 1 sequence or the other one is (1/4) + (1/4) = 1/2 .

That means ... Regardless of what the first roll is, the probability of
the second roll matching it in oddness or evenness is 1/2 .

So the probability of 2 rolls that sum to an even number is 1/2 = 50% .

Is this reasonable, or sleazy ?


4 0
3 years ago
Solve the following equation <br><br> 1/x-1+1/x+2=3
disa [49]

Answer:

x = 1

Step-by-step explanation:

Solve for x over the real numbers:

-1 + 2 + 1/x + 1/x = 3

-1 + 2 + 1/x + 1/x = 1 + 2/x:

1 + 2/x = 3

Bring 1 + 2/x together using the common denominator x:

(x + 2)/x = 3

Multiply both sides by x:

x + 2 = 3 x

Subtract 3 x + 2 from both sides:

-2 x = -2

Divide both sides by -2:

Answer:  x = 1

6 0
3 years ago
Other questions:
  • The distance d of a particle moving in a straight line is given by d(t) = 2t^3 + 5t – 2, where t is given in seconds and d is me
    6·1 answer
  • Riya is applying to her garden.She applies it at a rate of 25 ,000 cm^3 of mulch for every m^2 of garden space. At what rate is
    15·2 answers
  • What are all of the perfect cubes between 100 and 600
    14·2 answers
  • What is the ratio 148 to 130 in simplest form
    15·1 answer
  • Solve the equation. X/4 + 10 = 16
    15·2 answers
  • Find the value of x. 3x(5+2)=16
    13·2 answers
  • Ads Galore makes posters with standard dimensions of 8 and 1 over 2 inches by 11 inches as shown. What is the smallest acceptabl
    9·1 answer
  • What is LN? The image consists of a number line labelled from negative 4 to positive 16 in the interval of two. Points L, M and
    9·1 answer
  • HURRY PLS 7TH GRADE MATH I NEED HELP I HAVE LESS THAN 5 MINS TO DO THIS
    9·1 answer
  • Miguel read 1 page on Friday, 3 pages on Saturday, 9 pages on Sunday, and 27 pages on Monday. If this pattern continues, how man
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!