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
La base de los tema relacionados a las ciencia de las ingeniería es?
Yanka [14]

Answer:

La ciencia y la ingeniería conciben el mundo como comprensible, con reglas que gobiernan su funcionamiento y que a través de un estudio cuidadoso y sistemático se puede evidenciar mediante patrones consistentes que permitan la oportunidad de examinar las características fundamentales que mejor describen los fenómenos.

Explanation:

5 0
3 years ago
A fully braced structural member in a building is subjected to several different loads, including roof loads of D = 5 k and L_r
allochka39001 [22]

Answer: 37.4K

Explanation:

See attachment

7 0
3 years ago
On aircraft equipped with fuel pumps, when is the auxiliary electric driven pump used?.
pochemuha
In an airplane equipped with fuel pumps, the auxiliary electric fuel pump is used in the event the engine-driven fuel pump fails.. hope this helped !
6 0
2 years ago
The modulus of elasticity for a ceramic material having 6.0 vol% porosity is 303 GPa. (a) Calculate the modulus of elasticity (i
Phantasy [73]

Answer:

modulus of elasticity for the nonporous material is 340.74 GPa

Explanation:

given data

porosity = 303 GPa

modulus of elasticity = 6.0

solution

we get here  modulus of elasticity for the nonporous material Eo that is

E = Eo (1 - 1.9P + 0.9P²)    ...............1

put here value and we get Eo

303 = Eo ( 1 - 1.9(0.06) + 0.9(0.06)² )  

solve it we get

Eo = 340.74 GPa

8 0
3 years ago
A converging nozzle has an exit area of 0.001 m2. Air enters the nozzle with negligible velocity at a pressure of 1 MPa and a te
Artyom0805 [142]

Explanation:

a converging nozzle has an exit area of 0.001 m2. Air enters the nozzle with negligible velocity at a pressure of 1 MPa and a temperature of 360 K. For isentropic flow of an ideal gas with k = 1.4 and the gas constant R = Ru/MW = 287 J/kg-K, determine the mass flow rate in kg/s and the exit Mach number for back pressures

100% (3 ratings)

A_2 = 0.001 m^2 P_1 = 1 MPa, T_1 = 360 k P_2 = 500 kpa p^gamma - 1/gamma proportional T (1000/500)^1.4 - 1/1.4 = (360/T_2) 2^4/14 = 360/T_2 T_2

3 0
3 years ago
Other questions:
  • Soap is a very interesting chemical. We even discussed it on the discussion board. How does it work, exactly?
    7·1 answer
  • Question 5 (20 pts) The rated current of a three-phase transmission line is 300 A. The currents flowing by the line are measured
    6·1 answer
  • When a group of firms chooses to work together to turn a non-monopoly market into a monopoly market by securing formal agreement
    8·1 answer
  • Ion 2 23
    10·1 answer
  • Description: Write a function that takes in a list of numbers and a list of indices. Note that indexList may not only contain va
    8·1 answer
  • Explain the difference in the heat transfer modes of conduction and convection.
    14·1 answer
  • At a certain location, wind is blowing steadily at 10 m/s. Determine the mechanical energy of air per unit mass and the power ge
    5·1 answer
  • WhT DO FILM PRODUTION SAY WHEN REMOVING GREEN AND BLUE SCREENS.
    14·1 answer
  • What should you consider when choosing the type of hearing protection you use?
    15·1 answer
  • 18. Bela is doing a continuity test. What's he checking?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!