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
Alexus [3.1K]
3 years ago
8

How many bitstrings of length 10 contain three consecutive 0’s or 4 consecutive 1’s? How many bitstrings of length 10 contain tw

o sets of 3 consecutive 0’s or two sets of 3 consecutive 1’s?
Mathematics
1 answer:
Yuki888 [10]3 years ago
7 0

Answer:

147 bitstrings.

Step-by-step explanation:

To start with, we will compute the number of bit strings that has 3 consecutive 0's.

For each of the consecutive 0's, they can start at either 1st, 2nd, 3rd or 4th positions (because there are eight positions)

If we begin from the 1st position, there will be strings in the form of 000xxxxx

The other positions can be anything, count= 25 =32.

If we begin from the 2nd position, there will be strings in the form of 1000xxxx.

Note that the 1st position must contain 1, otherwise there will be more than one count strings.

The remaining 4 positions can be anything, count= 24 = 16.

If we begin from the 3rd position, there will be strings in the form of x1000xxx.

Note that the 2nd position must contain 1, or there will be more than one count strings as in the first scenario.

The remaining 4 positions can be anything, count= 24=16.

If we begin from the 4th, 5th, or 6th position, it would be the same analysis.

Therefore,

total count= 32 + 16 + 16 + 16 + 16 +16 = 112.

From the analysis done so far, we have double counted these 5 strings: 00010000, 00010001, 00001000, 00011000, 10001000

So, the actual strings that contain 3 consecutive 0's is 112-5 = 107.

If we also calculate the number of strings with 4 consecutive 1's, we will have: 16 + 8 + 8 + 8 + 8 = 48.

Therefore, there are 8 strings that we have double counted and they are: 11110000, 11110001, 11111000, 01111000, 00011110, 00011111, 00001111, 10001111.

So, for our final answer, the total number of bit strings of length 8 that contain either three consecutive 0's or four consecutive 1's is 107 + 48 - 8= 147.

You might be interested in
WILL GIVE BRAINLIEST ANSWER
solniwko [45]

Answer:

its C I think

Step-by-step explanation:

6 0
4 years ago
Read 2 more answers
Directions: Graph each function and give its key characteristics. Use a graphing calculator for the turning points and round to
skad [1K]

Answer:

for example, if f(x)= x^2 + 3

and they gave write f(5)= 5^2 +3

=25+3=28

3 0
3 years ago
Which value of gg g g makes 26=7(g−9)+1226=7(g-9)+12 26=7(g−9)+12 26, equals, 7, left parenthesis, g, minus, 9, right parenthesi
shtirl [24]

Answer:

The value of g that makes the statement true is 11.

Step-by-step explanation:

The statement is 26 = 7(g - 9) + 12 wich is an equation. In order to find the value of g that satisfies the equation we need to isolate the variable of interest, in this case g. We have:

7*(g-9) + 12 = 26

7*(g-9) = 26 - 12

7*(g-9) = 14

(g-9) = 14/7

(g-9) = 2

g = 2 + 9 = 11

The value of g that makes the statement true is 11.

8 0
3 years ago
Read 2 more answers
What is the difference between a repeating decimal and a terminating decimal?
Pani-rosa [81]

Answer:

Terminating decimals have a finite number of digits after the decimal point while Repeating decimals have one or more numbers or sequences of repeating numbers after the decimal point.

If you found this helpful please give me branliest.

8 0
3 years ago
Examine the system of equations.
11Alexandr11 [23.1K]
<h3><u>Explanation</u></h3>
  • Given the system of equations.

y =  -  \frac{1}{4} x - 2  \\ x = 4

  • Substitute x = 4 in the first equation.

y =  -  \frac{1}{4} (4) - 2 \\ y =  - 1 - 2  \\ y =  - 3

We have both x and y values. Therefore, we can answer in coordinate point form.

<h3><u>Answer</u></h3>

<u>\large \boxed{(4, - 3)}</u>

3 0
3 years ago
Read 2 more answers
Other questions:
  • PPLLZZ HELP ME IN THIS 2 QUESTIONS!
    10·1 answer
  • Using the prostate data from the faraway package with lpsa (log prostate specific antigen) as response and lcavol (log cancer vo
    5·1 answer
  • USE MENTAL MATH TO ADD. 136+43​
    7·2 answers
  • What is the factored form of 8x2 + 12x?
    11·2 answers
  • I worked for 12 hours each day for 6 days then the next day I worked 9 hours how many did I work in all
    15·2 answers
  • How do you round 6275 to the nearest thousand
    14·2 answers
  • Please help due soon! I'm giving brainliest answer :)
    14·1 answer
  • Paolo purchased a shirt at store A. He paid $19.50 for the shirt. Raoul purchased the same shirt at store B for $22.35.
    14·2 answers
  • Describe the graph of the equation y = 0. Is the equation a function?
    5·2 answers
  • PLEASE HELP
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!