Questions
(Airline Reservations System) A small airline has just purchased a computer for its new automated reservations...

(Airline Reservations System) A small airline has just purchased a computer for its new automated reservations system. You’ve been asked to develop the new system. You’re to write an application to assign seats on each flight of the airline’s only plane (capacity: 500 seats).Your application should display the following alternatives: Please type 1 for First Class and Please type 2 for Economy. If the user types 1, your application should assign a seat in the first class section (seats 1–250). If the user types 2, your application should assign a seat in the economy section (seats 250–500). Your application should then display a boarding pass indicating the person’s seat number and whether it’s in the first-class or economy section of the plane. Use a one-dimensional array of primitive type boolean to represent the seating chart of the plane. Initialize all the elements of the array to false to indicate that all the seats are empty. As each seat is assigned, set the corresponding element of the array to true to indicate that the seat is no longer available. Your application should never assign a seat that has already been assigned. When the economy section is full, your application should ask the person if it’s acceptable to be placed in the first-class section (and vice versa). If yes, make the appropriate seat assignment. If no, display the message "Next flight leaves in 3 hours."

For Java

In: Computer Science

For the mtcars dataset (in R), comment on how Rear axle ratio is associated with Displacement...

For the mtcars dataset (in R), comment on how Rear axle ratio is associated with Displacement (cu.in.) and Miles/(US) gallon using the following steps:

  1. Draw appropriate scatterplot(s) [Show your code in “R Code” section. Leave “Answer” section blank. Justify your choice of charts in a few sentences in “Comments” section. No screenshots of the charts are required.]
  1. Determine correlation coefficient(s) [Show your code in “R Code” section. Show the answer in “Answer” section. Leave “Comments” section blank.]

  1. Calculate and plot appropriate regression lines [Show your code in “R Code” section. Leave “R Code” and “Comments” section blank.]
  1. Comment on how the variables are associated with each other [Leave “R Code” and “Answer” section blank. Include the phrase “associated” or “not associated” along with a justification in a few sentences in “Comments” section.]

In: Statistics and Probability

For each of these questions, your audience are persons that are not experts in statistics. Write...

  1. For each of these questions, your audience are persons that are not experts in statistics. Write with complete sentences and paragraphs. Cite any references that you use.

    1. (5 pts.) When building a model, you make four assumptions about the residuals. Explain what they are and how you can verify that your assumptions are correct.

    2. (5 pts) Define ‘interaction term’. From your own experience, identify an instance in which you believe an interaction term would be appropriate.

In: Statistics and Probability

Please explain all the financial statements in financial management. Please explain them in detail and explain...

Please explain all the financial statements in financial management.

Please explain them in detail and explain their importance.

In: Finance

1. A blood smear is used to diagnose malaria. In patients with malaria, the protozoa can...

1. A blood smear is used to diagnose malaria. In patients with malaria, the protozoa can be found near and inside red blood cells. Explain why a microscope capable of high magnification and high resolution would be needed to diagnose malaria.

Structures inside a cell including protozoa are very small and cannot be seen with low magnification.
Malaria symptoms are non-specific and microscopy is the only way to discriminate between several diseases.
A microscope is needed to count the red blood cells present in a sample.
A compound microscope with high magnification and high resolution is used to get a clear, three-dimensional view of the protozoa and the shape of the red blood cells.

2. Histopathology is the use of microscopes to view tissues to diagnose and track the progression of diseases. Why are thin slices of tissue ideal for this procedure?

Thin slices are used so that pathologists can clearly see individual cells for their assessment. Too many layers of cells makes it difficult to focus and hard to see what changes have occurred in the tissues.
Thick sections would waste a lot of material and would require larger patient samples.
Thin slices are easier to prepare.
Thin slices are used because thicker tissue slices are more difficult to stain, and it is harder to see cellular details.

In: Anatomy and Physiology

You are a lawyer in the courtroom defending your client who was accused of driving under...

You are a lawyer in the courtroom defending your client who was accused of driving under the influence of methamphetamines. A forensic scientist testified in court with the urine analysis of your client post performing a carefully executed ELISA. The scientist explains that the absorbance measured by the experiment is 680 nm and the test was positive because the color of the final solution observed was red. Use your knowledge of science to successfully defend your client.

In: Chemistry

Explain the various ways that antibiotics work to inhibit bacterial growth, metabolism, and reproduction. Talk about...

Explain the various ways that antibiotics work to inhibit bacterial growth, metabolism, and reproduction. Talk about the targets those antibiotics work on, and whether they work against gram +, gram –, or all organisms. Use specific examples of antibiotics to support your explanations. Discuss why antibiotic resistance is on the rise, and what measures can be taken to prevent this.

500 words

In: Biology

What contemporary global issue topic to tackle in making a position paper? Kindly give the following...

What contemporary global issue topic to tackle in making a position paper?

Kindly give the following reasons and additional information about why it is essential.

I will use your advice in making a position paper that requires 2000 words

You can put it in bullet form at least 8 bullets. explain it as clear as you can.

Automatic like if satisfied.

In: Economics

Name and detail the mechanism(s) through which this DNA damage can occur. What mechanism(s) have cells...

Name and detail the mechanism(s) through which this DNA damage can occur. What mechanism(s) have cells developed to deal with this damage when it is encountered? Detail how this led to the elucidation of DNA repair enzymes in your answer.

In: Biology

Suppose that students own an average of 4 pairs of jeans. 8 people from your class...

Suppose that students own an average of 4 pairs of jeans. 8 people from your class were surveyed to determine if the average for students is higher than 4.

DATA TO USE:   2, 2, 3, 4, 6, 6, 8, 9

a. Give the null and alternative hypotheses: Ho: _______________ Ha: ___________________

b. In words, CLEARLY state what your random variable or P' represents.

c. State the distribution to use for the test. If t, include the degrees of freedom. If normal, include the mean and standard deviation.

d. p-value = ______________   

e. In 1 – 2 complete sentences, explain what the p-value means for this problem.

f. Use the previous information to draw a graph of this situation. CLEARLY, label and scale the horizontal axis and shade the region(s) corresponding to the p-value. The values of your sample statistic and the hypothesized value of the population parameter should be on the axis.

g. Indicate the correct decision (“reject the null hypothesis” or “do not reject the null hypothesis”) and write an appropriate conclusion, using COMPLETE SENTENCES.

   Decision:

   Conclusion:

h. Construct a 95% Confidence Interval for the true mean or proportion.   Include a sketch of the graph of the situation. Label the point estimate and the lower and upper bounds of the Confidence Interval.

Confidence Interval: ( ___________________ , ___________________ )

i. Interpret the confidence interval in a complete sentence.

In: Statistics and Probability