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
jenyasd209 [6]
3 years ago
7

What are the correct intermediate steps of the following data set when it is being sorted with the bubble sort? 15, 20, 10, 18

Mathematics
1 answer:
love history [14]3 years ago
4 0

Answer:

A. 15,10,20,18 -- 15,10,18,20 -- 10,15,18,20

Step-by-step explanation:

Bubble sorting can be defined as a technique or methodology whereby numbers that are not in their proper order are sorted into proper order that is from smallest to highest( increasing to decreasing order).

The method of bubble sorting involves the shuffling or swapping of adjacent numbers until the numbers are well sorted or arranged.

In the above question, we were given, a set of numbers:

15, 20, 10, 18

Step 1

20 is adjacent to 10

20 > 10

hence we swap

= 15,10,20,18

Step 2

From, 15,10, 20,18

20 is adjacent to 18

20 > 18

hence we swap

= 15,10,18,20

Step 3

From step 2, which gave us 15,10,18,20

15 us adjacent to 10

15 > 10

We swap

= 10,15,18,20

Hence,

15, 20, 10, 18 -- 15,10,20,18 -- 15,10,18,20 -- 10,15,18,20

Therefore, Option A is the correct option.

You might be interested in
Help please hllooooo
siniylev [52]

9514 1404 393

Answer:

  $81

Step-by-step explanation:

The garden is 4 yards = 12 feet by 3 yards = 9 feet. The area of it is the product of these dimensions, ...

  (12 ft)(9 ft) = 108 ft²

The cost of fertilizer for that area will be ...

  ($0.75/ft²)(108 ft²) = $81.00

They will spend $81.00 to fertilize the garden.

8 0
3 years ago
Harper can do 5 math problems in 1 2/3 minutes.How many problems can she complete in 1 minute?.​
Natalija [7]

Answer:

bjrkhfjehrukfe

Step-by-step explanation:

rnfewklnfeklr

7 0
3 years ago
Read 2 more answers
Is this right ? Plz help mee
sasho [114]
6.32 is the final answer! :)
6 0
3 years ago
Read 2 more answers
Please answer this correctly.
Ganezh [65]

Answer:

The given function is a nonlinear function because the degree of the function is 2 and we get same value of y for more than one values of x.

Step-by-step explanation:

The given function is

y=2x^2-5

To find the points which lie on the function, put difference values of x in the given function and find the values of y.

Put x= -2

y=2(-2)^2-5=2(4)-5=8-5=3

Put x= -1

y=2(-1)^2-5=2(1)-5=2-5=-3

Put x= 0

y=2(0)^2-5=2(0)-5=-5=-5

Put x=1

y=2(1)^2-5=2(1)-5=2-5=-3

Put x= 2

y=2(2)^2-5=2(4)-5=8-5=3

The table of values is shown below.

Plot these points on a coordinate plane and connect them by a free hand curve.

The given function is a nonlinear function because the degree of the function is 2 and we get same value of y for more than one values of x.

The graph of function is shown below.

5 0
4 years ago
A machine that produces ball bearings has initially been set so that the true average diameter of the bearings it produces is .5
lara [203]

Answer:

7.3% of the bearings produced will not be acceptable

Step-by-step explanation:

Problems of normally distributed samples can be solved using the z-score formula.

In a set with mean \mu and standard deviation \sigma, the zscore of a measure X is given by:

Z = \frac{X - \mu}{\sigma}

The Z-score measures how many standard deviations the measure is from the mean. After finding the Z-score, we look at the z-score table and find the p-value associated with this z-score. This p-value is the probability that the value of the measure is smaller than X, that is, the percentile of X. Subtracting 1 by the pvalue, we get the probability that the value of the measure is greater than X.

In this problem, we have that:

\mu = 0.499, \sigma = 0.002

Target value of .500 in. A bearing is acceptable if its diameter is within .004 in. of this target value.

So bearing larger than 0.504 in or smaller than 0.496 in are not acceptable.

Larger than 0.504

1 subtracted by the pvalue of Z when X = 0.504.

Z = \frac{X - \mu}{\sigma}

Z = \frac{0.504 - 0.494}{0.002}

Z = 2.5

Z = 2.5 has a pvalue of 0.9938

1 - 0.9938= 0.0062

Smaller than 0.496

pvalue of Z when X = -1.5

Z = \frac{X - \mu}{\sigma}

Z = \frac{0.496 - 0.494}{0.002}

Z = -1.5

Z = -1.5 has a pvalue of 0.0668

0.0668 + 0.0062 = 0.073

7.3% of the bearings produced will not be acceptable

4 0
4 years ago
Other questions:
  • What is n <br> -8+4(1+5n)=-6n-14
    9·1 answer
  • Please help me. And if there is work please do it
    15·1 answer
  • Which of the following is the complex conjugate of the complex number below? 4+51i
    10·1 answer
  • (6x + 1)<br> 37<br> Solve for x.
    15·2 answers
  • a student earns $11.75 per hour for gardening. if she worked 21 hours this month, then how much did she earn? ​
    9·2 answers
  • The double number line below shows the number of students in Mr. Fulton's class. It shows the number of students that represents
    15·1 answer
  • 5y-14=2y-2 solve for y and show work plz
    12·2 answers
  • Mr. Shand had $59.75 in his bank account, but then he bought some new ties and some pancakes. After the purchase, he was in debt
    13·1 answer
  • Annie wants to eat an entire donut. However, since she only two-years-old, the mother says she can
    11·1 answer
  • If the exponential model f(x)=14(5)x is written with the base e, it will take the form A0ekx. What is A0 and what is k?
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!