answer.
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]
2 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]2 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
Nick starts with 20 milligrams of a radioactive substance. The amount of the substance decreases by 12 each week for a number of
Gre4nikov [31]

Answer:

what the answer

Step-by-step explanation:

6 0
2 years ago
Find the exact value of tan 7pi/6
sergeinik [125]

Answer:

\sqrt{3} /3 or 210°

Step-by-step explanation:

4 0
2 years ago
Why did farmer jones keep the chickens away frome the other animals
max2010maxim [7]

Answer:

The farmer jones keep the chickens away frome the other animals because the chickens are using "fowl" language!!!!!

The answer to your math sheet is a play on words, please check the picture attached for the complete solution.

The joke is that 'fowl' is another word for 'chicken' but at the same time is similar to 'foul' which is a bad word!

8 0
2 years ago
Peter wants to cut a rectangle of size 6x7 into squares with integer sides. What is the smallest number of squares he can get
Semmy [17]
 He can cut 5 squares, by making 1 4 × 4, 2 3 × 3 and 2 2 × 2 squares.
5 0
2 years ago
It takes Kevin 15 minutes to drive 52 miles.
Kaylis [27]

Answer:

C

Step-by-step explanation:

5 0
2 years ago
Other questions:
  • In 2009, a brand new SUV cost $35,000 to drive off the lot. In 2012 that same SUV was valued at $22,500. Write an exponential eq
    13·1 answer
  • Organic milk costs $2.52 per half gallon. At this rate, how can the price of 4 gallons of organic milk be determined?
    15·2 answers
  • Please help me with this math question
    5·1 answer
  • In a right triangle ?ABC, the length of leg AC = 5 ft and the hypotenuse AB = 13 ft. Find: The median to side BC The length of t
    6·2 answers
  • Letters a, b, c, and d are angles measures. Which equation is enough information to prove that lines m and n are parallel lines
    15·1 answer
  • There are two misshapen coins in a box; their probabilities for landing on heads when they are flipped are, respectively, .4 and
    11·1 answer
  • A taxi cab in myrtle beach charges $2 per mile and $1 for every person. If a taxi cab ride for two people costs $12, how far did
    7·1 answer
  • Over several years, students of Professor Robin Lock have flipped a large number of coins and recorded whether the flip landed o
    11·1 answer
  • Ruth wants to buy a skateboard for $56. She has $90 in her account. She spent $11.65 to buy stationary. She also wants to buy so
    6·1 answer
  • Give the most specific name for each quadrilateral.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!