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
Use the triangle formed by the vertices L(—3, 4), A(O, 5) and D(2, l). AL' A'D' is a triangle formed by using the transformation
weqwewe [10]

Answer:

figuring it out now

Step-by-step explanation:

6 0
3 years ago
Solve pls brainliest
satela [25.4K]

Answer:

13 and 10

Step-by-step explanation:

4 0
3 years ago
Read 2 more answers
What is the answer to this question?
Klio2033 [76]
Hey!!!
Answer is.....


Area=
\pi {r}^{2}
3.14 \times  {15}^{2}
706.5
Answer is 706.5 cm^2...


HOPE IT HELPS YOU '_'
7 0
3 years ago
Read 2 more answers
How do I graph (5, -3), (0, -4)
Lorico [155]

Answer:

5 right and down 3 and (0 means the middle) so middle down 4

Step-by-step explanation:

lit : )

4 0
3 years ago
Points A, B, and C, form a triangle. The distance between point A and point B is 15 yards. The distance between point B and poin
NARA [144]

The direct distance form A to C is represented by the inequality

AC < 40 yards.

<h3>What is a Triangle ?</h3>

A triangle is a polygon with three sides , three vertices and three angles.

It is given that

Distance form point A to B is 15 yards

Distance form point B to C is 25 yards.

Distance AC = ?

In a Triangle the sum of two sides is always greater than the third side.

Therefore

AC < 15 +25

AC < 40 yards.

Therefore the direct distance form A to C is represented by the inequality AC < 40 yards.

To know more about Triangle

brainly.com/question/2773823

#SPJ1

8 0
2 years ago
Other questions:
  • 10000000000000000000000000000000000000000000000000+1
    5·1 answer
  • Five divided by one half
    9·1 answer
  • G(x)=3(x-4)plug in f(10)
    11·1 answer
  • 4)
    6·1 answer
  • Mr. Mustard said: "If you add the ages of my
    10·1 answer
  • If p is true and q is false, then p ∨ q is true. <br> A. True<br> B. False
    6·1 answer
  • EASY QUESTION FOR 10 POINTS<br>8(2y-7)=9(3y-14) +15​
    14·1 answer
  • Which function is represented by the graph? PLEASE HELP IM BEING TIMED
    13·2 answers
  • The difference between the interior and the exterior angles of a regular polygon at each vertex is 150º. Given that the interior
    8·1 answer
  • What is 10x+ 5y =30 in function form
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!