Questions
We can use breadth-first search to find the length of longest simple path in the BFS...

We can use breadth-first search to find the length of longest simple path in the BFS tree
starting at s by the simple method of checking each v.d value at the end of the algorithm. BFS is
Θ(|V | + |E| and this adds only Θ(|V |) work.
Find an even easier approach that adds only constant time (Θ(1)) work via a simple modification to
the BFS algorithm.

In: Computer Science

a Explain circumstances in which it is responsible to improve maintainability to counteract poor reliability and...

  1. a Explain circumstances in which it is responsible to improve maintainability to counteract poor reliability and identify circumstances where this approach is unrewarding.

b the expression for steady-state availability of a single element is:

A(t) = µ/(λ+µ)

Explain what is meant by a steady state. State the meaning of meanings of the symbols µ and λ, and the assumptions inherent in the expression.

In: Mechanical Engineering

Bank of America got bailed out, but Lehman Brothers was allowed to fail. The insurance company...

Bank of America got bailed out, but Lehman Brothers was allowed to fail. The insurance company American International Group (AIG) was rescued, but in July federal authorities refused to bail out a significant lender to small and medium-sized businesses, the CIT Group (not to be confused with Citigroup, which did get bailed out). What is the logic behind these decisions? Who is being bailed out—and who should be? Was the AIG bailout necessary in your view?

In: Operations Management

For each of the following situations: ! Pick the search that is most appropriate, be specific...

For each of the following situations: ! Pick the search that is most appropriate, be specific about visited and expanded list ! Give a one sentence reason why you picked it. (advantage and disadvantages). 1. We need to find the least cost path to find the goal. Best search algorithm chosen: _______________________________________________ reason:__________________________________________________________________ ________________________________________________________________________ 2. We need a search algorithm that is fast and memory efficient, repeating the work is not an issue. Best search algorithm chosen: _______________________________________________ reason:__________________________________________________________________ ________________________________________________________________________ 3. We have a space and we search the tree from both the start and the goal at the same time. Best search algorithm chosen: _______________________________________________ reason:__________________________________________________________________ ________________________________________________________________________ 4. We need a search algorithm that is complete and optimal without considering the number of steps involved. Best search algorithm chosen: _______________________________________________ reason:__________________________________________________________________ ________________________________________________________________________

In: Computer Science

QUESTION ONE Mila, a travel consultant, was doing her shopping at the local supermarket, Buckleys. When...

QUESTION ONE

Mila, a travel consultant, was doing her shopping at the local supermarket, Buckleys. When walking in the milk and dairy section in Buckleys, Mila slipped on the floor and hit her knees on a trolley.

While on the floor, Mila looked at the bottom of her shoes and found some squashed cheese which had fallen from the refrigerated display shelves.

Ben, an employee of Buckleys, came to help Mila. Ben told Mila that he was on his tea break and didn’t have the time to clean up the cheese that had fallen onto the floor.

Mila admitted that she was not looking at the floor as she walked, and told Ben, “I was looking around for items to purchase”.

Due to her falling and hitting her knees on the supermarket trolley, Mila suffers from soft tissue injuries and is not able to sit or walk for a long time. Mila’s injuries have become worse due to her taking up binge eating as a means of dealing with her symptoms. Mila is claiming compensation for medical expenses, economic loss and domestic assistance.

REQUIRED:

Advise Mila as to whether she would be successful in negligence against Buckleys supermarket. Please explain fully, using relevant legal authority.

QUESTION TWO

On the 2nd of March, Jack offers to sell his collection of Persian rugs to his friend Liam for $30,000 by telephone. This was considerably less than the $50,000 that Jack had advertised his collection for in the local newspaper. Liam asked for a little time to think it over and was told by Jack: “Sure, I will leave the offer open until Tuesday the 5th of March”.

On Monday the 4th of March, Liam sends Jack an email agreeing to buy the Persian rugs at the specified price subject to Jack’s assurance that the rugs were genuine, hand-made rugs.

Later that same Monday, Jack was approached by Zoe who offered to purchase Jack’s Persian rugs for $50,000 as advertised in the newspaper. Jack immediately accepted Zoe’s offer and then sent Liam a text message withdrawing his offer to sell the rugs to Liam.

Jack read Liam’s “agreement” email on Tuesday the 5th of March and Liam read Jack’s withdrawal text message on Wednesday the 6th of March.

REQUIRED:

Advise Jack whether he has an enforceable contract with either Liam or Zoe.

In: Accounting

Again, Inc. bonds have a par value of $1,000, a 29 year maturity, and an annual...

Again, Inc. bonds have a par value of $1,000, a 29 year maturity, and an annual coupon rate of 12.0% with annual coupon payments. The bonds are currently selling for $1,177. The bonds may be called in 6 years for 112.0% of par. What quoted annual rate of return do you expect to earn if you buy the bonds and company calls them when possible? Question 14 options: 11.91% 10.10% 8.71% 9.56% 12.92%

In: Finance

The 2017 balance sheet of Kerber's Tennis Shop, Inc., showed $3 million in long-term debt, $700,000...

The 2017 balance sheet of Kerber's Tennis Shop, Inc., showed $3 million in long-term debt, $700,000 in the common stock account, and $6.1 million in the additional paid-in surplus account. The 2018 balance sheet showed $3.55 million, $915,000, and $8 million in the same three accounts, respectively. The 2018 income statement showed an interest expense of $380,000. The company paid out $600,000 in cash dividends during 2018. If the firm's net capital spending for 2018 was $750,000 and the firm reduced its net working capital investment by $185,000, what was the firm's 2018 operating cash flow, or OCF?

A. $-1,685,000

B. $-3,450,000

C. $-1,120,000

D. $-2,320,000

E. $2,055,000

In: Finance

1) List the three steps of test driven development and explain, in detail, why these three...

1) List the three steps of test driven development and explain, in detail, why these three steps are used.
2) Explain why the order of the steps is so important.

3) For each of the following data types, explain what boundaries might be relevant to testing. Also, explain what values you would consider testing for parameters of this type. Justfiy your answers.

  • boolean
  • int
  • String
  • List
  • Optional
  • Point
  • Map

In: Computer Science

Write 6 paragraphs Describing the algorithms that are actually used by modern computers to add, subtract,...

Write 6 paragraphs Describing the algorithms that are actually used by modern computers to add, subtract, multiply and divide positive integers.

In: Computer Science

Write an application named DisplayMultiplicationTable that displays a table of the products of every combination of...

Write an application named DisplayMultiplicationTable that displays a table of the products of every combination of two integers from 1 through 10

Beginning Code. Please answer in C#

using static System.Console;
class DisplayMultiplicationTable
{
static void Main()
{
// Write your main here.
}

}
}

In: Computer Science

Compared to a job, a career:

Compared to a job, a career:

In: Finance

a. Celsius and Fahrenheit scales have zero values. Why are they not ratio scales? b. Provide...

a. Celsius and Fahrenheit scales have zero values. Why are they not ratio scales?

b. Provide an example of an interval scale not mentioned in the text that is not a ratio scale. If you scale has a zero element, briefly explain why the zero element does not make it a ratio scale.

c. Provide an example of a ratio scale not mentioned in the text. Briefly explain why the zero element of your scale makes it a ratio scale.

In: Computer Science

What is a proper Christian response to poverty? Is giving money the answer? What would you...

What is a proper Christian response to poverty? Is giving money the answer? What would you suggest American Christians do?

In: Economics

This rubric element wants you to look at the policies in place at the start of...

This rubric element wants you to look at the policies in place at the start of your chosen decade.

•You will need to provide details on the policies and examine how they were related to macroeconomic issues at the time. Your slide(s) on this will highlight the key points and your speaker notes will add the explanatory detail needed.

•You may need to take a peak at what was happening in the years leading up to the start of your decade.

I need an explanation on the above for the period of 1990-2000. Any help would be appreciated. Thank you!

In: Economics

Consider a modification to the DFS procedure such that it returns for an undirected graph G,...

Consider a modification to the DFS procedure such that it returns for an undirected graph
G, the connected components of G. To do this, you will modify the DFS procedure to
• maintain a counter i, initially set in 1, that counts how many connected components we found so
far; and
• on each vertex v ∈ G.V maintain an attribute component indicating to which connected component
number v belong to. That is, when DFS terminates, v.component indicates the component number
1, 2, . . . i that v belongs to.
Answer the following questions:
(a) Write the pseudocode for this slightly modified version of the DFS algorithm
(b) Explain why your algorithm is correct and its running time. You do not need to provide a formal
argument for correctness, but be sure to explain in clear terms.

In: Computer Science