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
Problem 2: find the total surface area of a cylinder to calculate the cost for constructing a closed cylinder matlab
expeople1 [14]
You didn't post any basic information for me to work on the answer.
every cylinder has a different radius and a different hight and hit at different points on the map you need to give basic information
cost/ x
radius
hight
...
a lot of missing information here
6 0
3 years ago
PLAS HELP MAH IM ALMOST DONE >:( 25 POINTS AND BRAINLIEST!
Novay_Z [31]

Answer:

Remember, here -- with addition -- the parentheses are just extras there to throw you off track!

We can remove the parentheses:

7a + 9 + 4a - 7

Now simplify!

7a + 4a + 9 - 7

11a + 2

5 0
3 years ago
PLEASE HELP FAST !!
hoa [83]

Answer:

in explanation

Step-by-step explanation:

The canary, the seagul, and the crow, All have both checkmarkes that shows that they Can fly AND they are birds (so B)

Bro this is easy you dont need Brainly for this just read it carefully and look at the graph.

4 0
3 years ago
mary is delivering a load of goods to vancover bc to seattle wa and then in seattle she is picking up another load to deliver to
JulijaS [17]

Answer:

2,550 km,154767- when mary left vancouver,157317 in Albuquerque

Step-by-step explanation:

1 mile=1.6 km

1456 miles= 1.6*1456=2330 km

2330 km+ 220 km= 2550 km from vanc to alber

154987-220=154767 km when mary left vancouver

154987+2330=157317 in Albuquerque

4 0
3 years ago
The population of flamingos at the Bronx Zoo is 48.One spring, they have lots of babies and the population increases by 12.5%.Ho
mihalych1998 [28]
The answer you are looking for is 54.
4 0
3 years ago
Other questions:
  • 8. Stephanie is a very good soccer player. She can kick a soccer ball with an initial velocity of 21.3 m/sec. The function that
    8·1 answer
  • HELP ASAP!!!! PLEASE!!!! I NEED TO FINISH MY HOMEWORK!!!!NYou visit the Royal Gorge Bridge near Canon City, Colorado. When walki
    10·2 answers
  • An investor bought 600 shares of stock, some at $⁢4.50 per share and some at $⁢1.00 per share. If the total cost was $1650.00 ,
    5·1 answer
  • Please help me ASAP!!
    12·1 answer
  • Hi I need help answer is 2/4 or 4/2 ???
    13·1 answer
  • If the equation of a line is y= - 2/3 x - 2 at what.point on the graph would I find the y- intercept?
    10·2 answers
  • A particular model rocket kit uses the scale 1:144. The actual rocket is 168 ft tall. How tall will the model rocket be when com
    11·1 answer
  • What is the volume of a cylinder with a radius of 3 in and a height of 9 in?​
    5·2 answers
  • Please help! 30 points!
    7·1 answer
  • Simplify: <br> 3(n-2) <br><br> whats the answer?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!