Questions
This assignment will give you practice in Handling Exceptions and using File I/O. Language for this...

  • This assignment will give you practice in Handling Exceptions and using File I/O. Language for this program is JAVA

    Part One

  • A hotel salesperson enters sales in a text file. Each line contains the following, separated by semicolons:
    • The name of the client,
    • the service sold (such as Dinner, Conference, Lodging, and so on),
    • the amount of the sale,
    • and the date of that event.
  • Prompt the user for data to write the file.

    Part Two

  • Write a program that reads the text file as described above, and that writes a separate file for each service category, containing the entries for that category. Name the output files Dinner.txt, Conference.txt, and so on.
  • Enter the name of the output file from Part One as a command line argument.

    Both Parts

  • For all programs, catch and handle the Exceptions appropriately and validate the input data where needed.
  • Display an error if the sales file does not exist or the format is incorrect.
  • Also, create your own exception to handle "unknown transaction" exceptions.

    Samples:

    • Contents of sales.txt (file created in part one)
      John Public;Dinner;29.95;6/7/2014
      Jane Public;Conference;499.00;8/9/2014
      Abby Lawrence;Dinner;23.45;10/10/2014
      
    • Contents of Dinner.txt (file created in part two)
      John Public;Dinner;29.95;6/7/2014
      Abby Lawrence;Dinner;23.45;10/10/2014
      
    • Contents of Conference.txt (file created in part two)
      Jane Public;Conference;499.0;8/9/2014

In: Computer Science

Reno, Inc., is considering a project to establish a plant for producing and selling consumer goods...

Reno, Inc., is considering a project to establish a plant for producing and selling consumer goods
in an under developed country. Assume that the host country’s economy is very dependent on
oil prices, the local currency of the country is very volatile, governance standards are quite
Page | 4
compromised with a high pedigree of unfair practices and the sovereign or country risk is
considered to be high. It is known that the host country’s economic conditions are un-related to
U.S. economy and the global economy other than material changes that relate and/or emanate
in external environment due to oil price changes.
Required:
a) Should the required rate of return (and therefore the risk premium) on the project be
higher or lower than that of other alternative projects in the i) United States; ii) any
other G-7 country; iii) Pakistan? Explain with cogent reasons.
b) Assume that the required rate of return is 20% in the first year of operations and
increases by 2% every year for 5-years. Based on financial projections and estimated
cash flows, return on equity (ROE) is expected to be in the ball park of 18% in Year-1,
whereas moving forward in Year-2 through Year-5 it is expected to remain in range of
30% per annum. Based on these numbers, would you recommend that Reno should
move ahead with this new investment? Why or why not? Explain with cogent reasons.

In: Finance

Project 2: Capital Budgeting Activity Scenario: Your client owns a successful restaurant in downtown Chicago (at...

Project 2: Capital Budgeting Activity
Scenario:
Your client owns a successful restaurant in downtown Chicago (at least pre-Covid-19!). She wants to open a second restaurant in the suburbs and has asked you to help her choose between two locations. Key information is listed below. Using the four capital budgeting methods that we know, prepare a presentation that shows your recommendation to your client (and why).

Initial Investment: 2,500,000 and use 9% discount rate

Forest Park (10% tx rate) Rosemont (10.25% tx rate)
Annual Cash Flows $1,000,000 $1,100,000
Annual Cash Outflows $400,000 $650,000
# years of expected useful life of project 25 30

Annual non-cash (all depreciation) expenses:
Use straight line depreciation to find!
For both, assume no residual value and: 9% discount rate

REQUIREMENTS:
Prepare a PowerPoint that you would give/show to your client that clearly identifies your recommendation as to which location she should select to open her second restaurant. Additional MUST HAVES, include clearly identified calculations of the four capital budgeting methodologies (showing your work, not the work of Google or Excel programmers!) we have used in this module, and sufficient information on what these metrics mean, particularly as it relates to your preference decision.

In: Accounting

A cash basis landlord makes new tenants pay first and last month's rent at the start...

A cash basis landlord makes new tenants pay first and last month's rent at the start of the lease. How does the landlord report the following:

Purple Corporation, an exterminating company, is a calendar year taxpayer. It contracts to provide service to homeowners once a month under a one-, two-, or three-year contract. For financial reporting purposes, Purple reports the income ratably over the months of the contract. On April 1 of the current year, the company sold a customer a one-year contract for $120. How much of the $120 is taxable in the current and subsequent years if the company is an accrual basis taxpayer? If the $120 is payment on a two-year contract, how much is taxed in the year the contract is sold and in the following years? If the $120 is payment on a three-year contract, how much is taxed in the year the contract is sold and in the following years?

-Pink, Inc., an accrual basis taxpayer, owns an amusement park whose fiscal year ends September 30. To increase business during the fall and winter months, Pink sold passes that would allow the holder to ride “free” during the months of October through March. During the month of September, $6,000 was collected from the sale of passes for the upcoming fall and winter. When will the $6,000 be taxable to Pink? 


-The taxpayer is in the office equipment rental business and uses the accrual basis of accounting. In December he collected $5,000 in rents for the following January. When is the $5,000 taxable?

In: Accounting

FORMING COMMITTEES You are the chairperson of a large IS Committee in charge of implementing a...

FORMING COMMITTEES

You are the chairperson of a large IS Committee in charge of implementing a new EHR. The committee is so large that you are not getting anything done.   For example, you met for 4 hours yesterday and only got through 3 of the 15 items on the agenda, because everyone wants to have his or her say on each issue.   The committee make-up is as follows:

Project leader

HIM Director

Vice President, Finance

Vice President, Clinical Services

Chief Information Officer

Director, Lab

Director, Radiology

Four computer programmers

Vice President, Nursing

Two vendor representatives

Director, Cardiopulmonary Services

Director, Materials Management

Director, Research

Three systems analysts

Two database administrators

Director, Training

The decision has been made to create subcommittees.   The subcommittees will be:

Training

Data Management (data quality, data collection, and data retrieval)

Development (programming, customization)

Conversion

Interfaces

All representatives should be on at least one subcommittee.

Who would you place on each subcommittee?   Why did you choose them? What charge would you give to each subcommittee?

McCuen, C., Sayles, N. B., & Schnering, P. (2008). Case Studies in Health Information Management. Clifton Park, NY: Thomson Delmar Learning, pp. 366-367.

In: Nursing

I'm not sure if this is a good issue statement for short case study. Thanks for...

I'm not sure if this is a good issue statement for short case study. Thanks for the help!

An American multinational widely diversified media and entertainment organization, Disney Company which started their journey from 1923 are now recognized as one of the most successful enterprise in the century. Bob Iger who has lead the company with his magical, yet fundamental and strong business strategy to overcome the barriers that Disney faced in the last ten years in his career as a newly appointed CEO from 2005. One of the main issues that Disney faced entered from the mass diversification and acquisition while expanding their business firms into three main divisions, Walt Disney Parks and Resorts, Disney Media Networks, and Disney Consumer Products and Interactive Media. The main issue in this process was the inability to maintain a neutral and open behavior and lack of communication in team based works. Two external environmental factors involved in diversification process are analyzed in the report; political as in dealing with local government where Disney expands their theme park in other countries and technological factors that is required to produce content that satisfies customer demand as well as producing high quality content. Understanding these issues and implementing preventative tools will seize the misleading of the company for the next ten years. Other possible issues and external environment factors are considered as out of scope in this report.

In: Economics

J. Wellington Farquhar IV gave gifts to the following recipients this year: A vacation home in...

J. Wellington Farquhar IV gave gifts to the following recipients this year:

A vacation home in the Hamptons to his wife, Becky, valued at $3,800,000.

An Asten-Marten automobile, worth $175,000 to his daughter, Amber, as a law school graduation present.

$160,000 cash to his son, J. Wellington V, for his birthday.

A Central Park West condominium, worth $2,600,000, to his daughter, Muffy, as a wedding present.

$35,000 to each of his 13 nieces and nephews.

$520,000 to his brother, Aloysius.

$410,000 to his sister-in-law, Mabel.

$775,000 to the American Red Cross, a qualified charitable organization. (Note: Charitable Contributions are fully deductible net of the annual exclusion.)

$271,000 to Hunter College, his alma mater.(Note: Charitable Contributions are fully deductible net of the annual exclusion.)

In addition, he had previously given taxable gifts in previous years amounting to $495,770, in which he had previously paid $138,026 in gift taxes, and claimed previous unified credits amounting to $52,410.

Required: Calculate the following:

1) J Wellington’s net taxable gifts this year

2) His tax base

3) The tax liability on his tax base

4) The tax liability on his prior gifts at current rates

5) His current year’s tax liability

6) His remaining unified credit, if any

This is to be submitted in class on Thursday.

In: Accounting

Betty, the chief nursing officer, had to make a decision about buying 120 new hospital beds...

Betty, the chief nursing officer, had to make a decision about buying 120 new hospital beds for patient rooms. After she interviewed nurse managers at the units where the beds were going to be placed, Betty compiled her findings and decided to contact a well-known equipment company to obtain prices and contracts. The equipment company’s executive salesperson, Jim, discussed options at length with her and invited her and her significant other to an upcoming all-expenses-paid lavish retreat at a five-star hotel in Hawaii to see demonstrations of the beds and to hear a comprehensive sales pitch. Betty thought to herself, “We badly need some relaxation and stress relief. Hawaii would be so much fun. Would it be wrong for us to go?” In your paper, address all of the following prompts: What action should Betty take in this situation? Give your rationale. Justify your answer with an ethical framework—a theory, approach, or principle. What ethical principles are at stake? What breaches? Do you consider this situation a conflict of interest? Why or why not? Give your rationale. How would Betty handle this case if she believed she needed to seek advice from someone in a higher authority? With whom would she discuss this issue? What policies should be in place regarding a scenario such as this one?

In: Nursing

In this problem, assume that the distribution of differences is approximately normal. Note: For degrees of...

In this problem, assume that the distribution of differences is approximately normal. Note: For degrees of freedom d.f. not in the Student's t table, use the closest d.f. that is smaller. In some situations, this choice of d.f. may increase the P-value by a small amount and therefore produce a slightly more "conservative" answer.

At five weather stations on Trail Ridge Road in Rocky Mountain National Park, the peak wind gusts (in miles per hour) for January and April are recorded below.

Weather Station 1 2 3 4 5
January 135 122 128 64 78
April 108 115 102 88 61

What is the value of the sample test statistic? (Round your answer to three decimal places.)
In this problem, assume that the distribution of differences is approximately normal. Note: For degrees of freedom d.f. not in the Student's t table, use the closest d.f. that is smaller. In some situations, this choice of d.f. may increase the P-value by a small amount and therefore produce a slightly more "conservative" answer.

Wilderness District 1 2 3 4 5 6 7 8 9 10
B: Before highway 10.3 7.4 12.7 5.6 17.4 9.9 20.5 16.2 18.9 11.6
A: After highway 9.1 8.2 10.0 4.3 4.0 7.1 15.2 8.3 12.2 7.3

What is the value of the sample test statistic? (Round your answer to three decimal places.)

In: Statistics and Probability

QUESTION 12 The sociologist "_________________________ _________________" believed that as the United States continued to modernize, urbanize,...

QUESTION 12

  1. The sociologist "_________________________ _________________" believed that as the United States continued to modernize, urbanize, and industrialize, race and ethnicity would gradually lose their importance, allowing the boundaries between groups to eventually dissolve. He thought the result would be a more "rational" and unified society.

    a.

    Milton Gordon

    b.

    Robert Park

    c.

    Karl Marx

    d.

    Max Weber

    e.

    None of the above.

QUESTION 13

  1. According to Wagley & Harris (1958), a minority group has five characteristics. Which of the following is NOT one of the characteristics they emphasized:

    a.

    Lack of self-awareness

    b.

    Intimate relationships

    c.

    Inequality

    d.

    Ascription

    e.

    Visibility

QUESTION 14

  1. True or False: Mass immigration from Europe to the United States beginning in the 1820's had a number of causes, but underlying the process was a fundamental shift in subsistence technology: the industrial revolution.

    True

    False

QUESTION 15

  1. The process by which European (white) ethnic groups unintentionally affected one another's position in the social class structure of the larger society.

    a.

    Symbolic ethnicity

    b.

    Ethnic succession

    c.

    Segmented assimilation

    d.

    White ethnicity

QUESTION 16

  1. True or False: Gender equality is generally highest in the industrialized nations of North America and Western Europe and lowest in the less developed, more agricultural nations of sub-Saharan Africa.

    True

    False

In: Psychology