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
John has just graduated from State University. He owes $35,000 in college loans, but he does not have a job yet. The college loa
IRISSAK [1]

Answer:

The correct response is "821.88". A further explanation is given below.

Explanation:

According to the question,

The largest amount unresolved after five years would have been:

= 35000\times (\frac{F}{P}, 4 \ percent,5 )

= 35000\times 1.216 7

= 42584.50

Now,

time (t) will be:

= 5\times 12

= 60 \ monthly \ payments

So, monthly payment will be:

= 42582.85\times (\frac{A}{P}, 0.5 \ percent,60 )

= 42584.50\times 0.0193

= 821.88

6 0
3 years ago
A composite wall is to be used to insulate a freezer chamber at -350C. Two insulating materials are to be used with conductiviti
choli [55]

Answer:

thickness1=1.4m

thickness2=2.2m

convection coefficient=0.33W/m^2K

Explanation:

you must use this equation to calculate the thickness:

L=K(T2-T1)/Q

L=thickness

T=temperature

Q=heat

L1=0.04*(0--350)/10=1.4m

L2=0.1(220-0)/10=2.2m

Then use this equation to calculate the convective coefficient

H=Q/(T2-T1)

H=10/(250-220)=0.33W/m^2K

7 0
3 years ago
Bending is defined as? A. the application of a load tending to distort a member in one direction. B. the application of opposing
amm1812
Hi how are you today
4 0
2 years ago
Any change in the system from one equilibrium state to another is called: A) Path B) Process C) Cycle D) None of the above
dexar [7]

Answer:

B) Process

Explanation:

In thermodynamics a process is a passage of a thermodynamic system from an initial to a final state of thermodynamic equilibrium.

A thermodynamic process path is the series of states through which a system passes from an initial to a final state.

Cycle is a process in which initial and final state are identical.

7 0
3 years ago
(D)<br> 13. Describe the differences between an impact socket and a conventional socket.
docker41 [41]

Answer:

The wall of an impact socket is around 50% thicker than that of a regular socket, making it suitable for use with pneumatic impact tools, whereas regular sockets should only be used on hand tools.

Explanation:

This allows the socket to remain securely attached to the impact wrench anvil, even under high stress situations.

3 0
2 years ago
Other questions:
  • Solve the compound inequality. 3x − 4 &gt; 5 or 1 − 2x ≥ 7
    8·1 answer
  • Consider a thermal energy reservoir at 1500 K that can supply heat at a rate of 150,000 kJ/h. Determine the exergy of this suppl
    15·1 answer
  • An insulated piston–cylinder device initially contains 1 m3 of air at 120 kPa and 17°C. Air is now heated for 15 min by a 200-W
    7·1 answer
  • You're running an engine and seeing that it is exhausting blue smoke. Which is likely to
    9·1 answer
  • A force of 16,000 will cause a 1 1 bar of magnesium to stretch from 10 to 10.036 . Calculate the modulus of elasticity in . (Ent
    6·1 answer
  • The price of a single item within a group of items is
    8·1 answer
  • Yall know what this is called?​
    15·1 answer
  • A column carries 5400 pounds of load and is supported on a spread footing. The footing rests on coarse sand. Design the smallest
    10·1 answer
  • Plz help electrical technology
    15·2 answers
  • How many and what type of<br> receptacles are connected to<br> this circuit?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!