Question

In: Computer Science

1. What is the role of “levels” within a breadth-first search? 2. Other than flight routes,...

1. What is the role of “levels” within a breadth-first search?

2. Other than flight routes, what is an example of directed graphs in the real world?

3. Other than driving routes, what is an example of shortest paths in the real world?

4. What is the difference between shortest path and minimum spanning trees?

5. What role does “NP” play when developing efficient algorithms?

Solutions

Expert Solution

Ans.1 The levels in BFS basically signify the level of each node in the given tree from source node. In BFS the traversal is always level wise. That is from a node it's neighbours then neighbours of neighbours and so on.

Ans .2 Taking courses/subjects in colleges. Some courses have other courses as pre-requisites.

Ans.3 Shortest path is used in Routing Protocols to determine shortest path for hopping between routes for sending protocol messages.

Ans.4 Shortest path is simply the shortest path between 2 points. For example in a triangle shortest path between 2 vertices will be one edge.

However MST includes all vertices exactly once and gives edges which added up to minimum weight.

For example in a triangle of sides lengths 3,4,5 ..The sides with weights 3 and 4 will form the MST.

Ans.5

In 1965, Jack Edmonds gave the a formal definition of "efficient computation" that is problems that runs in time a fixed polynomial of the input size. These class of problems with efficient solutions are to be known as P . Here P stands for "Polynomial Time."
Now another set of problems with solutions are there. If given a potential solution, some solution can be validated efficiently. These problems collection which have a efficiently verifiable solutions is known as NP.

Now comes P = NP. This means that we can find that solution efficiently as well (for every problem that has an efficiently verifiable solution. ) Which was an early theory. However now the debate is whether PNP. This is the single most highly regarded as important question in the domain of theoretical computer science and it's interjection with mathematics. And P vs NP is a computational issue for efficiency.


Related Solutions

1. What are the role and functions of public relations within an organization? 2. Search the...
1. What are the role and functions of public relations within an organization? 2. Search the net for a good example of how a company handled a potentially bad situation regarding a product or service they provided. Next search for an example of how a company botched an event from a public relations standpoint. Please type short summaries of each example.
Role E Slide Slide 2. What are the aspects of leadership within your role? What are...
Role E Slide Slide 2. What are the aspects of leadership within your role? What are the skills and attributes needed in your role that help you to be successful?  What does success mean to you in terms of your position? What are the challenges of this practice role that you have experience? What are the advantages in this practice role that you perceive? What are some of the quality improvement processes that are you are involved with or that are...
Flight 1 -2 -1 -2 2 -2 0 -2 -3 Flight 19 19 -4 -5 -1...
Flight 1 -2 -1 -2 2 -2 0 -2 -3 Flight 19 19 -4 -5 -1 -4 73 0 1 Flight 21 18 60 142 -1 -11 -1 47 13 Listed below are departure delay times (minutes) for american Airline flights from New York to Los Angeles. Negative values correspond to flights that departed early. Use a 0.05 significance level to test the claim that the different flights have the same mean departure delay time.What is the critical value (F-value)?...
Flight 1 -2 -1 -2 2 -2 0 -2 -3 Flight 19 19 -4 -5 -1...
Flight 1 -2 -1 -2 2 -2 0 -2 -3 Flight 19 19 -4 -5 -1 -4 73 0 1 Flight 21 18 60 142 -1 -11 -1 47 13 Use a 0.05 significance level to test the claim that the different flights have the same mean departure delay time. What is the critical value (F-value)? [Round to 4 decimal places]
Discuss the below in no less than 300 words. Search the internet for other versions of...
Discuss the below in no less than 300 words. Search the internet for other versions of a Linux Server besides Ubuntu. List at least 5 below and provide a description for each. Note any interesting features that fork may have.
Discuss the levels,role, and importance of regulating gene expression within bacteria (20 marks)
Discuss the levels,role, and importance of regulating gene expression within bacteria
1. Fuels for motor vehicles other than gasoline are being evaluated because they generate lower levels...
1. Fuels for motor vehicles other than gasoline are being evaluated because they generate lower levels of pollutants than does gasoline. Compressed propane(C3H8) has been suggested as a source of power for vehicles. Supposed that in a test 30 kg of C3H8 is burned with 400 kg ofair(21mole%O2,therestN2)toproduce44kgofCO2 and12kgofCO.Inorderto calculate the percent excess air, follow the below steps. (a) What are the molecular weights of C3H8, air(21 mole % O2, the rest N2), and O2? Hence what is the moles...
Search the Internet (other than Wikipedia, Investopedia, or similar sites) for information on real and nominal...
Search the Internet (other than Wikipedia, Investopedia, or similar sites) for information on real and nominal interest rates. First, describe the difference between the two. Next, how has inflation in the U.S. compared to inflation in other countries over the last 5 years or so? To what would you attribute the differences in inflation in different countries? Provide links to the Internet site(s) you utilize.
1) What are the 2 variables in a Regression Analysis and what are their levels of...
1) What are the 2 variables in a Regression Analysis and what are their levels of measurement? 2) What is the Chi-Square Goodness of Fit test and why would it be applied to a data set?
What does it mean to say that there are different levels within a category? What are...
What does it mean to say that there are different levels within a category? What are the arguments that support the notion that there are privileged levels within categories. In your original answer be sure to describe an object with regard to specific, basic and global categories
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT