Questions
Ryan is implementing a merge sort algorithm that he heard about in computers class. However, he...

Ryan is implementing a merge sort algorithm that he heard about in computers class. However, he was not paying attention, and ended up implementing the merge sort in a very unusual way. The standard merge sort takes a list, and recursively splits it in half, until there is only one element left. It then uses the idea that two sorted lists can be easily merged in O(n) time using "two pointer technique" (this step is usually called merge). Ryan does not know about two pointer technique, so he decided to replace merge with a bubble sort! The bubble sort runs in O(n^2) time. What is the runtime of this merge sort implementation?

In: Computer Science

Of 14 possible​ books, you plan to take 7 with you on vacation. How many different...

Of 14 possible​ books, you plan to take 7 with you on vacation. How many different collections of 7books can you​ take?

You can take______ different collections of 7 books on vacation with you.

To win at LOTTO in one​ state, one must correctly select 7 numbers from a collection of 50 numbers​ (1 through 50​). The order in which the selection is made does not matter. How many different selections are​ possible?

There are________ different LOTTO selections.

A​ parent-teacher organization has six teachers and seven parents. How many four-person committees can be formed if two people must be teachers and two people must be​ parents?

In how many ways can a committee of three men and four women be formed from a group of ten men and ten ​women?

A committee of three men and four women can be formed from a group of ten men and ten women in ________ different ways.

In: Statistics and Probability

Assume you are holding 1000 shares of XYZ stocks. You are considering using call options to...

Assume you are holding 1000 shares of XYZ stocks. You are considering using call options to hedge downside risk. The stock is selling at $45 and the following two call options are being considered for writing: an XYZ July 40 (i.e., the strike price is $40, and it expires in July); and an XYZ July 50. You are going to write 10 contracts, and each contract contains 100 options.

Part I.

Your broker provided you with the information about the prices of these two call options, one is $8 and the other is $1. But he forgot to tell you which one was for $8 and which one was for $1. Based on what you have learnt, what is the price for XYZ July 40 call? Briefly discuss, why writing a call option can provide downside protection for your stock holding.

Part II.

Compare two strategies:

Strategy A: write July 40 calls against your holding;

Strategy B: write July 50 calls against your holding.

Both strategies provide some downsize protection. Please explain which strategy offers a higher level of protection in the current case.

In: Accounting

Which one is the correct statement? Choose all applied. a. There are three types of tests....

Which one is the correct statement? Choose all applied.

a.

There are three types of tests. Upper tailed test, Lower tailed test and Two tailed test

b.

If p-value of a test is larger than level of significance (alpha), reject the null statement.

c.

In hypothesis statement, there are only two statements: One is null statement and

the other is alternative statement.

d.

If level of significance is 0.05, then confidence level is 0.95.

According to the Centers for Disease Control and Prevention (February 18, 2016), 1 in 3 American adults don’t get enough sleep. A researcher wants to determine if Americans are sleeping less than the recommended 7 hours of sleep on weekdays. He takes a random sample of 150 Americans and computes the average sleep time of 6.7 hours on weekdays. Assume that the population is normally distributed with a known standard deviation of 2.1 hours.

a.

There is no evidence that average sleeping time of adults is less than 7 hours.

b.

There is evidence that average sleeping time of adults is 7 hours.

c.

There is evidence that average sleeping time of adults is more than 7 hours.

d.

There is evidence that average sleeping time of adults is less than 7 hours.

which one is correct H0 and H1 statement?

a.

H0: average spending at the rival's store > $130

H1: average spending at the rival's store = $130

b.

H0: average spending at the rival's store < $130

H1: average spending at the rival's store > $130

c.

H0: average spending at the rival's store = $130

H1: average spending at the rival's store < $130

d.

H0: average spending at the rival's store = $130

H1: average spending at the rival's store > $130

Which one is the correct statement? Choose all applied.

a.

For upper tailed test, if a test statistics is less than upper critical value, reject the H0.

b.

For two tailed test, if a test statistics is larger than upper critical value, reject the H0.

c.

For lower tailed test, if a test statistics is less than lower critical value, reject the H0.

d.

For two tailed test, we need to find both upper and lower critical value.

In: Statistics and Probability

When evaluating the progress of capital projects, managers should investigate both cost over runs and cost...

When evaluating the progress of capital projects, managers should investigate both cost over runs and cost under runs. Why is it important that both are investigated?

In: Accounting

You are the engineering representative on a team for a new product introduction. The proposed manufacturing...

You are the engineering representative on a team for a new product introduction. The proposed manufacturing process uses a semi-automated machine along with people. Components for each unit of the product cost $8. The semi-automated machine costs $1,500,000, and it has a 7-year MACRS recovery period. The salvage value is $0 for this specially designed machine. This machine can manufacture 175 finished parts per hour.

Table 29-1 Production Volume (1000’s)

Year: 1 2 3 4 5 6 7 8 9

Production Volume (1000’s): 195  275 385 550 625 695 630 550 295

The normal manufacturing operation runs 8 hours per shift per day. Initial production would begin with one shift, 5 days a week. The machine placed in the facility must support this plan. Each working year has 50 weeks (250 regular working days) to allow for vacations. The total labor cost is $50 for each regular time hour that the machine operates and $65 for overtime (these costs include benefits). Assume that employees can be shifted between production of this new product and other products already in manufacturing. This assumption means that this product is charged with only those hours used and not with one or two full 8-hour shifts. The production operation can operate a maximum of 8 extra hours/week, if needed to meet the demand without adding an extra shift. This may be a 6th day or some hours added at the end of the regular shift. Many employees like to earn “some” overtime. Thus, the overtime option is more desirable than adding a second shift if overtime can meet the demand. Other required information: Corporate MARR 12% (after tax) Cost of borrowing 9% Effective tax rate 35% Maintenance cost 12% of raw material cost Overhead cost 2% of raw material cost(utilities, supervision, marketing, etc.)

1) If required Annual production volume is Y units, raw material cost per unit is $8, selling price is $10.5 per unit and After-Tax MARR is 12%, what is the value of Y at which After-Tax Net Present Value (ATNPV) is 0 ?

In: Finance

Answer True or False 1. For graph representation, adjacency Matrix is more efficiency than adjacency list...

Answer True or False

1. For graph representation, adjacency Matrix is more efficiency than adjacency list in term of searching for edge.

2. Topological sort runs in O(|V| + |E|) where |V| is the number of vertices, and |E| is the number of edges in the input graph.

3. If vertex u can reach vertex v, and vertex v can reach vertex u, then vertices u and v are in the same Strongly-connected component (SCC).

4. The Bellman-Ford algorithm will run forever if the input graph has negative weights on the edges.

5. For a graph with only positive edge weights, Dijkstra's algorithm solves the single-source shortest path (SSSP) problem faster than Bellman-Ford on a graph.

6. Dynamic programming depends on the input problem having an optimal substructure.

7. The longest-common subsequence problem on strings of length n and m can be solved in time O(nm).

8. The adjacency matrix’s space complexity is O(|V|+|E|), for a graph G = .

9. Given any two strings S1 and S2, there is only one longest common subsequence (that is, the LCS is unique).

10. Depth-First Search runs in O(|V| + |E|) where |V| is the number of vertices, and |E| is the number of edges in the input graph.

Breadth-First Search finds the shortest distance --- in terms of the number of hops --- from source vertex to each other reachable vertex in a graph.

Kruskal's algorithm is a greedy algorithm.

For any graph G with positive edge weights, there is only 1 minimum-spanning-tree (MST) for G.

The time complexity of rod-cutting problem is Θ(n2)

2^(n+1)= O(2^n)

In: Computer Science

1) compare and contrast the countries systems with the health care system of England, and Switzerland...

1) compare and contrast the countries systems with the health care system of England, and Switzerland this should be two page long

2) How the system is designed (What type of system is it?) in other words who runs it, is it tax based etc.

3) advantage and disadvantage of the system

4) How expensive it (how much is spent year on health care?

5) How does that compare with the USA?

6) What insurance looks like in that country (describe in detail how the system works)

7) What the system covers (broadly)

8) The significant differences between this country and the USA system.

make sure everything has to be in compare not in a separate form with USA, incluse that as part of the other countries.

9) which choice as to which health care system you would prefer and why, please make sure you give the the cite where the video or article is from.

In: Nursing

QUESTION 5 Frederick Herzberg developed a content theory of motivation called the ____ theory. hierarchy of...

QUESTION 5

  1. Frederick Herzberg developed a content theory of motivation called the ____ theory.

hierarchy of need

two-factor

acquired needs

equity

path-goal

2 points   

QUESTION 6

  1. The work of ____ identified five dimensions that determine a job's motivational potential.

Skinner and Cook

Louis and Clark

Hackman and Oldham

Watson and Crick

Vincent and Daft

2 points   

QUESTION 7

  1. Charismatic leaders are often ____ than transactional leaders.

less emotional

more predictable

less predictable

more directive

none of these

2 points   

QUESTION 8

  1. Derek runs Pizza Depot and is a great boss. When the workers at Pizza Depot learned their boss had cancer, they agreed to work extra shifts for free in order to keep the business running. This is an example of:

job satisfaction

organizational citizenship

cognitive dissonance

job involvement

organizational commitment

In: Operations Management

This is a comprehensive exercise that addresses many personnel selection concepts. Hospital Cheban is trying to...

This is a comprehensive exercise that addresses many personnel selection concepts. Hospital Cheban is trying to improve their selection process for hiring nurses. A successful nurse, according to the company, is one that can see a minimum of 50 patients per day. The company believes that the key to successfully doing this is perseverance. To test this hypothesis the company administers The Perseverance Assessment (TPA) to 75 applicants holding a proper nursing license. The company hires all of the applicants that scored higher than 3 on the TPA and gives all of them one year to see how they perform on the job. Given below are applicant scores on the TPA as well as how many patients they saw (on average) in a day. Answer the questions that follow. TPA score Average # of patients seen in a Day 10 78 67 65 59 55 9 79 61 61 61 58 56 56 50 48 47 8 69 65 64 63 59 56 50 50 50 49 45 44 42 41 31 7 72 66 56 55 54 53 52 51 51 51 50 43 42 33 21 6 62 61 60 59 52 49 48 45 44 43 42 40 40 29 20 5 55 52 51 50 50 43 41 33 29 18 4 57 49 40 27 22 Questions: If 150 applicants scored 3 or lower on the TPA and thus were not hired, what was the selection ratio for this job? If 50 patients seen per day is the criterion for success, what is the base rate for nurses with Hospital Cheban? If the company decides to use 8 as the passing score on the test, how many: True positives? False positives? True negatives? False negatives?

4. What percentage of the 75 employees were correct selection decisions, and what percentage were incorrect decisions. What do these results suggest about the value of the TPA test to select nurses?

In: Statistics and Probability