Questions
For each of the passages below, identify the title and author of the short story from...

For each of the passages below, identify the title and author of the short story from which the passage comes, explain what the passage depicts or illustrates, provide the larger context in which the passage can be understood, and interpret the significance of the passage to the whole story.

"He should not have built the fire under the spruce tree. He should have built it in the open. But it had been easier to pull the twigs from the brush and drop them directly on the fire. Now the tree under which he had done this carried a weight of snow on its boughs. No wind had blown for weeks, and each bough was fully freighted. Each time he had pulled a twig he had communicated a slight agitation to the tree - an imperceptible agitation, so far as he was concerned, but an agitation sufficient to bring about the disaster. High up in the tree one bough capsized its load of snow. This fell on the boughs beneath, capsizing them. This process continued, spreading out and involving the whole tree. It grew like an avalanche, and it descended without warning upon the man and the fire, and the fire was blotted out!"

In: Psychology

question: Phone Number CheckingAlice has been having trouble with people filling her website’s form incorrectly, especially...


question: Phone Number CheckingAlice has been having trouble with people filling her website’s form incorrectly, especially with phone numbers. She’d like tomake sure a user’s phone number input only has digits (other than -) and is exactly 10 digits long.Finishvalidphonenumber(string)such that the function returns True if a phone number is valid, and False if not.

def valid_phone_number(number: str) -> bool:
    """
    Return True if the number is a valid phone number. A valid phone number:
    1) Has exactly 10 digits (we are excluding the country code)
    2) Only has digits (no alphabets or special characters)
    3) May have "-" to split numbers. Example: 0123456789 and 012-345-6789 are
    BOTH valid

    Do *not* use loops for this problem. Try to make sure you only use built-ins

    Hint: you will need 3 built-in string methods

    >>> valid_phone_number("0123456789")
    True

    >>> valid_phone_number("012-345-6789")
    True

    >>> valid_phone_number("01-23-45-67-89")
    True
    """
    # TODO: do some checking here

    # change this
    return True

#### Part 2: String Functions with loops ###

In: Computer Science

Design a ship class that has the following data fields: A data field for the name...

  1. Design a ship class that has the following data fields:
    • A data field for the name of the ship (a string).
    • A data field for the year that the ship was built (a String).
    • A constructor and appropriate accessors and mutators.
    • A toString method that displays the ship’s name and the year it was built.
  2. Design a CruiseShip class that extends the Ship class. The CruiseShip class should have the following member:
    • A field for the maximum number of passengers (an int).
    • A constructor and appropriate accessors and mutators.
    • A toString method that overrides the toString method in the base class. The CruiseShip class's toString method should display only the ships name and the maximum number of passengers.
  3. Design a CargoShip class that extends the Ship class. The CargoShip class should have the following members:
    • A field for the cargo capacity in tonnage (an int).
    • A constructor and appropriate accessors and mutators.
    • A toString method that overrides the toString method in the base class. The CargoShip class's toString method should display only the ships name and ship’s cargo capacity.
  4. Demonstrate the classes in a program that has a Ship array.  Assign various Ship, CruiseShip, and CargoShip objects to the array elements. The program should then step through the array, calling each objects toString method.

In: Computer Science

4. Using the popular Utility function U=E(r) - 0.5*A*Variance(r), what is the utility for an investor...

4. Using the popular Utility function U=E(r) - 0.5*A*Variance(r), what is the utility for an investor with risk-aversion index of 3, whose portfolio has an expected return of 7% and a standard deviation of 16%?

Report 2 decimals in your answer

6. South Park Company's stock has an expected Return of 6.56% while Quahog Company's stock has an expected return of 3.8%. What % of my wealth should I invest in Quahog Company's stock to have an expected return of 10.86%? Report you answer as a % with 2 decimals. If your answer is 3.56%, just enter/type "3.56"

In: Finance

5. When consumer demand for hotel rooms increases, the average selling prices for those rooms typically...

5. When consumer demand for hotel rooms increases, the average selling prices for those rooms typically increase as well. In the foodservice business that has not historically been the case. Fluctuations in consumer demand (e.g., volume differences between high demand Saturday nights and lower­volume Sunday nights) in restaurants do not typically result in menu price changes. Given that both hotels and restaurants are part of the hospitality industry, how do you account for these fundamental differences in approach toward strategic pricing? As a customer, which approach do you believe sends you the better value message? Explain your position.

In: Operations Management

Tesco plc wants to expand but foresees little exponential growth in its current retail activities. The...

Tesco plc wants to expand but foresees little exponential growth in its current retail activities. The company has, therefore, decided to utilise their ability to raise funds and their cash generation ability to organically expand into the hotel industry. Tesco feels that the market is open to a new participant and that companies such as Intercontinental Hotels Group plc are not ready for a vibrant new competitor. Tesco could expand by undertaking ‘organic’ growth orcould undertake the indicated growth by acquisition. You are required to provide a critical analysis of the relative benefits of the two types of growth (i.e. ‘organic’ and acquisition) from Tesco’s point of view, with regard to the proposed expansion.

In: Finance

Given the information below find net profit/loss in dollars for the month of June Guest Hotel...

Given the information below find net profit/loss in dollars for the month of June

Guest Hotel Inc.

Income Statement

for the period ending June 30, 2019

Sales
Food 193,864
Beverage 87,408
Total Sales -
Cost of Sales
Food 74,381
Beverage 28,467
Total cost of goods sold -
Gross Profit -
Controllable Expenses
Salaries & Wages 112,112
Occupancy 36,875
Office & General 14,642
Utilities 9,170
Transportation 7,472
Kitchen supplies 5,715
Professional fees 5,257
Advertising 8,088
Insurance 10,673
Vehicle 5,724
Total Controllable Expenses -
Net Profit / Loss -
Your Answer:

In: Accounting

Given the information below find gross profit percentage for the month of June ( do not...

Given the information below find gross profit percentage for the month of June ( do not include % sign)

Guest Hotel Inc.

Income Statement

for the period ending June 30, 2019

Sales
Food 212,323
Beverage 77,776
Total Sales -
Cost of Sales
Food 73,046
Beverage 27,691
Total cost of goods sold -
Gross Profit -
Controllable Expenses
Salaries & Wages 113,286
Occupancy 35,130
Office & General 12,778
Utilities 10,441
Transportation 5,250
Kitchen supplies 5,746
Professional fees 6,300
Advertising 10,215
Insurance 12,178
Vehicle 6,699
Total Controllable Expenses -
Net Profit / Loss -
Your Answer:

In: Accounting

A 25.25 kg child is riding a playground merry-go-round that is rotating at 35.5 rev/min. (A)...

A 25.25 kg child is riding a playground merry-go-round that is rotating at 35.5 rev/min.

(A) What net force is acting on her if she is standing on the merry-go-round 1.4 m from its center in newtons? The net force in this situation is sometimes called "centripetal force".

(B) What net force (in N) is acting on her if she is standing on an amusement park merry-go-round that rotates at 3.2 rpm and she is 7.6 m from its center?

(C) How many times her weight is the force in part (a)?

(D) How many times her weight is the force in part (b)?

In: Physics

Edgewater Motels, Inc v Gatzke and Walgreen Company: Gatzke worked as a district manager for Walgreens....

Edgewater Motels, Inc v Gatzke and Walgreen Company: Gatzke worked as a district manager for Walgreens. He was staying at the Edgewater Motel while he was working in Minnesota “on call 24 hours a day" for Walgreens. A fire occurred in his hotel room from a lit cigarette he dropped into the waste paper basket. The fire caused massive damage and Edgewater sued both Gatzke and Walgreens. Both were found liable for the damages.

Why do you think Walgreens would be responsible for the action of Gatzke. Was he still working when the fire took place? Can you make an argument that Walgreens is not liable?

In: Economics