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
3. For which of the following samples would it be appropriate to use t-procedures for inference for the population mean?
myrzilka [38]

Answer:C

Step-by-step explanation:

4 0
3 years ago
Using the figure to the right, if RSTU is a rhombus, find measure RST.
sammy [17]

Given:

In rhombus RSTU, m\angle RUV=(10x-23)^\circ and m\angle TUV=(3x+19)^\circ.

To find:

The m\angle RST.

Solution:

We know that, diagonals of a rhombus are angle bisector. So,

m\angle RUV=m\angle TUV

(10x-23)^\circ=(3x+19)^\circ

10x-23=3x+19

Isolating variable terms, we get

10x-3x=23+19

7x=42

Divide both sides by 7.

x=\dfrac{42}{7}

x=6

Now,

m\angle RUV=(10x-23)^\circ

m\angle RUV=(10(6)-23)^\circ

m\angle RUV=(60-23)^\circ

m\angle RUV=37^\circ

And,

m\angle TUV=(3x+19)^\circ.

m\angle TUV=(3(6)+19)^\circ

m\angle TUV=(18+19)^\circ

m\angle TUV=37^\circ

Now,

m\angle RUT=m\angle RUV+m\angle TUV

m\angle RUT=37^\circ+37^\circ

m\angle RUT=74^\circ

We know that opposite angles of a rhombus are equal.

m\angle RST=m\angle RUT

m\angle RST=74^\circ

Therefore, the measure of angle RST is 74^\circ.

3 0
3 years ago
Starting at 1:00 p.M. The temperature changes negative 4 degrees per hour. How will it take to reach negative 1 degree? At one t
lbvjy [14]
I think 130 degrees
5 0
4 years ago
I NEED HELP PLEASE !!!!
Amiraneli [1.4K]

Answer:

NEVER INTERSECT

Hope this Helps

7 0
3 years ago
IM GIVING BRAINIEST TO THE FIRST CORRECT ANSWER !!! HURRY.
dexar [7]

Answer:

-1,3

Step-by-step explanation:

1 left and 3 up

8 0
3 years ago
Other questions:
  • 1. The value of k for which equation 9x2 + 8xk+8 = 0 has equal roots is:
    11·1 answer
  • How many hours is 9:13pm from 10:00?
    7·1 answer
  • Two joggers run 5km north and then 12km west. What is the shortest distance to the nearest tenth of a kilometer, they must trave
    10·2 answers
  • Somebody please help me with this
    6·1 answer
  • This table models a linear function. x −8 −4 4 8 y −3 0 6 9 Enter the coordinates of the y-intercept in the boxes.
    5·1 answer
  • In 20 words or fewer, when might a stemplot be useful?
    15·1 answer
  • How do you write 12 divided by 90 as a product
    5·2 answers
  • 56% of the students in quarters are also in the musical if there are 75 students in chorus how many are in a musical?
    11·1 answer
  • An investment broker puts 1/12 of his paycheck into a retirement account every quarter? How much of his $84,000 salary is put in
    13·1 answer
  • Explain the difference between a viable answer and a non-viable answer.
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!