Questions
Case Study 3: Free Clinic Woes As the director of Franklin Creek District Health Department, Jane...

Case Study 3: Free Clinic Woes

As the director of Franklin Creek District Health Department, Jane Potterfield was proud of her self. She had gotten a small grant from a local corporation for a part-time receptionist and had received free use of an old store in one of her counties the county that was most rural. She also had all she needed to start a free clinic.

This primary care clinic would be available for those in the rural county who were working but unable to afford health insurance. In other word, they were too poor to afford an individual health plan but probably too rich to be eligible for Medicaid. Because all services were to be free, the state would furnish special help, such as free malpractice insurance coverage for the doctors.

Furthermore, the state health department had given Jane’s health department approval to hold a childhood vaccine program in the same rural building twice a month. This would make it possible to increase the number of rural children who got immunized according to the state timetables.

Jane was at her desk preparing an agenda for the next board of health meeting, with all this good news on it. She felt that she was really making a difference in her region.

Suddenly, there was a knock at her office door.

Jane looked up to see a member of the board of health, Dr. Karen Matthewsen. Jane felt Karen was the best board member they had. Karen was a country doctor who worked in the rural county where Jane’s concerns were the strongest, and Karen was a champion of the medically indigent throughout the whole region.

“Come in, Karen,” Jane said with enthusiasm. “You can perhaps give me some help drawing up the agenda item about the wonderful new free clinic and vaccine program.”

“Well, that is why I wanted to come see you, Jane I am worried about those new developments.” Karen said these words as she sat down in the guest chair by Jane’s desk. Karen was clearly upset.

“But you are the biggest champion for the dispossessed on our board. I thought you would be tickled pink to see more services opening where the need is so great.” Jane was also getting a little upset. This reaction from her old friend was not expected.

“As you know, Jane, I see more poor patients than any other doctor in the area, and I must say that it is tough enough to make a living in a rural county without having neighboring doctors come in and give free care. I know they are not supposed to take my Medicaid patients, but I operate on a close margin closer than you might expect and the loss of even underpaying private pay patients and maybe some Medicaid ones, too, is problematic. Some patients might even prefer your services to going on Medicaid, while I work to get my uninsured patients covered by Medicaid and never turn a Medicaid patient down.

“Furthermore, lots of residents of our rural county could use the new childhood vaccine program you are offering, and those vaccines represent 20% of my practice net income every summer in the month before school opens.”

Jane countered by noting that the free clinic would be encouraging eligible individuals to sign up for Medicaid and to see local doctors, but Karen noted that the free clinic would not be operating but two half days a week, and with volunteer labor, it would be unlikely to do a lot of follow up and paperwork.

“No,” Karen said, looking Jane straight in the eye. “I must say that, for the first time, I am against a new health department program aimed at the indigent. I believe country doctors like me need to be free of well-meaning government initiatives that are redundant, with private enterprises already struggling financially. I plan to vote against the clinic.”

Questions;

1.How do you feel about Karen’s position? What are its strengths and weaknesses?

2.Organizational staff people like to avoid having many split votes on crucial issues. What can Jane do to meet the needs of her community and maintain the board’s unity. Is there an effective compromise position that can be championed?

3.If you were a working but poor person needing care in the rural county, what would you recommend the board do

In: Nursing

ALMOST half the world’s population now lives in a democracy, according to the Economist Intelligence Unit,...

ALMOST half the world’s population now lives in a democracy, according to the Economist Intelligence Unit, a sister organisation of this newspaper. And the number of democracies has increased pretty steadily since the second world war. But it is easy to forget that most nations have not been democratic for much of their history and that, for a long time, democracy was a dirty word among political philosophers.

One reason was the fear that democratic rule would lead to ruin. Plato warned that democratic leaders would “rob the rich, keep as much of the proceeds as they can for themselves and distribute the rest to the people”. James Madison, one of America’s founding fathers, feared that democracy would lead to “a rage for paper money, for an abolition of debts, for an equal division of property and for any other improper or wicked projects”. Similarly John Adams, the country’s second president, worried that rule by the masses would lead to heavy taxes on the rich in the name of equality. As a consequence, “the idle, the vicious, the intemperate would rush into the utmost extravagance of debauchery, sell and spend all their share, and then demand a new division of those who purchased from them.”

Democracy may have its faults but alternative systems have proved no more fiscally prudent. Dictatorships may still feel the need to bribe their citizens (eg, via subsidised fuel prices) to ensure their acquiescence while simultaneously spending large amounts on the police and the military to shore up their power. The absolute monarchies of Spain and France suffered fiscal crises in the 17th and 18th centuries, and were challenged by Britain and the Netherlands which, though not yet democracies, had dispersed power more widely. Financial problems contributed to the collapse of the Soviet Union.

Nevertheless, with much of the democratic world now in the throes of a debt crisis, it is tempting to ask whether the fears of Madison and Adams have come to pass. Given the rise in inequality in America and Britain over the past 30 years, it is hard to argue that democracies have led to the confiscation of private wealth. Quite the reverse: modern American politicians either need to be wealthy, or need the financial backing of the rich.

But there is a broader problem. Modern governments play a much larger role in the economy than the ancient Greeks or the founding fathers could have imagined. This makes political leaders a huge source of patronage, in the form of business contracts, social benefits, jobs and tax breaks. As the late political scientist, Mancur Olson, pointed out, these goodies are highly valuable to the recipients but the cost to the average voter of any single perk will be small. So beneficiaries will have every incentive to lobby for the retention of their perks and taxpayers will have little reason to campaign against them. Over time the economy will be weighed down by all these costs, like a barnacle-encrusted ship. The Greek economy could be seen as a textbook example of these problems.

One answer could be to take fiscal policy out of the hands of elected leaders, just as responsibility for monetary policy has been handed to independent central bankers. To some extent, that has been happening. Greece was briefly run by Lucas Papademos, an unelected former central banker, and Italy is still ruled by Mario Monti, a former EU commissioner. These technocrats are, it is assumed, more willing to take unpopular decisions.

Another approach, with which America has occasionally flirted, is to pass decisions to a bipartisan commission. (This may be the best answer to the “fiscal cliff” that looms in 2013.) Since the decisions of such a commission, and indeed of technocrats in Greece and Italy, are still subject to a parliamentary vote, democracy is not completely abandoned.

For a long time, there did not seem to be any limit to the amount democracies could borrow. Creditors have been more patient with democratic governments than with other regimes, probably because the risk of abrupt changes of policy (like the repudiation of Tsarist debts by Russia in 1917) are reduced. But this has postponed the crunch point, rather than eliminated it—and allowed stable democracies to accumulate higher debt, relative to their GDP, than many, more volatile countries ever achieved. Governments can, as Madison suggested, confiscate the wealth of domestic creditors via inflation, taxes or default. But however often they vote, democracies cannot make foreign lenders extend credit. That harsh truth is now being discovered.

__________________

This question is based on the article above, “Democracies and debt” published by The Economist on September 1, 2012.

(A) According to the article, what are the two main factors that tend to raise public debt levels in democracies?

(B) The article mentions three mechanisms that can curb excessive government borrowing in democracies. What are those mechanisms? How do they work?

In: Economics

Blue Apron IPO Leaves a Bad Taste Founded in 2012, Blue Apron is one of the top meal-kit delivery services doing business in the United States.

Blue Apron IPO Leaves a Bad Taste Founded in 2012, Blue Apron is one of the top meal-kit delivery services doing business in the United States. Started by three co-founders—Matt Salzberg, Matt Wadiak, and Ilia Pappas—Blue Apron provides pre-portioned ingredients (and recipes) for a meal, delivered to consumers’ front doors. According to recent research, the U.S. meal-kit delivery industry is an $800 million business with the potential to scale up quickly, as more and more consumers struggle to find time to go grocery shopping, make meals, and spend time with family and friends in their hectic daily lives. As word spread among foodies about the quality and innovative meals put together by Blue Apron, the company’s popularity took off, supported by millions in start-up funding. Costs to scale the business have not been cheap—estimates suggest that Blue Apron’s marketing costs have been high. Despite the challenges, by early 2017 the company was selling more than 8 million meal kits a month and decided to go public in an effort to raise more money and scale its operations, including a new fulfillment facility in New Jersey. According to the IPO paperwork filed with the SEC, the company had net revenues of $84 million in 2014, which increased to $795 million in 2016. However, those ambitious numbers were not without warnings: company losses increased in the same time period from $33 million to $55 million. Even with those larges losses on its balance sheet, Blue Apron decided to go ahead with the IPO and hired Goldman Sachs and Morgan Stanley, two top stock underwriters, to figure out the right price for the initial offering. While Blue Apron and its underwriters were finalizing stock prices, Amazon announced plans to acquire Whole Foods—a move that could negatively affect Blue Apron’s business going forward. Even after Amazon’s announcement, Blue Apron and its financial advisors priced the initial offering at $15 to $17 a share and met with investors across the country to inform them about the IPO, which would value the company on paper at more than $3 billion. As part of the IPO strategy, Blue Apron executives needed to communicate a strong financial picture while providing potential investors with an honest assessment of investor demand, especially for institutional investors, who typically are repeat buyers when it comes to IPOs. According to sources close to the IPO experience, Blue Apron’s bankers told investors late in the IPO pricing process that they were “closing their order books early,” which meant there was a heightened demand for the stock—a signal that the stock would be priced in the original $15–$17 range. A day later, however, Blue Apron amended its prospectus with a price range between $10 and $11 a share, which shocked potential investors—a move greeted with criticism that Blue Apron’s messaging now lacked credibility in the eyes of the investment community if the company priced the IPO $5 lower per share than originally estimated. With that sudden change in the IPO offering, investors walked away, and the $10 initial offering for Blue Apron stock actually declined on its first day of trading. As of this writing, the stock has lost close to 40 percent from the original $10-per-share price. With continued consolidation in the meal-kit delivery sector inevitable, Blue Apron is at a crossroads when it comes to generating revenue and stabilizing costs while trying to sign up more subscribers. One of its competitors, Plated, was recently acquired by the Alberstons grocery chain, and Amazon has already trademarked the phrase, “We do the prep. You be the chef,” as it relates to prepared food kits. Critical Thinking Questions What issues should executives of a company such as Blue Apron consider before deciding to go public? In your opinion, was the company ready for an IPO? Why or why not? How else could Blue Apron have raised funds to continue to grow? Compare the risks of raising private funding to going public. Use a search engine and a site such as Yahoo! Finance to learn about Blue Apron’s current Prepare a brief summary, including the company’s current financial situation. Is it still a public company, and how has its stock fared? Would you invest in it? Explain your reasoning.

In: Finance

Case Study 2 – Auditing ACCT3000 (Semester 2, 2019) You are an Audit Senior currently planning...

Case Study 2 – Auditing ACCT3000 (Semester 2, 2019)
You are an Audit Senior currently planning the 30 June 20X9 audit of Technology Limited, an Australian-owned company that produces and exports computer chips to China. At a recent planning meeting with Technology Limited’s senior staff, you obtained the following overview of this year’s operations:
Tight checks by Australian custom officials have delayed several shipments of computer chips. These delays have angered Chinese customers who are threatening to deduct 20% from the amounts owing as compensation for lost production time.
One of Technology Limited’s customers, Blue Chip Limited, is claiming that the latest batch of computer chips it received was found to be faulty. Blue Chip Limited is refusing to pay its account, which is allegedly seven months overdue. Technology Limited has claimed to have launched an investigation into the allegations, but as yet not been able to substantiate them. Technology Limited has suffered significant cash flow problems because another major customer, Creative Limited (Creative), is experiencing financial difficulties. As a result, Creative is taking well over 120 days to pay outstanding amounts, despite Creative’s terms of trade being payment within 30 days. Creative makes up 40 per cent of Technology Limited’s sales and the board has been reluctant to take any action that might adversely affect those sales. Consequently, Technology Limited has had to increase its dependency on its line of credit, and this has caused it to temporarily breach the debt to equity ratio required in its loan covenant with Big Bank Limited.
One of Technology Limited’s major suppliers went bankrupt one month ago, causing major product shortages. To overcome the problem, Peter James, the husband of the finance director, Natalie James, provided electronic components used in the production of computer chips to Technology Limited through his private company Norton Limited. Norton Limited demands payment in $US prior to the electronic components being supplied. There is no formal agreement in place with Peter James, however, the goods are being provided at competitive prices. You are concerned about the electronic components that Peter James’ company is supplying, because his products are new to the market and you have heard some of Technology Limited’s staff complaining that they are of poor quality.
Due to increased competitive pressure, Technology Limited has recently moved the manufacture of some of its computer chips to Bangladesh. Technology Limited saves around 25 per cent in costs compared to the equivalent Australian made items. However, the manufacturing process takes longer and on a few occasions late delivery from Bangladesh has resulted in lost sales.
Last month, a protester suffered a broken leg, allegedly because he was hit by a company truck. The protester is now suing Technology Limited for damages, claiming the contractor was in fact an employee of Technology Limited at the time of the accident, and was acting on Technology Limited’s instructions. Technology Limited is fighting the case and appears to have a reasonable chance of winning; however, the adverse publicity being generated is making the company nervous about its sales in the future.
During the period, the Australian dollar has remained steady against the Chinese Yuan, although it fell by about 3% against the US dollar. Debtors are invoiced in $US at the time of shipment, and payment is received in $US one month after the shipment is delivered. It takes around six weeks for the charter vessels to travel from Technology Limited’s shipyard at Bigmantle Bay to China. A recent downturn in the Chinese economy is affecting forward orders, which have fallen by 15%.
Required:
Prepare a memorandum to the audit manager, outlining your risk assessment relating to Technology
Limited. When making your risk assessment:
(a) Identify two (2) balance sheet accounts from the information provided that are subjected
to an increase in audit risk. Briefly explain what factors increase the audit risk associated
with the two (2) account balances identified. In your explanation, please mention the key
assertion(s) at risk of material misstatement and the components of the audit risk model
affected for each account balance identified.
(b) Identify how the audit plan will be affected and recommend specific audit procedures to
address the risks associated with each account balance identified.
(Please Note – Maximum Word Limit: 800 Words excluding references)

In: Accounting

This question is based on the article below: According to the article, what are the two...

This question is based on the article below:

  1. According to the article, what are the two main factors that tend to raise public debt levels in democracies?
  2. The article mentions three mechanisms that can curb excessive government borrowing in democracies. What are those mechanisms? How do they work?

Article: Democracies and debt

ALMOST half the world’s population now lives in a democracy, according to the Economist Intelligence Unit, a sister organisation of this newspaper. And the number of democracies has increased pretty steadily since the second world war. But it is easy to forget that most nations have not been democratic for much of their history and that, for a long time, democracy was a dirty word among political philosophers.

One reason was the fear that democratic rule would lead to ruin. Plato warned that democratic leaders would “rob the rich, keep as much of the proceeds as they can for themselves and distribute the rest to the people”. James Madison, one of America’s founding fathers, feared that democracy would lead to “a rage for paper money, for an abolition of debts, for an equal division of property and for any other improper or wicked projects”. Similarly John Adams, the country’s second president, worried that rule by the masses would lead to heavy taxes on the rich in the name of equality. As a consequence, “the idle, the vicious, the intemperate would rush into the utmost extravagance of debauchery, sell and spend all their share, and then demand a new division of those who purchased from them.”

Democracy may have its faults but alternative systems have proved no more fiscally prudent. Dictatorships may still feel the need to bribe their citizens (eg, via subsidised fuel prices) to ensure their acquiescence while simultaneously spending large amounts on the police and the military to shore up their power. The absolute monarchies of Spain and France suffered fiscal crises in the 17th and 18th centuries, and were challenged by Britain and the Netherlands which, though not yet democracies, had dispersed power more widely. Financial problems contributed to the collapse of the Soviet Union.

Nevertheless, with much of the democratic world now in the throes of a debt crisis, it is tempting to ask whether the fears of Madison and Adams have come to pass. Given the rise in inequality in America and Britain over the past 30 years, it is hard to argue that democracies have led to the confiscation of private wealth. Quite the reverse: modern American politicians either need to be wealthy, or need the financial backing of the rich.

But there is a broader problem. Modern governments play a much larger role in the economy than the ancient Greeks or the founding fathers could have imagined. This makes political leaders a huge source of patronage, in the form of business contracts, social benefits, jobs and tax breaks. As the late political scientist, Mancur Olson, pointed out, these goodies are highly valuable to the recipients but the cost to the average voter of any single perk will be small. So beneficiaries will have every incentive to lobby for the retention of their perks and taxpayers will have little reason to campaign against them. Over time the economy will be weighed down by all these costs, like a barnacle-encrusted ship. The Greek economy could be seen as a textbook example of these problems.

One answer could be to take fiscal policy out of the hands of elected leaders, just as responsibility for monetary policy has been handed to independent central bankers. To some extent, that has been happening. Greece was briefly run by Lucas Papademos, an unelected former central banker, and Italy is still ruled by Mario Monti, a former EU commissioner. These technocrats are, it is assumed, more willing to take unpopular decisions.

Another approach, with which America has occasionally flirted, is to pass decisions to a bipartisan commission. (This may be the best answer to the “fiscal cliff” that looms in 2013.) Since the decisions of such a commission, and indeed of technocrats in Greece and Italy, are still subject to a parliamentary vote, democracy is not completely abandoned.

For a long time, there did not seem to be any limit to the amount democracies could borrow. Creditors have been more patient with democratic governments than with other regimes, probably because the risk of abrupt changes of policy (like the repudiation of Tsarist debts by Russia in 1917) are reduced. But this has postponed the crunch point, rather than eliminated it—and allowed stable democracies to accumulate higher debt, relative to their GDP, than many, more volatile countries ever achieved. Governments can, as Madison suggested, confiscate the wealth of domestic creditors via inflation, taxes or default. But however often they vote, democracies cannot make foreign lenders extend credit. That harsh truth is now being discovered.

In: Economics

Jim Jasons is thinking about starting a company to produce high performance video gaming computers. He...

Jim Jasons is thinking about starting a company to produce high performance video gaming computers. He loves playing video games. He sees it as an opportunity to be his own boss, making a living doing what he likes best. Jim paid $1,000 for training, and he has already purchased new equipment costing $10,000 to assemble the computers. He estimates that it will cost $750 in materials (case, monitor, keyboard, graphics card, CPU, etc.) to make each computer. If he decides to make computers full time, he will need to rent office and manufacturing space at an estimated $1,200 per month for rent plus another $300 per month for various utility bills. Jim would perform all the manufacturing and run the office, and he would like to pay himself a salary of $5,000 per month. Jim plans to hire two salespeople at a base salary of $1,500 each per month plus a commission of $100 per computer. Jim plans to sell each computer for $1,500. He believes that he can sell 50 computers in December for Christmas, but he is not sure what the sales will be during the rest of the year. However, he is sure that the computers will be popular because so many of his friends play video games. Overall, he is confident that he can pay all his business costs, pay himself, the monthly salary of $5,000 and earn at least $2,000 more than that per month. (Ignore income taxes.)

The following questions will help you analyze the information for this problem. Use Excel for all calculations and Microsoft Word for the written portion. One team member will submit one file in Canvas. You will be graded on accuracy and organization.

A. Preform analyses to estimate the number of computers Jim would need to manufacture and sell each year for his business to be financially successful:

1. List all the costs described and indicate whether each cost is (a) a relevant fixed cost, (b) a relevant variable cost, or (c) NOT relevant to Jim’s decision.

2. Calculate the contribution margin per unit and the contribution margin ratio.

3. Write down the total cost function for the computers and calculate the annual breakeven point in units and in revenues.

4. How many computers would Jim need to sell annually to earn $2,000 per month more than his salary?

B. Identify uncertainties about the CVP calculations:

1. Explain why Jim cannot know for sure whether his actual costs will be the same dollar amounts that he estimated. In your explanation, identify as many business risks as you can. (Hint: For each of the costs for Jim’s business that he has not identified, think about reasons why the annual cost might be different than the amount he estimated.)

2. Identify possible costs for Jim’s business that he has not identified. List as many additional types of cost as you can.

3. Explain why Jim cannot know for sure how many computers he will sell each year. In your explanation, identify as many risks as you can and discuss whether Jim is likely to be biased in his revenue and cost estimates.

4. Explain how business risk and Jim’s potential biases might affect interpretation of the breakeven analysis results.

PART A ANSWERED:

1.)

Relevant Fixed Costs Monthly: Rent $1,200, Various Utility Bills $300, Own Salary $5,000, Base salary for salespeople $3,000 (1500*2), Total Fixed Cost per month $9,500,

Relevant Variable Cost per unit: Cost of materials $750, Sales Commission $100, Total Variable Cost per unit $850

Not Relevant to the decision, Cost of trainning $1,000, Cost of Equipment $10,000, These are sunk cost, already incurred

CONTRIBUTION MARGIN Sales Price per unit $1,500 Variable cost per unit $850 Contribution Margin per unit=1500-850 $650 Contribution Margin Ratio=650/1500= 0.433333

3 TOTAL COST FUNCTION: TC=850Q+9500 TC=Total Cost Q=Quantity Sold

Breakeven Point in Units=Fixed Cost/Unit Contribution Margin Breakeven Point in Units=9500/650 14.61538 Rounded to whole number, Break even point in units 15 Break Even point in Revenue=$1500*15

$22,500 4 Net Earning =$2000 Number of Units to be sold=15+2000/650 =18

PLEASE JUST ANSWER PART B (BOLDED)

In: Accounting

Q1: Which of the following is not an algorithm? A recipe. Operating instructions. Textbook index. Shampoo...

Q1: Which of the following is not an algorithm?

  1. A recipe.
  2. Operating instructions.
  3. Textbook index.
  4. Shampoo instructions (lather, rinse, repeat).

Q2: Which of the following is true?

  1. Pseudocode is used to describe an algorithm.
  2. Pseudocode is translatable by the programmer into a programming language (like Java).
  3. Pseudocode is used to describe executable statements that will eventually be translated by the programmer into a program.
  4. All of the above.

Q3: Which of the following is not a benefit of “goto-less programming”?

  1. Easier to debug and modify
  2. Shorter
  3. Clearer
  4. More likely to be bug free

Q4: Which of the following is not a control structure:

  1. Sequence structure.
  2. Selection structure.
  3. Repetition structure.
  4. Action structure.

Q5: Which of the following is an action-state symbol?

  1. diamonds.
  2. circles.
  3. rectangles with left and right sides replaced with arcs curving outward.
  4. rounded rectangles.

Q6: Which statement is false?

  1. Unless directed otherwise, the computer executes Java statements one after the other in the order in which they are written.
  2. Activity diagrams normally show the Java code that implements the activity.
  3. Like pseudocode, activity diagrams help programmers develop and represent algorithms.
  4. The arrows in the activity diagram represent transitions, which indicate the order in which the actions represented by the action states occur.

Q7: Which of the following is a double-selection control statement?

  1. do
while.
  2. for.
  3. if
else.
  4. if.

Q8: Which of the following is not a Java keyword?

  1. do
  2. next
  3. while
  4. for

Q9: What is output by the following Java code segment?

int temp;

temp = 200;

if ( temp > 90 )

   System.out.println( "This porridge is too hot." );

if ( temp < 70 )

   System.out.println( "This porridge is too cold." );

if ( temp == 80 )

   System.out.println( "This porridge is just right!" );

  1. This porridge is too hot.    
  2. This porridge is too cold.
  3. This porridge is just right!
  4. None of the above.

                                            

Q10: A decision symbol in an activity diagram takes the shape of a ________.

  1. Diamond.
  2. Rectangle.
  3. Circle.
  4. Question Mark.

Q11: Which of the following is not included in an activity diagram for a control structure?

  1. Transition arrows
  2. Attribute
  3. Action state
  4. Decision symbols

Q12: Which of the following is not true about the conditional operator ( ?: )?

  1. The conditional operator is a ternary operator, meaning that it takes three operands.
  2. The first operand is a boolean expression.
  3. The second operand is the result value if the condition evaluates to false.
  4. The second operand is the result value if the condition evaluates to true.

Q13: What is output by the following Java code segment?

int temp;

temp = 180;

if ( temp > 90 )

{

   System.out.println( "This porridge is too hot." );

  

   // cool down

   temp = temp – ( temp > 150 ? 100 : 20 );

} // end if

else

{

   if ( temp < 70 )

   {

      System.out.println("This porridge is too cold.");

           

      // warm up

      temp = temp + (temp < 50 ? 30 : 20);

   } // end if

} // end else

if ( temp == 80 )

   System.out.println( "This porridge is just right!" );

  1. This porridge is too hot.
  2. This porridge is too cold.
    This porridge is just right!
  3. This porridge is just right!
  4. None of the above.

Q14: A dangling-else can be clarified by using:

  1. Indentation
  2. Parentheses ()
  3. Braces {}
  4. End-of-line comment //

Q15: The empty statement is denoted with what symbol?

  1. Semicolon ;
  2. Parentheses ()
  3. Braces {}
  4. End-of-line comment //

ANS: a. Semicolon ;

Q16: Which statement is false?

  1. Both syntax errors and logic errors are caught by the compiler.
  2. Both syntax errors and logic errors have effects at execution time.
  3. Syntax errors are caught by the compiler. Logic errors have effects at execution time.
  4. Logic errors are caught by the compiler. Syntax errors have effects at execution time.

Q17: What is output by the following Java code segment?

int temp;

temp = 180;

while ( temp != 80 )

{

   if ( temp > 90 )

   {

      System.out.print( "This porridge is too hot! " );

      // cool down

      temp = temp – ( temp > 150 ? 100 : 20 );

   } // end if

   else

   {

      if ( temp < 70 )

      {

         System.out.print(

            "This porridge is too cold! ");

           

            // warm up

            temp = temp + (temp < 50 ? 30 : 20);

      } // end if

   } // end else

} // end while

if ( temp == 80 )

      System.out.println( "This porridge is just right!" );

  1. This porridge is too cold! This porridge is just right!
  2. This porridge is too hot! This porridge is just right!
  3. This porridge is just right!
  4. None of the above.

Q18: Which of the following is not an error (either a syntax error or a logic error)?

  1. Neglecting to include an action in the body of a while statement that will eventually cause the condition to become false.
  2. Spelling a key word (such as while or if) with a capitalized first letter.
  3. Using a condition for a while statement that is initially false.
  4. An infinite loop.

Q19: In an activity diagram, the merge symbol has the same shape as what other symbol?

  1. Decision symbol
  2. Action symbol
  3. Transition arrows
  4. Initial state

In: Computer Science

I need original java code that completes this program and gets it to print out results...

I need original java code that completes this program and gets it to print out results just like in the example. Also please upload answer in a word document format only.

Implement both linear search and binary search, and see which one performs better given an array 1,000 randomly generated whole numbers (between 0-999), a number picked to search that array at random, and conducting these tests 20 times. Each time the search is conducted the number of checks (IE number of times the loop is ran or the number of times the recursive method is called) needs to be counted and at the end the total number of checks should be averaged.

A few notes

Each algorithm (linear search and binary search) is ran 20 times

Each time a new sorted array of whole numbers is created and populated with random values from 0-999

A value to be searched in the said array is randomly selected from the range 0-999

Each algorithm must display if that number was successfully found

Each algorithm must display the number of checks it took to determine the above answer

It is advisable to create a method that returns the sorted array

Populate the array with random numbers

Search the array next

Return whether or not the value was found in the array

Implement both searches as a method

However instead of returning whether or not it found the number it should return the number of checks.

Whether the value is or is not found can be printed in the method

Binary search is fairly simple to create using recursion

Do not count the out of bounds or stopping index as a check

Example:

Welcome to the search tester. We are going to see which algorithm performs the best out of 20 tests

Searching using linear search

Found!

Searching using binary search

Found!

Linear Checks: 753

Binary Checks: 8

Searching using linear search

Found!

Searching using binary search

Found!

Linear Checks: 834

Binary Checks: 10

Searching using linear search

Not Found

Searching using binary search

Not Found

Linear Checks: 1000

Binary Checks: 10

Searching using linear search

Found!

Searching using binary search

Found!

Linear Checks: 515

Binary Checks: 6

Searching using linear search

Found!

Searching using binary search

Found!

Linear Checks: 757

Binary Checks: 7

Searching using linear search

Found!

Searching using binary search

Found!

Linear Checks: 395

Binary Checks: 9

Searching using linear search

Found!

Searching using binary search

Found!

Linear Checks: 117

Binary Checks: 7

Searching using linear search

Found!

Searching using binary search

Found!

Linear Checks: 334

Binary Checks: 10

Searching using linear search

Found!

Searching using binary search

Found!

Linear Checks: 521

Binary Checks: 9

Searching using linear search

Not Found

Searching using binary search

Not Found

Linear Checks: 1000

Binary Checks: 10

Searching using linear search

Not Found

Searching using binary search

Not Found

Linear Checks: 1000

Binary Checks: 10

Searching using linear search

Not Found

Searching using binary search

Not Found

Linear Checks: 1000

Binary Checks: 10

Searching using linear search

Not Found

Searching using binary search

Not Found

Linear Checks: 1000

Binary Checks: 10

Searching using linear search

Found!

Searching using binary search

Found!

Linear Checks: 901

Binary Checks: 10

Searching using linear search

Found!

Searching using binary search

Found!

Linear Checks: 626

Binary Checks: 8

Searching using linear search

Found!

Searching using binary search

Found!

Linear Checks: 361

Binary Checks: 9

Searching using linear search

Found!

Searching using binary search

Found!

Linear Checks: 630

Binary Checks: 9

Searching using linear search

Found!

Searching using binary search

Found!

Linear Checks: 443

Binary Checks: 7

Searching using linear search

Found!

Searching using binary search

Found!

Linear Checks: 818

Binary Checks: 10

Searching using linear search

Found!

Searching using binary search

Found!

Linear Checks: 288

Binary Checks: 7

The average number of checks for 20 were:

Linear Search 664

Binary Search 8

In: Computer Science

For this program you will implement the following utility functions to test mastery of C strings....

For this program you will implement the following utility functions to test mastery of C strings.

*******you MUST use these these function*****

void removeBlanks(char *src, char *dest);

void replaceChar(char *src, char oldChar, char newChar);

char *flipCase(const char *src);

Please read the description of these functions carefully.

In the removeBlanks function you will implement a routine that takes a string in as src and outputs the same string into dest but removing any blank space character encountered. For example, if the src is “Hel lo Wor ld!”, this function should return the value “HelloWorld!” via the dest pointer . 1

In the replaceChar function your function should operate much like a find and replace operation in a word processor works, meaning that the function will replace any instance of the character oldChar and replace it with the character newChar. For example, for a src string “Hel lo Wor ld”, if oldChar is ‘o’ and newChar is ‘e’, then src is modified as “Hel le Were ld!”.

In the flipCase function the function turns each lowercase character into an uppercase character and each uppercase character into a lowercase character. For example, if the src string is “GNU Image Processing Tool-Kit”, then this function should return a string “gnu iMAGE pROCESSING tOOL-kIT”.

steps for flipCase function: 1. dynamically create a new string (character array) equivalent to the length of src. In this string, you will store the src after the case converstion. 2. Use a FOR LOOP interate through each character of src. Check for upper case and lower case, else assign the current character of src to the new string (no conversion is required) 3. Finally add a null terminating character at the end of the new string and return it.

In your main function, you should prompt the user for a string to use for the first two functions, and a string to use for the third function. The user should be allowed to enter any string including ones with white spaces as input. You should also prompt the user for a character to replace and a replacement character for the flip case function. You may assume that any input string will be at maximum 100 characters.

****************************

So I can't figure out how to fix my code. It is IMPORTANT that it is fixed following the guidlines above.

#include<stdio.h>
#include<stdlib.h>
#include<ctype.h>
#include<string.h>

void removeBlanks(char *src, char *dest);
void replaceChar(char *src, char oldChar, char newChar);
char *flipCase(const char *src);


int main(void) {
  
   char string1[100];
   char string2[100];
   char before;
   char after;
   char destination;
  
  
   printf("Enter string for remove blanks and replace char function functions:\n");
   fgets(string1, 100, stdin);
   //printf("%s", string1);
  
   printf("Enter string for flip case function:\n");
   fgets(string2, 100, stdin);
   //printf("%s", string2);
  
   printf("Enter character to replace:\n");
   scanf("%c", &before);
  
   printf("Enter replacement character:\n");
   scanf("%c", &after);
  
  
   printf("1. Remove Blanks\n");
   printf("Remove all blanks in %s", string1);
   removeBlanks(string1, &destination);
   printf("%c\n", destination);
  
   printf("2. Replace Char\n");
   printf("Remove all '%c's in '%s' with '%c's:", before, string1, after);
   replaceChar(string1, before, after);
   printf("%s\n", string1);
  
   printf("3. Flip Case\n");
   printf("Original string is: %s", string2);
   printf("Flipped case string is: %s\n", flipCase(string2));
  
  
   return 0;
   }
  
  
  
void removeBlanks(char *src, char *dest) {
   int length = strlen(src);
   int i = 0;
   int j = 0;
   for(i = 0; i < length; i++) {
       if(src[i] != ' ') {
           dest[j] = src[i];
           j++;
       }
   }
   dest[j] = '\0';
}

void replaceChar(char *src, char oldChar, char newChar) {
   int length = strlen(src);
   int i;
   for(i = 0; i < length; i++) {
       if(src[i] == oldChar) {       //Compare
           src[i] = newChar;       //Assign
       }
   }
}

char *flipCase(const char *src) {
  
   char *tempStr = malloc(strlen(src) + 1);
  
  
   //Copy source to tempStr
   strncpy(tempStr, src, strlen(src));
   int i;
  
   //Check if case if lower or upper
   for(i = 0; i < strlen(src); i++) {
       if(isupper(src[i])) {
           tempStr[i] = tolower(src[i]);
       } else if(islower(src[i])) {
           tempStr[i] = toupper(src[i]);
       } else {
           tempStr[i] = src[i];
   }
   tempStr[i] = '\0';
   }
   return tempStr;
   //return 0;
}

  
  
  
  

In: Computer Science

Read the following case carefully and answer all the questions. Use a critical and analytical style...

Read the following case carefully and answer all the questions. Use a critical and analytical style and be clear in answering the questions; general answers earn zero marks.
The maximum score is ​100 marks​, each question has ​25 marks​.
Great Water of France, Inc.: Perrier
Perrier is naturally carbonated spring water with smaller bubbles and a distinct flavor when compared with competing products, most of which are charged with machine-made carbon dioxides. Thedistinctivelyshapedgreen-tintedbottle,theequalitydistinctivelabel,thepremium price, and the advertising all combine to have a snob appeal and build an elitist image.
Perrier is globally known for its quality due to low mineral content (particularly sodium). Perrier plans to be perfect anytime by providing the best tasting sparkling water on the market. They are not only marketing for the rich and/or famous, but they also want to be an everyday thirst quencher. Perrier's vision is to be the number one sparkling mineral water in the world. Perrier’s mission is to offer bottled water to meet consumer needs anywhere, anytime.
In May of 1989 in an issue of Fortune, the company was depicted as one of six companies that compete best. Fortune quotes, “These are companies you don’t want to come up against in your worst nightmare. In the business they are in, they amass crushing market share.” Perrier controlled 24% of the total US bottled-water business. Even competition like Coca-Cola, PepsiCo, and Anheuser-Busch was hardly affecting the sales of Perrier. After all, we can

conclude that Perrier is a competitive business that also understands the importance of how business is conducted.
In February 1990 news reached Perrier’s executive suite that traces of benzene had been found in its bottled water. Ronald Davis, President of Perrier Group of America ordered an intensive recall of all Perrier bottles in North America. A few days later Perrier S.A. expands the recall to the rest of the world. At first, the excuse given by Perrier officials was that the contamination occurred because an employee mistakenly used cleaning fluid containing benzene to clean the production-line machinery that fills bottles for North America. Perrier now finally admits that benzene naturally occurs in Perrier water but the problem was now visible because the workers forgot to replace the filter. Then Perrier faced a big problem. Due to this drastic recall, Perrier was completely out of the market for a total of 5 months. Ronald Davis, President of North America Perrier, later pointed out that the company didn’t have to recall all 70 million bottles of U.S. inventory. It was too late for that. By the end of 1990, it was very obvious that Perrier was not going to regain its market position. Perrier’s sales had only reached 60% of pre-recall levels.
We can easily notice that Perrier has had great success when first got to the US market. However, after this tremendous success, its sales get decreased dramatically. When you’re running a business in a highly competitive environment as in Perrier’s case you have to be more flexible and not depend on word-of-mouth advertising. That’s why in this situation the right move according to us is to let the advertising agency launch its advertising campaign and try to regain the company’s “newsworthiness”. We think that the initial success of the company is not only due to that it’s a nice quencher, but because it is a naturally carbonated spring water which consists of small bubbles and that’s what distinguishes it from the other spring waters. One of the biggest problems for the company is the plan for shifting their distribution from gourmet shops to the soft drink section of supermarkets. Also, another issue is their vision that their product would be sold as a “price special”.

Questions:
1. Market segmentation divides a market into well-defined slices and uses different variables for segmentation. Justify which segmentation variable Perrier can use to reach the local Lebanese Market.
2. Explain the buyer-readiness stage and apply the marketing funnel to Perrier and to another competing brand for selling carbonate water in the Lebanese market, and justify the different loyalty status for Perrier.
3. Although many different growth strategies are available to firms, some of the best opportunities come from growing the core—focusing on the most successful existing products and markets. Critically analyze the three strategies that Perrier can use to improve revenues and to lower costs.
4. A company’s positioning and differentiation strategy must change as its product, market, and competitors change over the product life cycle. To say Perrier has a life cycle is to assert fourassumptions. Discussandexplainthefourassumptionsandsupportyouranswerfrom the case.

In: Accounting