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
Here's another question, same one (kind of) <br> 5x - 8 = 3x + 4
cluponka [151]

Answer:

x=6

Step-by-step explanation:

5x - 8 = 3x + 4

    +8         +8

5x=3x+12

-3x  -3x

2x=+12

/2    /2

x=6

6 0
2 years ago
Dont need too do question A
Brut [27]

Answer:

B- 6x(x+2)

C- 3x( x(squared) -3)

4x(squared) (7x+1)

Step-by-step explanation:

8 0
2 years ago
A polynomial function, f(x), with rational coefficients has roots of –2 and square root of 3. The irrational conjugates theorem
kap26 [50]

Answer:

Step-by-step explanation:

option b

8 0
2 years ago
Read 2 more answers
SOMEONE!!!<br><br> QUESTION: What is the measure of each angle in a regular polygon with 6 sides?
Setler [38]

Answer:

polygon do all the number times each outher divided in half then times 6 for the hight and langht

Step-by-step explanation:

8 0
2 years ago
Help please :( thank u
snow_tiger [21]

Answer:

he needs to know the width!!!

Step-by-step explanation:

since length multiplied by the width equals area,

so since the length is given, the width is needed

8 0
2 years ago
Other questions:
  • Choose the best definition for the following term: substitution
    7·2 answers
  • A recycling center pays $0.10 per aluminium can and $0.05 per plastic bottle. The cheerleading squad want to raise $500.
    12·1 answer
  • a fox a coyote and a wolf weigh a total of 120 pounds the ratio of the weight of fox to the weight of coyote is 3:8 the weight o
    15·1 answer
  • George is putting trim around his rectangular deck, including the gate. He will need 44 feet of trim to do the entire deck. If t
    7·2 answers
  • G(x)=sqrt x +2. find inverse
    10·1 answer
  • Prove that the trajectory of a projectile is parabolic, having the form y = ax + bx2. To obtain this expression, solve the equat
    13·1 answer
  • Give an example of how you would solve an equation by completing the square. Describe the steps.
    10·1 answer
  • Math problem...? Help!
    15·1 answer
  • Work out the question below
    15·1 answer
  • The functions f(x) and g(x) are described using the following equation and table: f(x) = −2(1.07)x x g(x) −4 −10 −2 −7 0 −4 2 1
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!