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
ONE MOR TIME SINCE THESE BOTS KEEP GIVING ME SCAM LINKS. I'm Looking for the sum of all the answers, also need to round the neat
kati45 [8]
The sum of the four answers is -8.3 i believe
8 0
3 years ago
Read 2 more answers
What is the surface area of the shape?
Sladkaya [172]

Answer:

54

Step-by-step explanation:

3 0
3 years ago
Read 2 more answers
Which of the following points are<br> solutions to the equation?
postnew [5]

Answer:

(2;-5) and (0;-4).

Step-by-step explanation:

if the given graph is the same as in the attached picture (y=-0.5x-4), then two points only belong to it.

6 0
2 years ago
Use the same coordinate plane to draw the graphs of the functions. Y=kx-2 if k=1, 0.4,-1
mario62 [17]

Graphs can be used to represent functions.

See attachment for the graphs of: <em>y =x - 2, y = 0.4x - 2, y =-x - 2</em>

The function is given as: \mathbf{y = kx - 2}

When k = 1,

We have:

\mathbf{y = 1\times x - 2} ----- substitution property of equations

\mathbf{y = x - 2}

So, the equation is: \mathbf{y = x - 2} when k = 1

When k = 0.4,

We have:

\mathbf{y = 0.4\times x - 2} ----- substitution property of equations

\mathbf{y = 0.4x - 2}

So, the equation is: \mathbf{y = 0.4x - 2} when k = 0.4

When k = -1,

We have:

\mathbf{y = -1\times x - 2} ----- substitution property of equations

\mathbf{y = -x - 2}

So, the equation is: \mathbf{y = -x - 2} when k = -1

See attachment for the graphs of: \mathbf{y = x - 2}, \mathbf{y = 0.4x - 2} and \mathbf{y = -x - 2}

Read more about graphs and functions at:

brainly.com/question/11804653

3 0
2 years ago
PLEASE HELP ASAP!!!!!!
maria [59]
The parabola hits (-2,1) and (0,-1).
As you can see from the pictures, we can immediately cross out options B and D, since both parabola open upwards.
From the pictures, we can see that the answer is C, since only that parabola opens downwards and hits the points (-2,1) and (0,-1).

6 0
3 years ago
Other questions:
  • The period of | sin (3x) | is <br><br> A. 2 pi <br> B. 2 pi / 3 <br> C. pi / 3 <br> D. 3 pi
    14·2 answers
  • The quotient is 71 2/3 what is the divisor
    13·1 answer
  • Find the maxmium area of a rectangular plot of land which can be enclosed by rope of length 60 metres​
    5·1 answer
  • Which graph represents a function?<br> 2<br> 1<br> 23<br> 23<br> 2 3 4 5
    5·2 answers
  • Earth travels around the sun at a speed of about 30 kilometers per second. Convert this speed to kilometers per minute.
    6·1 answer
  • Ben drove 5.75 hours and then Jerry drove 3 hours their total distance is given by the expression below 106(5.75)+128(3)​
    13·1 answer
  • Solve for u -16=8+4u simplify your answer as much as possible
    13·1 answer
  • Construct parallelogram PQRS<br>with |PQ|=10cm, |ps|=8cm and<br>&lt;QPS = 120​
    5·1 answer
  • P(x)=x^4 -2x^3 -11x +12x+36
    7·1 answer
  • 6 3/8 - 1 5/8 =<br> What is the answere?<br> I'll give brainest if right
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!