Write a method that reads a line of text from the keyboard a…

Write a method that reads a line of text from the keyboard and then displays the line, but with the first occurrence of hate changed to love. For example, a possible sample dialogue might beEnter a line of text.I hate you.I have rephrased that line to read:I love you.You can assume that the word hate occurs in the input. If the word hate occurs more than once in the line, your program will replace only its first occurrence.

Important note:  Now the you have opened this first question…

Important note:  Now the you have opened this first question, you must hold up your notes paper and show both sides to the camera.  This is the only reference (besides your online access to ESPP) allowed during the exam.  Please note that you are not allowed to have your PBA book open (either digital or hard copy ) during the exam.  —————————————————————————————————————————————————— You are a ride-share driver in New York who earns $250 for a day’s work. You have been offered a one-day ticket to the U.S. Open (also in New York) for $100. As a tennis fan, you value the experience at $300.  Heading to the U.S. Open means missing a day of work. 1.  Should you go to U.S. Open?  Explain using a cost benefit approach in decision-making. 2.  In reference to your example in our first discussion, how did you value your benefits (enjoyment) in dollar terms? You can briefly explain your example. 3. In general, give two reasons why it is challenging to apply cost/benefits to decision-making *For the question,  you will want to define in your own words the terms  marginal cost, marginal benefit, and opportunity cost.  

A company is evaluating two projects: Project A has a high…

A company is evaluating two projects: Project A has a higher NPV but a lower IRR. Project B has a lower NPV but a higher IRR. Both projects require the same initial investment, but only one can be chosen. Senior management favors Project B, arguing that its higher IRR shows better efficiency. However, the CFO insists on selecting Project A. Which of the following best explains why the CFO’s recommendation is correct?

A university IT department launches a project to replace its…

A university IT department launches a project to replace its outdated student portal. Halfway through, several new feature requests from faculty are added, communication between the tech and design teams becomes inconsistent, and some staff resist switching from the old system. The project soon falls behind schedule. Which of the following best explains the combination of issues this project is facing?

A software team is developing a new mobile app. Task A invol…

A software team is developing a new mobile app. Task A involves designing the app’s interface, while Task B involves writing the front-end code. The development team decides that both tasks can begin as soon as design work starts, allowing coders to begin implementing screens as the designers produce mockups. Which type of dependency best describes the relationship between Task A and Task B?