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
melamori03 [73]
3 years ago
13

Consider the following list. list = {24, 20, 10, 75, 70, 18, 60, 35} Suppose that list is sorted using the insertion sort algori

thm as discussed in the book. What is the resulting list after two passes of the sorting phase; that is, after three iterations of the for loop?a. list = {10, 18, 20, 24, 75, 70, 60, 35}b. list = {10, 20, 24, 75, 70, 18, 60, 35}c. list = {10, 18, 20, 24, 35, 70, 60, 75}d. list = {10, 20, 20, 18, 35, 70, 60, 75}
Engineering
1 answer:
Greeley [361]3 years ago
8 0

Answer:

Option B

10,20,24,75,70,18,60,35

Explanation:

The first, second and third iteration of the loop will be as follows

insertion sort iteration 1: 20,24,10,75,70,18,60,35

insertion sort iteration 2:10,20,24,75,70,18,60,35

insertion sort iteration 3: 10,20,24,75,70,18,60,35

You might be interested in
Select the correct answer. Why should engineers keep themselves updated on the technological developments in their field? OA. to
Nataly_w [17]
OD is the correct answer
5 0
3 years ago
The link acts as part of the elevator control for a small airplane. If the attached aluminum tube has an inner diameter of 25 mm
aksik [14]

Answer:

Tmax=14.5MPa

Tmin=10.3MPa

Explanation:

T = 600 * 0.15 = 90N.m

T_max =\frac{T_c}{j}  = \frac{x}{y}  = \frac{90 \times 0.0175}{\frac{\pi}{2} \times (0.0175^4-0.0125^4)}

=14.5MPa

T_{min} =\frac{T_c}{j}  = \frac{x}{y}  = \frac{90 \times 0.0125}{\frac{\pi}{2} \times (0.0175^4-0.0125^4)}

=10.3MPa

7 0
3 years ago
700.0 liters of a gas are prepared at 760.0 mmHg and 100.0 °C. The gas is placed into a tank under high pressure. When the tank
ololo11 [35]

Answer:

The volume of the gas is 11.2 L.

Explanation:

Initially, we have:

V₁ = 700.0 L

P₁ = 760.0 mmHg = 1 atm

T₁ = 100.0 °C

When the gas is in the thank we have:

V₂ =?

P₂ = 20.0 atm

T₂ = 32.0 °C      

Now, we can find the volume of the gas in the thank by using the Ideal Gas Law:

PV = nRT

V_{2} = \frac{nRT_{2}}{P_{2}}    (1)

Where R is the gas constant

With the initials conditions we can find the number of moles:

n = \frac{P_{1}V_{1}}{RT_{1}}    (2)

By entering equation (2) into (1) we have:

V_{2} = \frac{P_{1}V_{1}}{RT_{1}}*\frac{RT_{2}}{P_{2}} = \frac{1 atm*700.0 L*32.0 ^{\circ}}{100.0 ^{\circ}*20.0 atm} = 11.2 L

Therefore, When the gas is placed into a tank the volume of the gas is 11.2 L.

I hope it helps you!                                                                                                                                                                                

5 0
3 years ago
Automotive class
sp2606 [1]

Answer:

what  are you in

Explanation:

7 0
3 years ago
A strong base (caustic or alkali) is added to oils to test for: b. entrained air a)- alkalinity b)- acidity c)- contamination. d
fredd [130]

Answer:

A strong base(caustic or alkali) is added to oils test for stability

option (d) is correct

Explanation:

Formation of emulsion involves mixing together of measured volumes of specific concentrations of crude oil and sodium hydroxide (NaOH) solution. the viscosity of the emulsion and its type is determined and then this emulsion is made to rest for a long time in order to determine its stability.

7 0
3 years ago
Other questions:
  • Royce has a Bevel protractor with a damaged vernier scale. What limitation will Royce face if he uses this protractor to measure
    5·1 answer
  • Liquid ethanol (C2H5OH) at 298 K, 1 atm enters a steam generator operating at steady state and burns completely with dry air ent
    14·1 answer
  • Which of the following can be used to create hydrogen? a. gasoline c. carbon monoxide b. carbon dioxide d. ammonia
    10·1 answer
  • Steam enters a nozzle at 400°C and 800 kPa with a velocity of 10 m/s, and leaves at 300°C and 200 kPa while losing heat at a rat
    10·2 answers
  • Select all of the true statements.
    14·1 answer
  • A socket can be driven using any of the following except for (A) a socket ratchet
    14·1 answer
  • What is the average speed of a car that travels 80km in 1.5 hours
    12·2 answers
  • Which starting circuit uses fuses, switches, and smaller wires to energize a relay and solenoid?
    7·1 answer
  • Introduce yourself to the class and
    12·1 answer
  • EverFi future smart pie chart
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!