subject
Engineering, 26.02.2020 23:47 LukeneedhelpInMath

Ira, Jayla, and Kendra are all saying it would be better to move lines 22 and 24 to a single line executing print ('Code complete.') just before line 21. These three students have different reasons for their opinions. Their reasons are below. Do you think each of them is right, wrong, or somewhere in between? Explain your answer for each student. Ira: "It would be better to have a single print statement because that code is going to happen no matter what. The program will run slower by having it there twice." Jayla: "It would be better to have a single print statement because that code is going to happen no matter what. Later, if you want to change your program, you’re going to have to remember to change it in two places the way the code is now." Kendra: "It would be better to have a single print statement because it is going to happen no matter what. That program would take up less memory if you just wrote it once."

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Atmospheric air has a temperature (dry bulb) of 80° f and a wet bulb temperature of 60° f when the barometric pressure is 14.696 psia. determine the specific humidity, grains/lb dry air. a. 11.4 c. 55.8 d. 22.5 b. 44.1
Answers: 1
question
Engineering, 04.07.2019 18:10
True or false (explain) (110)[111] is a slip system in bcc metals . the {111} family in fcc contains 8 planes. resolved shear stress (rss) in single crystals is just related to the applied stress. critical resolved shear stress (crss) in single crystal metals is direct proportional to the number of defects in the structure
Answers: 2
question
Engineering, 04.07.2019 18:20
Steam enters a converging nozzle at 3.0 mpa and 500°c with a at 1.8 mpa. for a nozzle exit area of 32 cm2, determine the exit velocity, mass flow rate, and exit mach number if the nozzle: negligible velocity, and it exits (a) is isentropic (b) has an efficiency of 94 percent
Answers: 2
question
Engineering, 04.07.2019 18:20
Air flows over a heated plate àt a velocity of 50m/s. the local skin factor coefficient at a point on a plate is 0.004. estimate the local heat transfer coefficient at this point.the following property data for air are given: density = 0.88kg/m3 , viscosity 2.286 x 10 ^-5 kgm/s , k = 0.035w/mk ,cp = 1.001kj/kgk. use colburn reynolds analogy.
Answers: 1
You know the right answer?
Ira, Jayla, and Kendra are all saying it would be better to move lines 22 and 24 to a single line ex...
Questions
question
History, 17.09.2020 04:01
question
Mathematics, 17.09.2020 04:01
question
Mathematics, 17.09.2020 04:01
question
Chemistry, 17.09.2020 04:01
question
Mathematics, 17.09.2020 04:01
question
Mathematics, 17.09.2020 04:01
question
Mathematics, 17.09.2020 04:01
question
Chemistry, 17.09.2020 04:01
question
Mathematics, 17.09.2020 04:01
question
Mathematics, 17.09.2020 04:01
question
Mathematics, 17.09.2020 04:01
question
Mathematics, 17.09.2020 04:01
question
Mathematics, 17.09.2020 04:01
question
Mathematics, 17.09.2020 04:01
question
Mathematics, 17.09.2020 04:01
question
Mathematics, 17.09.2020 04:01
question
Mathematics, 17.09.2020 04:01
question
German, 17.09.2020 04:01
question
Mathematics, 17.09.2020 04:01
question
Mathematics, 17.09.2020 04:01
Questions on the website: 13722367