Questions
Write psuedocode and Java code using JOptionPane Scenario: ABC Resort and Hotel has approached you to...

Write psuedocode and Java code using JOptionPane

Scenario: ABC Resort and Hotel has approached you to write a program to keep track of the number of rooms needed for an event. Customers can request any one of the following types of rooms to be reserved. Because the hotel has limited rooms available for a given event, it can only reserve up to 39 rooms. However, the hotel does not know how many rooms, in total, will be reserved because the rooms are reserved on demand.

Room Type and Price/per night: Single $79.95, Single Deluxe $99.95, Double $149.95, Double Deluxe $179.95

Create a program for use by the hotel staff to take reservation orders for rooms for an event. All events are single night stay events. So you do not need to worry about the number of nights they are staying. An order occurs when the user enters a room type by name (e.g. Single). Until the user has indicated they are finished entering room types, continue to prompt the user to enter a room type. You must validate the room type, providing an error message and re-prompting the user if an invalid room type is entered. Keep track of the number of rooms that will be reserved for each room type. Once the user has indicated they are finished entering room types, display a well-formatted report containing a list of each room type with its associated price, the number of rooms needed for that room type, the total revenue from all rooms for the event, and the average revenue from a room for the event.

Program must use arrays

In: Computer Science

Answer all 4 of the questions/topics: Each response must be at least 200-300 words. Communication Describe...

Answer all 4 of the questions/topics:

Each response must be at least 200-300 words.

  1. Communication

Describe and explain the importance of a good integrated information & communication system. What is the importance of communication between departments and what negative impact can a poor system of communication have for a hotel? Discuss 2 important forms of integrated PMS/Communication systems or examples of data information.

  1. Future of Hotels

Imagine the hotel room of the future (10 years from now). What does the room look like? What technologies exist in the room? How does it improve the guest experience? What needs and expectations will the future guest have for Accommodation properties? In light of recent health issues what steps will the Accommodations Industry need to address to gain consumer confidence? What will the long term outcome of the industry be after crisis is cleared?

  1. Housekeeping

Discuss the importance of the Housekeeping Department. Why is the Rooms Division the greatest asset of the owners? How will you deal with staffing due to lower occupancy? What steps will housekeeping need to take in order to protect our guests and our staff moving forward after the current health crisis?

  1. Guest Service

Describe/Explain the following Service Recovery Model and provide an example from the Accommodation Industry for each section. Remember: As discussed in class we have to assess the Fault & Severity. Following this chart answer the following question: -How will you drive business to your hotel once crisis is over?

Hero

Red Carpet

Empathy

Fix It

How will you attract business to your hotel once crisis is over?

In: Operations Management

A research firm tests the miles-per-gallon characteristics of three brands of gasoline. Because of different gasoline...

A research firm tests the miles-per-gallon characteristics of three brands of gasoline. Because of different gasoline performance characteristics in different brands of automobiles, five brands of automobiles are selected and treated as blocks in the experiment; that is, each brand of automobile is tested with each type of gasoline. The results of the experiment (in miles per gallon) follow.

Gasoline Brands
I II III
Automobiles A 18 21 20
B 24 26 27
C 30 28 34
D 22 25 24
E 20 23 24

(a)At α = 0.05, is there a significant difference in the mean miles-per-gallon characteristics of the three brands of gasoline?

State the null and alternative hypotheses.

H0: At least two of the population means are equal.
Ha: At least two of the population means are different.

H0: μIμIIμIII
Ha: μI = μII = μIII    

H0: μI = μII = μIII
Ha: μIμIIμIII

H0: Not all the population means are equal.
Ha: μI = μII = μIII

H0: μI = μII = μIII
Ha: Not all the population means are equal.

Find the value of the test statistic. (Round your answer to two decimal places.)

=

Find the p-value. (Round your answer to three decimal places.)

p-value =

State your conclusion.

Do not reject H0. There is sufficient evidence to conclude that the mean miles-per-gallon ratings for the three brands of gasoline are not all equal.

Do not reject H0. There is not sufficient evidence to conclude that the mean miles-per-gallon ratings for the three brands of gasoline are not all equal.   

Reject H0. There is not sufficient evidence to conclude that the mean miles-per-gallon ratings for the three brands of gasoline are not all equal.

Reject H0. There is sufficient evidence to conclude that the mean miles-per-gallon ratings for the three brands of gasoline are not all equal.

(b) Analyze the experimental data using the ANOVA procedure for completely randomized designs. (Use α = 0.05.)

Find the value of the test statistic. (Round your answer to two decimal places.)

=

Find the p-value. (Round your answer to three decimal places.)

p-value =

State your conclusion.

Do not reject H0. There is sufficient evidence to conclude that the mean miles-per-gallon ratings for the three brands of gasoline are not all equal.

Reject H0. There is not sufficient evidence to conclude that the mean miles-per-gallon ratings for the three brands of gasoline are not all equal.   

Do not reject H0. There is not sufficient evidence to conclude that the mean miles-per-gallon ratings for the three brands of gasoline are not all equal.

Reject H0. There is sufficient evidence to conclude that the mean miles-per-gallon ratings for the three brands of gasoline are not all equal.

Compare your findings with those obtained in part (a).

The conclusion is the same as the conclusion in part (a).

The conclusion is different from the conclusion in part (a).    

What is the advantage of attempting to remove the block effect?

There is no advantage to removing the block effect because the conclusion is the same in either case.

We must remove the block effect in order to detect that there is a significant difference due to the brand of gasoline.    

We must remove the block effect in order to detect that there is no significant difference due to the brand of gasoline.

In: Statistics and Probability

A research firm tests the miles-per-gallon characteristics of three brands of gasoline. Because of different gasoline...

A research firm tests the miles-per-gallon characteristics of three brands of gasoline. Because of different gasoline performance characteristics in different brands of automobiles, five brands of automobiles are selected and treated as blocks in the experiment; that is, each brand of automobile is tested with each type of gasoline. The results of the experiment (in miles per gallon) follow.

Gasoline Brands
I II III
Automobiles A 19 21 20
B 24 26 27
C 30 29 34
D 22 25 24
E 20 23 24

(a)

At α = 0.05, is there a significant difference in the mean miles-per-gallon characteristics of the three brands of gasoline?

State the null and alternative hypotheses.

H0: μI = μII = μIII
Ha: Not all the population means are equal.H0: At least two of the population means are equal.
Ha: At least two of the population means are different.    H0: μI = μII = μIII
Ha: μIμIIμIIIH0: Not all the population means are equal.
Ha: μI = μII = μIIIH0: μIμIIμIII
Ha: μI = μII = μIII

Find the value of the test statistic. (Round your answer to two decimal places.)

Find the p-value. (Round your answer to three decimal places.)

p-value =

State your conclusion.

Do not reject H0. There is not sufficient evidence to conclude that the mean miles-per-gallon ratings for the three brands of gasoline are not all equal.Reject H0. There is sufficient evidence to conclude that the mean miles-per-gallon ratings for the three brands of gasoline are not all equal.    Do not reject H0. There is sufficient evidence to conclude that the mean miles-per-gallon ratings for the three brands of gasoline are not all equal.Reject H0. There is not sufficient evidence to conclude that the mean miles-per-gallon ratings for the three brands of gasoline are not all equal.

(b)

Analyze the experimental data using the ANOVA procedure for completely randomized designs. (Use α = 0.05.)

Find the value of the test statistic. (Round your answer to two decimal places.)

Find the p-value. (Round your answer to three decimal places.)

p-value =

State your conclusion.

Reject H0. There is sufficient evidence to conclude that the mean miles-per-gallon ratings for the three brands of gasoline are not all equal.Reject H0. There is not sufficient evidence to conclude that the mean miles-per-gallon ratings for the three brands of gasoline are not all equal.    Do not reject H0. There is sufficient evidence to conclude that the mean miles-per-gallon ratings for the three brands of gasoline are not all equal.Do not reject H0. There is not sufficient evidence to conclude that the mean miles-per-gallon ratings for the three brands of gasoline are not all equal.

Compare your findings with those obtained in part (a).

The conclusion is the same as the conclusion in part (a).The conclusion is different from the conclusion in part (a).    

What is the advantage of attempting to remove the block effect?

We must remove the block effect in order to detect that there is no significant difference due to the brand of gasoline.There is no advantage to removing the block effect because the conclusion is the same in either case.    We must remove the block effect in order to detect that there is a significant difference due to the brand of gasoline.

In: Statistics and Probability

A parabolic trough concentrator with width of 3 m and length of 25 m has an...

A parabolic trough concentrator with width of 3 m and length of 25 m has an absorbed solar radiation per unit area of aperture (S) of 600 W/m2. The receiver is a cylinder with an emittance of 0.3 and is surrounded by an evaluated glass cylindrical envelope. The absorber has a diameter of 50 mm and the transparent envelope has an outer diameter of 100 mm with a thickness of 5 mm. The collector is designed to heat a fluid entering the absorber at 100oC at a flow rate of 0.0425 kg/s. The fluid has a specific heat of 3.89 kJ/kg K. The heat transfer co-efficient inside the tube is 250 W/m2 K and the overall loss co- efficient of 5 W/m2 K. The tube is made up of stainless steel with a thermal conductivity 1 of 15 W/m K and a wall thickness of 4 mm. Assume that the product of τcovαabs for the parabolic receiver is τcovαabs ~ 1.0 and the ambient temperature is 20oC. Determine the following: (a) the useful heat gain from the collector; (b) PTC collector efficiency; (c) the exit heat transfer fluid temperature; (d) the mass flow of the heat transfer fluid to achieve the same exit temperature (calculated in c) for the parabolic trough collector with a F_R value of 0.70.

In: Mechanical Engineering

an antacid tablet weighs 1.200 g. The active ingredient is CaCO3. This tablet was dissolved in...

an antacid tablet weighs 1.200 g. The active ingredient is CaCO3. This tablet was dissolved in 25.0 mL of 1.0 M HCl and back-titrated with 6.8 mL of 1.0 M NaOH. How much active ingredient is in this tablet?

In: Chemistry

Which one of these responses is true with regard to a 0.1 M solution of a...

Which one of these responses is true with regard to a 0.1 M solution of a weak acid HA? EXPLAIN WHY D IS RIGHT

A) [OH–] > [H+]

B) [H+] < [A–]

C) [H+] >[A–]

D) pH > 1.0

E) pH = 1.0

In: Chemistry

Calculate ΔGº at 25ºC for the reaction H2 + I2 D 2HI. Starting with 1.0 atm...

Calculate ΔGº at 25ºC for the reaction H2 + I2 D 2HI. Starting with 1.0 atm H2 and 1.0 atm I2, What is ΔG when: 0.1%, 1%, 10%, 50%, 90%, 99%, and 99.9% has reacted.

In: Chemistry

Calculate ΔGo at 25oC for the reaction H2 + I2 D 2HI. Starting with 1.0 atm...

Calculate ΔGo at 25oC for the reaction H2 + I2 D 2HI.
Starting with 1.0 atm H2 and 1.0 atm I2, What is ΔG when: 0.1%, 1%, 10%, 50%, 90%, 99%, and 99.9% has reacted.

In: Chemistry

Calculate ΔGo at 25oC for the reaction H2 + I2 D 2HI. Starting with 1.0 atm...

Calculate ΔGo at 25oC for the reaction H2 + I2 D 2HI. Starting with 1.0 atm H2 and 1.0 atm I2, What is ΔG when: 0.1%, 1%, 10%, 50%, 90%, 99%, and 99.9% has reacted.

In: Chemistry