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
16 divided by 1.296 <br> Can you take me through step-by-step on this plz?
eduard

Answer:

12.3456790123

Step-by-step explanation:

its hard to explain but you could always use a clculator and no I did not use one. But these are hard I'm a math major

3 0
3 years ago
Read 2 more answers
What are the solutions to the system of equations? {y=x2−4x+8y=2x+3
OverLord2011 [107]

Answer:

1) C  2) (-2,0) 3) 4)  5) c )S={(0,3)} 6) (0,2) 7)  8) Missing graph 9) Vertical line (check below) 10) B 11)

Step-by-step explanation:

1) Solving by the Addition/Elimination Method. Firstly, let's reduce one variable by making some algebraic adjustments and then adding it up:

2) Solving by Substitution Method. Where y=x+2 is plugged in the 2nd equation.

3) Solving it, again, by the Substitution Method due to the I equation form:

4) By the Addition Method

5) To use the graph method to solve the system of Linear equations is possible by graphing each equation on the Cartesian Plane.

Check the graph below, this system has only one solution.

c)S={(0,3)}

6) Solving y=-1/3x+2 y=x+2

(Check the graph below)

A) A) (0, 2)

7) Solving by Substitution Method:

8) Missing graph

9)

Check the graph below its answer

10) Solving by the Addition Method

11) Sorry, missing graph for the question.

12) Sorry, missing graph for the question.

13) D Check the graph below

14) Sorry, missing graph for the question.

5 0
3 years ago
Help me pls I need this by today
asambeis [7]

Answer: r=0.4 its a guess but i dont think thats a negitive slope it looks positive so :P

Step-by-step explanation:

4 0
3 years ago
The results from spinning a spinner multiple times are given in the table below.
fgiga [73]

Answer:

C

Step-by-step explanation:

If you add all of the numbers together, that is the denominator, 70. The amount of purple is 17, the numerator.

5 0
3 years ago
Read 2 more answers
Charlotte drives 64 mph for the first 3 hours of her trip and 92 mph for last 4 hours.
german

Answer:

80 mph

Step-by-step explanation:

\boxed{\sf Distance=Speed \times Time}

<u>First leg of trip</u>

  • Speed = 64 mph
  • Time = 3 hours

\implies \sf Distance =64\times 3 = 192\:miles

<u>Second leg of trip</u>

  • Speed = 92 mph
  • Time = 4 hours

\implies \sf Distance=92 \times 4 = 368\:miles

\boxed{\sf Speed=\dfrac{Distance}{Time}}

To find the average speed:

\begin{aligned}\implies \sf Average\:speed & = \sf \dfrac{Total\:distance}{Total\:time}\\\\ & = \sf \dfrac{192+368}{3+4}\\\\& = \sf \dfrac{560}{7}\\\\ & = \sf 80\:mph\end{aligned}

6 0
2 years ago
Read 2 more answers
Other questions:
  • A bakery is 13 yards wide and 19 yards long .The baker wants to put a wooden shelf around the inside of the bakery.The wooden sh
    12·1 answer
  • Guys, please for your help. Thanks.
    11·1 answer
  • Factor each expression 32+16x
    9·2 answers
  • Johnny deposited $1230 in a savings account at 2.25 percent interest. How much interest will the account earn in 10 years?
    13·2 answers
  • Solve the right triangle. Round decimal answers to the nearest tenth.
    10·1 answer
  • Find the solution of this system of equations. x-8y=21 and 3x-8y=15
    11·1 answer
  • Which statement is false? A. A number is even if and only if it is divisible by 2. B. 3x=15 if and only if x=5. C. Two points ar
    10·1 answer
  • the cell phone bill recorded that Jeremiah sent 532 text messages last week. On average how many text messages did he send each
    8·2 answers
  • If u walk to school at a rate of 3 miles per hour how long will it take u to walk 6 miles
    13·1 answer
  • What is the formula for equations. <br>​
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!