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
Pls help fast maths ​
-Dominant- [34]

Answer:

the answer of question number 4 is : (x+4)

6 0
2 years ago
Carletta and Johnathan are entrepreneurs making mother boards for computers that are being manufactured by their friend, Dewey S
nikitadnepr [17]
13h\] p9.l6ewo8hi9kt85hu7g5yftgrftgy5h6uj7io909ikju6hygtrfefgthu6iko9iuj6hygtrfed
3 0
3 years ago
The triangle below is isosceles (two congruent sides). Find the value for x. one side say x + 3.8 and the other says 16 and then
Ugo [173]
The <span>isosceles triangle has two congruent sides

Their lengths are (</span> x + 3.8 ) and  <span>16

Equate them :

x+3.8=16


Solve for x:
3=16-3.8=12.2
</span>
4 0
3 years ago
13. y =<br> -x2 + 12x - 5<br> Axis of symmetry (aos):
marissa [1.9K]

Answer:

Slope = 24.000/2.000 = 12.000

When y = 0 the value of x is 5/-12 the line therefore crosses the x axis at x=-0.41667

x-intercept = 5/-12  = -0.41667

4 0
3 years ago
1 a-2a-{3a-(4a-5)} i need help plz and on this one to<br> 13(5-t)-(5-t)-12(5-t)
KengaRu [80]

Answer:

1. -5

2. 0

Step-by-step explanation:

<em>1.</em> Distribute the Negative Sign:

=a−2a+−1(3a−(4a−5))

=a+−2a+−1(3a)+−1(−4a)+(−1)(5)

=a+−2a+−3a+4a+−5

Combine Like Terms:

=a+−2a+−3a+4a+−5

=(a+−2a+−3a+4a)+(−5)

Answer:

=−5

<em>2. </em>Distribute:

=(13)(5)+(13)(−t)+−5+t+(−12)(5)+(−12)(−t)

=65+−13t+−5+t+−60+12t

Combine Like Terms:

=65+−13t+−5+t+−60+12t

=(−13t+t+12t)+(65+−5+−60)

Answer:

=0

8 0
3 years ago
Other questions:
  • Hot dogs come packed 10 in a package. Hot dog buns come packed 8 in a package. If we want one hot dog for each bun for a picnic
    15·2 answers
  • Write the name of the period that has the digits 208
    9·1 answer
  • Please help me with this math problem<br> is it A. B. or C.
    10·2 answers
  • Define a variable and write an expression for the phrase. 4 minus a number
    14·2 answers
  • Please HELP with these questions!! Legit answers only!
    15·1 answer
  • Help help help help help help help help help help help help help​
    9·1 answer
  • A.) (3, -8)<br> B.) (-4, -5)<br> C.) (6, -15)<br> D.) (3, -4)<br> ???
    8·1 answer
  • Okay last one Pls help will give brainly
    7·2 answers
  • Chu kỳ của hàm số y=sin 4 là:
    15·1 answer
  • Easy:
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!