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
Students at a high school were polled to determine the type of music they preferred. There were 1940 students who
Reika [66]

Answer:

students preferred alternative music

= 461/1940 ×100%=23.7%

6 0
2 years ago
Which is the simplified form of x Superscript negative 12?
chubhunter [2.5K]

Answer:

C.\frac{1}{x^{12}}

Step-by-step explanation:

We are given that an expression

(x)^{-12}

We have to find the simplified form of given expression.

We know that

a^{-b}=\frac{1}{a^b}

Using the property then we get

x^{-12}=\frac{1}{x^{12}}

Hence, the simplified form of x^{-12} is given by

\frac{1}{x^{12}}

Option C is true.

5 0
2 years ago
Read 2 more answers
A jeweler had a fixed amount of gold to make bracelets and necklaces. The amount of gold in each bracelet is 6 grams and the amo
borishaifa [10]

Let x represent number of bracelets and y represent number of necklaces.

We have been given that a jeweler made 7 more necklaces than bracelets. This means that number of necklaces will be x+7. We can represent this information in an equation as:

y=x+7...(1)

We have been given that the amount of gold in each bracelet is 6 grams, so amount used for x bracelets would be 6x grams.

We are also told that the amount of gold in each necklace is 16 grams, so amount used for y necklaces would be 16y grams.

Since the jeweler used 178 grams of gold, so we will equate the amount of gold used in x bracelets and y necklaces with 178 as:

6x+16y=178...(2)

Therefore, our required system of equations would be:

y=x+7...(1)

6x+16y=178...(2)

8 0
2 years ago
What is the product of (9) (negative 9) (negative 1)? –81 –1 1 81
butalik [34]

Answer:

Step-by-step explanation:

9 * -9 * -1 =

-81 * -1 =

81 <===

In multiplying (or dividing), if the signs are the same, the result is positive

if the signs are different, the result is negative

these rules do not apply to addition or subtraction

5 0
2 years ago
Read 2 more answers
the average number of spectators at a football competition for the first five days was 3144.the attendance on the sixth day was
Ksivusya [100]

Answer:

3285

Step-by-step explanation:

5x3144=15720

3990

15720+3990=19710

19710/6=3285

8 0
2 years ago
Other questions:
  • what is the first step when rewriting y = 3x2 9x – 18 in the form y = a(x – h)2 k? 3 must be factored from 3x2 9x x must be fact
    12·2 answers
  • Jack bought 4 dozen eggs at $10 per dozen. 6 were broken. what percent of his money goes to waste
    8·1 answer
  • What is the inverse of the function f(x) = 2x – 10?
    9·2 answers
  • Your savings account pays 1.75% interest per year. You make a $500 deposit. How much interest does the account earn in the first
    12·2 answers
  • The figure shows two semicircles centered at G and H. Point B is on both semicircles. Line DF touches each circle at one point o
    6·1 answer
  • . Ralph’s Fill Dirt and Croissant Shop in Spencer makes both grand and petit croissants. Each grand requires 1 ounce of flour an
    12·1 answer
  • The city council hired three college interns to measure public support for a large parks and recreation initiative in their city
    5·1 answer
  • Marc and Michelle are married and earned salaries this year of $64,000 and $12,000, respectively. In addition to their salaries,
    6·1 answer
  • If 25^x+1 = 125/5^x find the value of x
    12·1 answer
  • Two buildings on level ground are 120 m and 85 m tall respectively. given that the angle of elevation of the top of the taller b
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!