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
3.
Andreyy89

Answer:

7

Explanation:

5 + 2 = 7

4 0
3 years ago
A construction manager is looking for workers to build a series of walkways within a large garden apartment. What type of workme
Lesechka [4]

Answer:

<u>construction workers</u>

Explanation:

A construction worker is usually someone with the technical skills and abilities needed to manually construct physical infrastructures.

Since a walkway is an infrastructure, hiring skilled construction workers should perform the project of building the series of walkways within the large garden apartment.

3 0
3 years ago
What type of engineer works to create a practical and safe energy source?
Fittoniya [83]
Why did you put this on here when you know the answer lol
4 0
3 years ago
Assume a function requires 20 lines of machine code and will be called 10 times in the main program. You can choose to implement
Volgvan

Answer:

"Macro Instruction"

Explanation:

A macro definition is a rule or pattern that specifies how a certain input sequence should be mapped to a replacement output sequence according to a defined procedure. The mapping process that instantiates a macro use into a specific sequence is known as macro expansion.

It is a series of commands and actions that can be stored and run whenever you need to perform the task. You can record or build a macro and then run it to automatically repeat that series of steps or actions.

7 0
3 years ago
A 14 inch diameter pipe is decreased in diameter by 2 inches through a contraction. The pressure entering the contraction is 28
Delicious77 [7]

Answer:

5984.67N

Explanation:

A 14 inch diameter pipe is decreased in diameter by 2 inches through a contraction. The pressure entering the contraction is 28 psi and a pressure drop of 2 psi occurs through the contraction if the upstream velocity is 4.0 ft/sec. What is the magnitude of the resultant force (lbs) needed to hold the pipe in place?

from continuity equation

v1A1=v2A2

equation of continuity

v1=4ft /s=1.21m/s

d1=14 inch=.35m

d2=14-2=0.304m

A1=pi*d^2/4

0.096m^2

a2=0.0706m^2

from continuity once again

1.21*0.096=v2(0.07)

v2=1.65

force on the pipe

(p1A1- p2A2) + m(v2 – v1)

from bernoulli

p1 + ρv1^2/2 = p2 + ρv2^2/2

difference in pressure or pressure drop

p1-p2=2psi

13.789N/m^2=rho(1.65^2-1.21^2)/2

rho=21.91kg/m^3

since the pipe is cylindrical

pressure is egh

13.789=21.91*9.81*h

length of the pipe is

0.064m

AH=volume of the pipe(area *h)

the mass =rho*A*H

0.064*0.07*21.91

m=0.098kg

(193053*0.096- 179263.6* 0.07) + 0.098(1.65 – 1.21)

force =5984.67N

4 0
3 years ago
Other questions:
  • A liquid refrigerant (sg=1,2) is flowing at a weight flow rate of 20,9 N/h. Refrigerant flashes into a vapor and its specific we
    15·1 answer
  • A 100 kmol/h stream that is 97 mole% carbon tetrachloride (CCL) and 3% carbon disulfide (CS2) is to be recovered from the bottom
    7·1 answer
  • 1- A square-wave inverter has a dc source of 96 V and an output frequency of 60 Hz. The load is a series RL load with R = 5 Ohm
    7·1 answer
  • The solid cylinders AB and BC are bonded together at B and are attached to fixed supports at A and C. The modulus of rigidity is
    6·1 answer
  • Why is low voltage advantageous in arc welding?
    5·1 answer
  • (TCO 1) Name one disadvantage of fixed-configuration switches over modular switches. a. Ease of management b. Port security b. F
    6·1 answer
  • To increase fault-tolerance, the security administrator for Corp has installed an active/passive firewall cluster where the seco
    11·1 answer
  • Breaks do not overheat true false ?
    6·1 answer
  • After adjusting your seat, your___ should be as closest possible to the back rest.
    14·1 answer
  • Workers who work with what kind of chemicals chemicals may require regular medical checkups on a more frequent basis as a result
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!