Questions
Write a program the declares and uses two parallel arrays. One array for storing the names...

Write a program the declares and uses two parallel arrays. One array for storing the names of countries and a second array for storing the populations of those countries. As you can see per the following the Country name and it's corresponding Population are stored at the same element index in each array.

China 1367960000
India 1262670000
United States 319111000
Indonesia 252164800
Brazil 203462000
Pakistan 188172000
Nigeria 178517000
Bangladesh 157339000
Russia 146149200
Japan 127090000

In the main method write a loop which asks the user if they would like to look up a given country's population.  

  • If No, then terminate the program
  • If Yes,
    • Call a value returning method, no parameters required:
      • This method prompts the user: What country would you like to look up?
      • The value entered is returned from this method
    • Call a second value returning method, passing it the value returned from the previous method call (ie. The name of the Country being searched for)
      • This method searches the country names array to see if it's there.
      • If it is there (ie it's found), return the population corresponding to the country
      • If it is NOT there, return a -1 which indicates the country was not found in the Country array
    • Back in the main method output the Country name searched for and it's population if found or Not Found when Not Found

In: Computer Science

Suppose there are two countries, USA and Japan. USA is regarded as the home country and...

Suppose there are two countries, USA and Japan. USA is regarded as the home country and Japan is the foreign country. USA has 100 units of labor available and Japan has 80 units of labor. Both countries can produce only two goods, airplanes and cars. The output per hour of labor in the production of airplanes in the USA is 12, while in car production the output per hour of labor is 6. In Japan, the output per hour of labor in the production of airplanes is 2 and the output per hour of labor in the production of cars is 2. Using the Ricardian model:

(a) Construct a graph of the United States production possibility frontier (use the vertical axis to represent airplanes and the horizontal axis to represent cars).

(b) Construct a graph of Japan's production possibility frontier.

(c) Suppose the mutually beneficial terms of trade between USA and Japan is 1 airplane for ¾ car, draw the consumption possibility frontier for USA by superimposing it on the graph you constructed in (a) above.

(d) Using the inverse of the marginal product of labor, construct a table of the unit labor requirement?

(e) Derive the opportunity cost for both USA and Japan for both goods using the unit labor requirement table that you obtained in (c) above.

(f) Based on your results, determine which country should export airplane or cars.

In: Economics

1. Which parasite is not a louse? A. Pediculus humanus capitis. B. Sarcoptes scabiei C. Pediculus...

1. Which parasite is not a louse?
A. Pediculus humanus capitis.
B. Sarcoptes scabiei
C. Pediculus humanus corporate
D. Phthirus pubis

2. is a parasitic infection classified as a sexually transmitted infection (STI).
A. Pediculus humanus capitis
B. scabies
C. Pediculus humanus corporis
D. Phthirus pubis

3. Select the drug for which the FDA requires manufacturers to place a Black Box warning in the package insert
A. lindane
B. permethrins
C. pyrethrins
D. crotamiton

4. Which of the following statements about body lice is false?
A. Body lice infestations are caused by the parasite Pediculus humanus corporis.
B. Adult body lice can survive away from a human host for 30 days.
C. Body lice infestations are a serious public health concern.
D. Body lice may cause epidemics of typhus and louse-borne relapsing fever.

5. In which environmental conditions does scabies thrive?
A. dense populations such as in prisons and nursing homes
B. warm environment
C. moist environment
D. arid environment
E. scarcely populated environment

TRUE OR FALSE

6. Malathion was withdrawn from the market in Canada but is still available in the United States.

7. Permethrins and pyrethrins may be obtained only by prescription.

In: Nursing

A researcher surveyed randomly selected Democrats and Republicans asking them what the number one concern should...

A researcher surveyed randomly selected Democrats and Republicans asking them what the number one concern should be for the president of the United States. The results of the survey are shown below. Is there evidence to conclude that there is a difference in what Democrats and Republicans think is the most important?

Frequencies of Concerns for Democrats and Republicans
Economy Foreign Affairs Family Values Environment Other
Democrats 88 55 83 70 32
Republicans 114 71 120 40 36

What can be concluded at the αα = 0.10 significance level?

  1. What is the correct statistical test to use?
    • Homogeneity
    • Paired t-test
    • Independence
    • Goodness-of-Fit
  2. What are the null and alternative hypotheses?
    H0:H0:
    • Political affiliation and number one concern are dependent.
    • The distribution of concerns for Democrats is the same as it is for Republicans.
    • Political affiliation and number one concern are independent.
    • The distribution of concerns for Democrats is not the same as it is for Republicans.



    H1:H1:
    • Political affiliation and number one concern are independent.
    • Political affiliation and number one concern are dependent.
    • The distribution of concerns for Democrats is not the same as it is for Republicans.
    • The distribution of concerns for Democrats is the same as it is for Republicans.
  3. The test-statistic for this data = (Please show your answer to three decimal places.)
  4. The p-value for this sample = (Please show your answer to four decimal places.)
  5. The p-value is Select an answergreater thanless than (or equal to) αα

In: Statistics and Probability

For each of the following problems, define the appropriate parameter(s) and state the null and alternative...

For each of the following problems, define the appropriate parameter(s) and state the null and alternative hypotheses.
1. Is the proportion of men who vote greater than the proportion of women who vote in the United States?
2. A car dealership announces that the mean time for an oil change is less than 15 minutes.
3. A researcher wants to test if there is evidence that the proportion of US citizens who can name the capital city of Canada is greater than 0.75.
4. A researcher wants to see if there is evidence that the mean time spent studying per week is different between first-year students and upper-class students.

My responses so far...?

1. Ha: Pm > Pw - The proportion of men voters is greater than the proportion of female voters in the alternative hypothesis.
Ho: Pm = Pw - The proportion of men voters is equal to the proportion of female votes in the null hypothesis.

2. Ha: Mu < 15 minutes
Ho: Mu = 15 minutes

3. Ha: Pc > 0.75 - The proportion of citizens who can name the capital city of Canada is greater than 0.75 in the alternative hypothesis
Ho: Pc = 0.75 - The proportion of citizens who can name the capital city of Canada is equal to 0.75 in the null hypothesis.

4. I'm really stuck on this one!

In: Statistics and Probability

#32 Is there a relation between police protection and fire protection? A random sample of large...

#32

Is there a relation between police protection and fire protection? A random sample of large population areas gave the following information about the number of local police and the number of local fire-fighters (units in thousands). (Reference: Statistical Abstract of the United States.)

Area 1 2 3 4 5 6 7 8 9 10 11 12 13
Police 10.8 13.3 17.0 16.3 7.6 3.2 5.3 15.4 2.7 4.7 4.1 6.1 5.6
Firefighters 3.1 2.5 4.8 2.9 3.3 1.2 2.4 3.4 1.0 1.5 2.3 2.7 0.9

Use a 5% level of significance to test the claim that there is a monotone relationship (either way) between the ranks of number of police and number of firefighters.

(a) Rank-order police using 1 as the largest data value. Also rank-order firefighters using 1 as the largest data value. Then construct a table of ranks to be used for a Spearman rank correlation test.

Area Police
Rank x
Firefighters
Rank y
d = x - y d2
1
2
3
4
5
6
7
8
9
10
11
12
13




















































Σd2 =

(c) Compute the sample test statistic. (Use 3 decimal places.)

In: Statistics and Probability

Camino Company manufactures designer to-go coffee cups. Each line of coffee cups is endorsed by a...

Camino Company manufactures designer to-go coffee cups. Each line of coffee cups is endorsed by a high-profile celebrity and designed with special elements selected by the celebrity. During the most recent year, Camino Company had the following operating results while operating at 75 percent (60,000 units) of its capacity:

Sales revenue $ 840,000
Cost of goods sold 322,500
Gross profit $ 517,500
Operating expenses 15,000
Net operating income $ 502,500


Camino’s cost of goods sold and operating expenses are 80 percent variable and 20 percent fixed. Camino has received an offer from a professional wrestling association to design a coffee cup endorsed by its biggest star and produce 16,000 cups for $8 each (total $128,000). These cups would be sold at wrestling matches throughout the United States. Acceptance of the order would require a $48,000 endorsement fee to the wrestling star, but no other increases in fixed operating expenses.

Required:
1. Complete the incremental analysis of the special order in the table provided below. (Enter per unit answers to 2 decimal places.)



2. Should Camino accept this special order?

Yes
No



3. If Camino were operating at full capacity, what price would Camino require for the special order?

In: Accounting

There is one argument that is central to the current and future state of healthcare within...

There is one argument that is central to the current and future state of healthcare within the United States. Is healthcare a right, or is it a privilege? If it is a right, then everyone, regardless of financial resources, deserves access to quality healthcare. If it is a privilege, then consumerism will reign supreme. While the debate continues, there are many who are trying to find success somewhere in the middle. Thus, the idea of one-stop shops is growing across the country.

Imagine walking into a Wal-Mart (or other large chain store) and putting your name on a “to be seen” list. A medical provider, more than likely a nurse practitioner or physician’s assistant, has an office somewhere in the store. As you are shopping, a text message appears that you are next. You and your groceries make your way to the office and are seen by the provider. The provider writes a script, sends it to the pharmacy (20 feet away) and then “recommends” a diet of X, Y, and Z; which incidentally are available within the store as well. You continue shopping and another text arrives that your prescription is ready to be picked up. All of this under one roof.

In your initial post...

After reading the assigned material for the week and conducting research through the university library, discuss any concerns as to ethics or conflicts of interest that may present itself with one-stop shops. For example, should doctors own hospitals?

In: Operations Management

Problem 6-20 Variable and Absorption Costing Unit Product Costs and Income Statements; Explanation of Difference in...

Problem 6-20 Variable and Absorption Costing Unit Product Costs and Income Statements; Explanation of Difference in Net Operating Income [LO6-1, LO6-2, LO6-3]

High Country, Inc., produces and sells many recreational products. The company has just opened a new plant to produce a folding camp cot that will be marketed throughout the United States. The following cost and revenue data relate to May, the first month of the plant’s operation:

Beginning inventory 0
Units produced 40,000
Units sold 35,000
Selling price per unit $ 76
Selling and administrative expenses:
Variable per unit $ 4
Fixed (per month) $ 561,000
Manufacturing costs:
Direct materials cost per unit $ 16
Direct labor cost per unit $ 8
Variable manufacturing overhead cost per unit $ 3
Fixed manufacturing overhead cost (per month) $ 600,000

Management is anxious to assess the profitability of the new camp cot during the month of May.

Required:

1. Assume that the company uses absorption costing.

a. Determine the unit product cost.

b. Prepare an income statement for May.

2. Assume that the company uses variable costing.

a. Determine the unit product cost.

b. Prepare a contribution format income statement for May.

In: Accounting

You are the newly hired manager at The Great Nile Retail Store. The corporation has hundreds...

You are the newly hired manager at The Great Nile Retail Store. The corporation has hundreds of brick & mortar locations across the United States, with thousands of employees. Your specific location employs dozens of employees. You sell pretty much everything, organized neatly into multiple departments, with eye-catching merchandise displays that contain the trendiest retail products.

Upon starting at your location, you learn that you have a good group of people working for you, but there have been consistent problems with motivation. Employees just don’t seem to “go the distance.” They do just barely what’s expected of them, and not one thing more.

Given the extremely competitive retail environment, and the fact that “Amazon” is crushing the competition, you decide you must change how employees behave. It’s clear that you’ll need them to do amazing things to remain competitive in this environment!

Prepare a response to the following questions:

  1. Identify one motivation theory we discussed in class that you could use as the basis of your action to take. Discuss and develop a working definition of that theory.
  2. Using the theory you chose as your basis, describe how you would go about motivating employees. What actions would you take to create a motivating work environment for your staff?

In: Operations Management