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
Please I NEED HELP HURRY The quotient of six and a number subtracted from 100 Question A 100 - 6/x Question B 6/x - 100 Question
jasenka [17]

For this case we have that the quotient of 6 and a number, can be expressed as:

\frac {6} {x}

Where the variable "x" represents the incognito number.

Now we have that expression is subtracted from 100. Now, we can write the following:

100- \frac {6} {x}

ANswer:

Option A

4 0
3 years ago
Based on this equation, estimate the price of a car that had been driven 56 thousand kilometers.
OLEGan [10]

Answer:

50 dollars

Step-by-step explanation:

7 0
2 years ago
Use the Pythagorean Theorem to find the m<br> 14.1<br> X<br> X=<br> 14.7
KATRIN_1 [288]

Answer:

x = 4.2

Step-by-step explanation:

14.1² + x² = 14.7²

198.81 + x² = 216.09

216.09 - 198.81 = 17.28

√17.28 = 4.15

x = 4.15

Round to nearest tenth

x = 4.2

4 0
2 years ago
Which statements are true about the expression
bazaltina [42]

Answer:

Wheres the question?

6 0
3 years ago
Help me out with this question ​
AveGali [126]

Answer:

c

Step-by-step explanation:

combine like terms

3x^3-8x^3=-5x^3

+2x^2

-5x+3x=-2x

-5x^3+2x^2-2x

4 0
3 years ago
Other questions:
  • How can I simplify these?
    14·1 answer
  • A swimming pool in the shape of a rectangle is surrounded by 3 feet of walkway. the pool is 23 feet wide and 32 feet long. how l
    13·1 answer
  • Complete each order pair so that it is a solution of the given linear equation.
    7·1 answer
  • Two distinct coplanar lines that do not intersect are known as ____ lines.
    14·2 answers
  • 4x+7y= 28 solve for y Not a graphing question
    7·1 answer
  • This right triangular prism has a base with an area of 15 square feet. The height of the prism is 7 feet. What is V, the volume
    15·1 answer
  • To the nearest hundredth of a yard, determine the circumference of the given circle. Approximate as 3.14. r=6
    9·1 answer
  • A school store buys pencils in bulk and sells them to students for a small profit. The school pays $2.00 for 100 pencils and sel
    11·2 answers
  • 26:<br> = α : 8<br> 18:x= x:8
    8·1 answer
  • Help?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!