Questions
A farmer plans to mix two types of food to make a mix of low cost...

A farmer plans to mix two types of food to make a mix of low cost feed for the animals in his farm. A bag of food A costs $10 and contains 40 units of proteins, 20 units of minerals and 10 units of vitamins. A bag of food B costs $12 and contains 30 units of proteins, 20 units of minerals and 30 units of vitamins. How many bags of food A and B should the consumed by the animals each day in order to meet the minimum daily requirements of 150 units of proteins, 90 units of minerals and 60 units of vitamins at a minimum cost? Just formulate this problem in the linear programming model with equations for objective function and constraints. hint: Refer to the solved minimization problem (fertilizers) in class and the assignment)

In: Operations Management

What is the java root class for exceptions? java.lang.throw java.lang.exceptions java.lang.errors java.lang.Throwable Which statement about exceptions...

What is the java root class for exceptions?

  1. java.lang.throw

  2. java.lang.exceptions

  3. java.lang.errors

  4. java.lang.Throwable

Which statement about exceptions is NOT true.

  1. Exception handling enables a program to deal with errors during execution.

  2. Exceptions are compile time errors.

  3. Exceptions are thrown from a method.

  4. An exception is an

Exceptions can be primitives or objects.

  1. True
  2. False

"try-with-resources" syntax is used to ___________________.

  1. automatically close the files used in the program.

  2. throw an exception for a memory related error.

  3. all of the above

  4. validate that a file was opened correctly

What happens when an exception occurs in a method but it is not caught inside the method?

  1. The method exits immediately.

  2. An exception is thrown.

  3. The exception is passed to the caller.

  4. All of the above

In: Computer Science

At 1 atm, how much energy is required to heat 35.0 g of H2O(s) at –20.0...

At 1 atm, how much energy is required to heat 35.0 g of H2O(s) at –20.0 °C to H2O(g) at 173.0 °C?

In: Chemistry

Describe 3 examples of routing metrics that can be used to determine the best path for...

Describe 3 examples of routing metrics that can be used to determine the best path for a network

In: Computer Science

The number of internal disk drives​ (in millions) made at a plant in Taiwan during the...

The number of internal disk drives​ (in millions) made at a plant in Taiwan during the past 5 years​ follows:

                                                                     

Year

Disk Drives

1

138138

2

156156

3

184184

4

204204

5

210210

​a) Using simple linear regression ,the forecast for the number of disk drives to be made next year​ =

disk drives ​(round your response to one decimal​ place).

b) compute the mean squared error (MSE).

c) compute the mean absolute percent error (MAPE).

In: Operations Management

QUESTION 10 Which of the following is NOT a reason that connectivity can be lost? A....

QUESTION 10

Which of the following is NOT a reason that connectivity can be lost?

A.

The operating system

B.

The user has the device in airplane mode.

C.

The app has both a 3G and Wi-Fi connection.

QUESTION 12

To reduce an app's drain on the battery, the app should do which of the following?

A.

Never use any sensors.

B.

Monitor to determine whether a sensor reading needs an update before it uses the sensor.

C.

Shut down all activity when an app is paused.

QUESTION 15

If desired sensor accuracy cannot be attained immediately, what should the app be designed to do?

A.

Block the user until the desired accuracy level can be achieved.

B.

Let the user continue working with the app, but inform the user of progress toward achieving the desired level of accuracy.

C.

Inform the user that the accuracy level has not been achieved..

QUESTION 16

What happens to a running app if a hardware button is pressed on either platform?

A.

The app is destroyed.

B.

The app moves from the running state to another state.

C.

The app is resumed.

In: Computer Science

Jack is considering adding work jeans and T-shirts to the items he stocks in his general...

Jack is considering adding work jeans and T-shirts to the items he stocks in his general store provided that his payback period is less than 2.5 years. He estimates that the initial cost of inventory will be $6,750. The remodeling expenses required for this addition are $18,200. Jean and T-shirt sales are expected to produce net cash inflows of $10,200, $14,500, and $16,600 over the next three years, respectively. Jack _____ add the jeans and T-shirts to his offerings as the payback period is _____ years.

Multiple Choice

  • should; 1.67

  • should; 3.67

  • should; 2.02

  • should not; 3.67

  • should not; 2.02

In: Finance

1.) Outline and describe HEB’s crisis management policies and procedures. Was HEB effective in their crisis...

1.) Outline and describe HEB’s crisis management policies and procedures. Was HEB effective in their crisis response to the COVID-19 Pandemic? Why or Why Not? What improvements would you make to HEB’s crisis management policies and procedures?

Your answers will be short essays and should be three full paragraphs or longer.

In: Operations Management

Program this scenario in C. Scenario: I am in highschool and i want to go see...

Program this scenario in C.

Scenario:

I am in highschool and i want to go see a movie. I have a certain amount of money to spend. Matinees are $8.50 and Evening Showings are $11.75. There is a G, PG, PG-13, and R movie at the theater. Ask the highschooler their age and how much money they have. With this info determine what showtime they can go see and what movies they are not allowed to see. Make it fun by assigning movie titles instead of ratings.

In: Computer Science

2. Discuss in more detail Public health and Public health programs in American history? What did...

2. Discuss in more detail Public health and Public health programs in American history? What did Public health do for America, what are public health initiatives still doing for America?

In: Civil Engineering

What were the motivations of operators in rolling out ISDN systems?

What were the motivations of operators in rolling out ISDN systems?

In: Computer Science

COVID19 has impacted different individuals in varying ways. Much of this has little to do on...

COVID19 has impacted different individuals in varying ways. Much of this has little to do on differing genetics of the body and more to do with social aspects. After learning about social determinants of health please pick three social determinants and explain how they might help or hinder a person who becomes infected by COVID19.

In: Nursing

You must evaluate a proposal to buy a new milling machine. The base price is $165,000,...

You must evaluate a proposal to buy a new milling machine. The base price is $165,000, and shipping and installation costs would add another $12,000. The machine falls into the MACRS 3-year class, and it would be sold after 3 years for $82,500. The applicable depreciation rates are 33%, 45%, 15%, and 7%. The machine would require a $8,000 increase in net operating working capital (increased inventory less increased accounts payable). There would be no effect on revenues, but pretax labor costs would decline by $31,000 per year. The marginal tax rate is 35%, and the WACC is 13%. Also, the firm spent $5,000 last year investigating the feasibility of using the machine.

  1. How should the $5,000 spent last year be handled?
    1. The cost of research is an incremental cash flow and should be included in the analysis.
    2. Only the tax effect of the research expenses should be included in the analysis.
    3. Last year's expenditure should be treated as a terminal cash flow and dealt with at the end of the project's life. Hence, it should not be included in the initial investment outlay.
    4. Last year's expenditure is considered as an opportunity cost and does not represent an incremental cash flow. Hence, it should not be included in the analysis.
    5. Last year's expenditure is considered as a sunk cost and does not represent an incremental cash flow. Hence, it should not be included in the analysis
  2. What is the initial investment outlay for the machine for capital budgeting purposes, that is, what is the Year 0 project cash flow? Round your answer to the nearest cent.

  3. What are the project's annual cash flows during Years 1, 2, and 3? Round your answer to the nearest cent. Do not round your intermediate calculations.

    Year 1 $

    Year 2 $

    Year 3 $

  4. Should the machine be purchased?

In: Finance

What are the different types of goals in conflict? How do they overlap and influence each...

What are the different types of goals in conflict? How do they overlap and influence each other? What is the most effective way to clarify or collaborate on setting goals?

In: Psychology

Write a program in C to grade an n-question multiple-choice exam (for n between 5 and...

Write a program in C to grade an n-question multiple-choice exam (for n between 5 and 20) and provide feedback about the most frequently missed questions. Your program will use a function scan_exam_data to scan and store the exam data in an appropriate data structurer. Use file redirection to input data – do not use fopen() in your code. The first line of input contains the number of students. Second line is number of questions on the exam followed by a space and then an n-character string of the correct answers. Each of the lines that follow contain an integer student ID followed by a space and then the student answers.


Sample Input

3

5 dbbac

111 dabac

102 dcbdc

251 dbbac


Your program then uses a function analyze_data to calculate each student’s score as a percentage and the number of each missed questions in the exam. A function print_data will be called to produce an output, containing the answer key, each student’s ID, each student’s score as a percentage, and information about how many students missed each question.


Sample Output

Exam Report

Students 3

Question 1 2 3 4 5

Answer d b b a c

ID Score(%)

111 80

102 60

251 100

Question 1 2 3 4 5

Missed by 0 2 0 1 0


Error checking
You will have to perform some error checks while the program is being running. However, these error checks will not cause the program to terminate – except if you have a corrupted file. Your program should print error messages when appropriate. Here is a list that need to be checked: Illegal inputs like the number of questions must be between 5-20 and key answers must be lower-case letters.

In: Computer Science