Questions
1- Write a Java program called ArabicMonth that randomly generates an integer between 1 and 12...

1- Write a Java program called ArabicMonth that randomly generates an integer between 1 and 12 and displays the month name Jan, Feb, …, December for
the number 1, 2, …, 12, accordingly..

Sample Run:
9 Oct











2- Write a program that prompts the user to enter the exchange rate from currency in U.S. dollars to Saudi Riyals. Prompt the user to enter 0 to convert from U.S. dollars to Saudi Riyals and 1 to convert from Saudi Riyal and U.S. dollars. Prompt the user to enter the amount in U.S. dollars or Saudi Riyal to convert it to Saudi Riyal or U.S. dollars, respectively.

Here are the sample runs:
Enter the exchange rate from dollars to SR: 3.75
Enter 0 to convert dollars to SR and 1 vice versa: 0
Enter the dollar amount: 100
$100.0 is 375.0 SR

In: Computer Science

Technology has changed many things about the way that the world lives, works, produces things, and...

Technology has changed many things about the way that the world lives, works, produces things, and runs. The energy industry has been significantly impacted by the development of renewable energy harnessing. For this discussion, analyze 2 of the attached articles, and provide a logical discussion about the coal industry and how it is being replaced due to technology.

Unit 5 Coal Losses Offset Elsewhere Article.pdf

Unit 5 2017 US Energy and Jobs Report_0.pdf

Unit 5 2017 US Energy and Jobs Report State Charts 2_0.pdf

Support your discussion with data from the article and from other sources if you would like. Analyze the impact of renewable technology on the economy, the collective issues that are impacted by these new technologies, and the global renewable energy revolution. Provide at least 2 resources in APA format.

In: Psychology

Suppose a rocket ship accelerates upwards with acceleration equal in magnitude to twice the magnitude of...

Suppose a rocket ship accelerates upwards with acceleration equal in magnitude to twice the magnitude of g (we say that the rocket ship accelerations upwards at 2g), but runs out of fuel after 100 seconds, after which point it stops accelerating upward. At this point, the rocket begins accelerating downwards with a magnitude of g. Assume that the gravitational pull of the Earth on the rocket doesn't change with altitude.

a)How high above the surface of the Earth does the rocket travel before it stops accelerating?

b) How fast is the rocket going when it stops accelerating?

c) How high does the rocket get before it begins to fall back to Earth?

d) How long after launch does the rocket strike the Earth again?

e) What is the average velocity of the rocket between when it leaves the Earth and when it strikes the Earth again?

In: Physics

The Outhouse Plumbing Company sells commercial plumbing pipe in lengths of 4 feet, 8 feet, and...

The Outhouse Plumbing Company sells commercial plumbing pipe in lengths of 4 feet, 8 feet, and 15 feet.  Their supplier can only ship pipes that are 30 feet long.  Outhouse needs to determine how to cut the 30-foot pipes to meet the customer demand given below for the various pipe lengths.  The lean manager wants the pipes to be cut so that the total remaining unusable pipe (waste after cutting) is minimized.  Determine the patterns and cutting plan for Outhouse.  Customer Demand for the customers' pipes are 40, 25, and 13.  (Hint: there are seven unique cutting patterns.)

Set up and solve the problem to minimize the unusable waste for the company.

The optimal objective function value should be 26 feet of unusable pipe.

In: Statistics and Probability

Below are nine concepts, 1-9, and nine definitions, A-I. Match each definition to its concept by...

Below are nine concepts, 1-9, and nine definitions, A-I. Match each definition to its concept by writing the correct letter in the extreme left-hand margin.

____       1.    Nonexcludable

____       2.    Nonrival

____       3.    Private good

____       4.    Public good

____       5.    Free rider

____       6.    Forced rider

____       7.    Club good

____       8.    Common resources

____       9.    Tragedy of the commons

-------------------------------------------------------------------------------------------------------------------------------

A         Goods that are nonexcludable but rival

B          Someone who enjoys the benefits of a public good without paying a share of the costs

C          The tendency of any resource that is unowned and hence nonexcludable to be overused and undermaintained

D         A good that is excludable but nonrival

E          Someone who pays a share of the costs of a public good but who does not enjoy the benefits

F          A good that is excludable and rival

G         A good that is nonexcludable and nonrival

H         A good exhibits this characteristic if people who don’t pay cannot be easily prevented from using the good

I           A good exhibits this characteristic if one person’s use of the good does not reduce the ability of another person to use the same good

In: Economics

Match the following: 1. Acid-test ratio 2. Current portion of long-term debt 3. Recording a contingent...

Match the following:

1. Acid-test ratio

2. Current portion of long-term debt

3. Recording a contingent liability

4. Commercial paper

5. Deferred revenues

6. Line of credit

7. Accrual accounting

8. Interest expense

9. The riskiness of a business's obligations

10. Disclosure of a contingent liability

A Cash, short-term investments, and accounts receivable all divided by current liabilities.

B Loss is probable and amount is reasonably estimable.

C Gift cards

D Long-term debt maturing within one year.

E Informal agreement that permits a company to borrow up to a prearranged limit.

F Interest expense is recorded in the period interest is incurred rather than in the period interest is paid

G Loss is reasonably possible and amount is reasonably estimable

H Incurred on a notes payable

I obligations Unsecured notes sold in minimum denominations of $25,000 with maturities up to 270 days

J Classifying liabilities as either current or long-term helps investors and creditors assess this.

In: Accounting

Match each component with proposed strategies/elements of a framework for Defense-in-Depth security. Word bank: Risk management...

Match each component with proposed strategies/elements of a framework for Defense-in-Depth security.

Word bank:

Risk management program

Cyber security architecture

Physical security

ICS Network Architecture

ICS Network Perimeter Security

Host security

Security monitoring

Vendor management

The human element

Defense in Depth Strategy Elements

1.

  • Standards/ Recommendations
  • Policy
  • Procedures

2.

  • Patch and Vulnerability Management
  • Field Devices
  • Virtual Machines

3.

  • Common Architectural Zones
  • Demilitarized Zones (DMZ)
  • Virtual LANs

4.

  • Firewalls/One-Way Diodes
  • Remote Access & Authentication
  • Jump Servers/Hosts

5.

  • Field Electronics Locked Down
  • Control Center Access Controls
  • Remote Site Video, Access Controls, Barriers

6.

  • Identify Threats
  • Characterize Risk
  • Maintain Asset Inventory

7.

  • Intrusion Detection Systems
  • Security Audit Logging
  • Security Incident and Event Monitoring

8.

  • Policies
  • Procedures
  • Training and Awareness

9.

  • Supply Chain Management
  • Managed Services/Outsourcing
  • Leveraging Cloud Services

In: Computer Science

Match each component with proposed strategies/elements of a framework for Defense-in-Depth security. Word bank: Risk management...

Match each component with proposed strategies/elements of a framework for Defense-in-Depth security.

Word bank:

Risk management program

Cyber security architecture

Physical security

ICS Network Architecture

ICS Network Perimeter Security

Host security

Security monitoring

Vendor management

The human element

Defense in Depth Strategy Elements

1.

  • Standards/ Recommendations
  • Policy
  • Procedures

2.

  • Patch and Vulnerability Management
  • Field Devices
  • Virtual Machines

3.

  • Common Architectural Zones
  • Demilitarized Zones (DMZ)
  • Virtual LANs

4.

  • Firewalls/One-Way Diodes
  • Remote Access & Authentication
  • Jump Servers/Hosts

5.

  • Field Electronics Locked Down
  • Control Center Access Controls
  • Remote Site Video, Access Controls, Barriers

6.

  • Identify Threats
  • Characterize Risk
  • Maintain Asset Inventory

7.

  • Intrusion Detection Systems
  • Security Audit Logging
  • Security Incident and Event Monitoring

8.

  • Policies
  • Procedures
  • Training and Awareness

9.

  • Supply Chain Management
  • Managed Services/Outsourcing
  • Leveraging Cloud Services

In: Computer Science

A FRIEND FOR LIFE The Glades Company is a small manufacturer. It has produced and marketed...

A FRIEND FOR LIFE

The Glades Company is a small manufacturer. It has produced and marketed a number of different toys and appliances that have done very well in the marketplace. Late last year, the product designer at the company, Tom Berringer, told the president, Paula Glades, that he had invented a small, cuddly, talking bear that might have a great deal of appeal. The bear is made of fluffy brown material that simulates fur, and it has a tape inside that contains 50 messages.

The Glades Company decided to find out exactly how much market appeal the bear would have. Fifty of the bears were produced and placed in kindergartens and nurseries around town. The results were better than the firm had hoped. One of the nurseries reported: “The bear was so popular that most of the children wanted to take it home for an evening.” Another said the bear was the most popular toy in the school.

Based on these data, the company decided to manufacture and market 1,000 of the bears. At the same time, a catchy marketing slogan was formulated: “A Friend for Life.” The bear was marketed as a product a child could play with for years and years. The first batch of 1,000 bears sold out within a week. The company then scheduled another production run, this time for 25,000 bears. Last week, in the middle of the production run, a problem was uncovered. The process of making the bear fur was much more expensive than anticipated. The company is now faced with two options: It can absorb the extra cost and have the simulated fur produced, or it can use a substitute fur that will not last as long. Specifically, the original simulated fur will last for up to seven years of normal use; the less-expensive simulated fur will last for only eight months.

Some of the managers at Glades believe that most children are not interested in playing with the same toy for more than eight months; therefore, substituting the less-expensive simulated fur for the more-expensive fur should be no problem. Others believe that the company will damage its reputation if it opts for the substitute fur. “We are going to have complaints within eight months, and we are going to rue the day we agreed to a cheaper substitute,” the production manager argues. The sales manager disagrees, contending that “the market is ready for this product, and we ought to provide it.” In the middle of this crisis, the accounting department issued its cost analysis of the venture. If the company goes with the more-expensive simulated fur, it will lose $5.75 per bear. If it chooses the less-expensive simulated fur, it will make a profit of $14.98 per bear.

The final decision on the matter rests with Paula Glades. People on both sides of the issue have given her their opinion. One of the last to speak was the vice president of manufacturing, who said, “If you opt for the less-expensive fur, think of what this is going to do to your marketing campaign of ‘A Friend for Life.’ Are you going to change this slogan to ‘A Friend for Eight Months’?” But the marketing vice president urged a different course of action: “We have a fortune tied up in this bear. If you stop production now or go to the more-expensive substitute, we’ll lose our shirts. We aren’t doing anything illegal by substituting the fur. The bear looks the same. Who’s to know?”

QUESTIONS

  1. Is the recommendation of the marketing vice president legal? Is it ethical? Why or why not?
  2. Would it be ethical if the firm used the less-expensive simulated fur but did not change its slogan of “A Friend for Life” and did not tell the buyer about the change in the production process? Why or why not?
  3. If you were advising Paula, what would you recommend?

In: Economics

Floyd’s Bumpers has distribution centers in Lafayette, Indiana; Charlotte, North Carolina; Los Angeles, California; Dallas, Texas;...

Floyd’s Bumpers has distribution centers in Lafayette, Indiana; Charlotte, North Carolina; Los Angeles, California; Dallas, Texas; and Pittsburgh, Pennsylvania. Each distribution center carries all products sold. Floyd’s customers are auto repair shops and larger auto parts retail stores. You are asked to perform an analysis of the customer assignments to determine which of Floyd’s customers should be assigned to each distribution center. The rule for assigning customers to distribution centers is simple: A customer should be assigned to the closest center. The worksheet Floyds in the provided datafile contains the distance from each of Floyd’s 1,029 customers to each of the five distribution centers. Your task is to build a list that tells which distribution center should serve each customer. The following functions will be helpful: =MIN(array). The MIN function returns the smallest value in a set of numbers. For example, if the range A1:A3 contains the values 6, 25, and 38, then the formula =MIN(A1:A3) returns the number 6, because it is the smallest of the three numbers: =MATCH(lookup_value, lookup_array, match type). The MATCH function searches for a specified item in a range of cells and returns the relative position of that item in the range. The lookup_value is the value to match, the lookup_array is the range of search, and match type indicates the type of match (use 0 for an exact match). For example, if the range A1:A3 contains the values 6, 25, and 38, then the formula =MATCH(25,A1:A3,0) returns the number 2, because 25 is the second item in the range. =INDEX(array, column_num). The INDEX function returns the value of an element in a position of an array. For example, if the range A1:A3 contains the values 6, 25, and 38, then the formula =INDEX(A1:A3, 2) 5 25, because 25 is the value in the second position of the array A1:A3. (Hint: Create three new columns. In the first column, use the MIN function to calculate the minimum distance for the customer in that row. In the second column use the MATCH function to find the position of the minimum distance. In the third column, use the position in the previous column with the INDEX function referencing the row of distribution center names to find the name of the distribution center that should service that customer.) Click on the datafile logo to reference the data. datafile.png (Hint: The INDEX function may be used with a two-dimensional array: =INDEX(array, row_num, column_num), where array is a matrix, row_num is the row numbers and column_num is the column position of the desired element of the matrix.) Floyd's Bumpers pays a transportation company to ship its product to its customers. Floyd's Bumpers ships full truckloads to its customers. Therefore, the cost for shipping is a function of the distance traveled and a fuel surcharge (also on a per mile basis). The cost per mile is $2.42 and the fuel surcharge is $.56 per mile. The worksheet May in the provided datafile contains data for shipments for the month of May (each record is simply the customer zip code for a given truckload shipment), as well as the distance table from the distribution centers to each customer. Use the VLOOKUP function to retrieve the distance traveled for each shipment from the exercise completed above, and calculate the \charge for each shipment. What is the total amount that Floyd's Bumpers spends on these May shipments? If required, round your answers to two decimal places.

In: Statistics and Probability