Question

true/false An unweighted path length measures the number of edges in a graph. Breadth first search...

true/false

An unweighted path length measures the number of edges in a graph.

Breadth first search traverses the graph in "layers", beginning with the closest nodes to the ending location first.

The computer knows about neighbors by checking the graph storage (such as the adjacency matrix or the adjacency list).

Breadth first traversals use a stack to process nodes.

The weighted path length is the sum of the edge costs on a path.

Dijkstra's shortest path algorithm can be used to find the shortest path in a weighted graph with positive edges.

Dijkstra's shortest path algorithm uses a FIFO queue like the BFS.

A negative cost cycle means that we can keep shortening a path by going in an infinite loop.

Graphs with negative edge costs, but no negative cost cycle, can use Bellman-Ford's shortest path algorithm.

A topological sort orders verticies in a DAG so that if there is a path from node 1 to node 2, node 2 comes before node 1.

A graph with a cycle cannot have a topological sort.

The in-degree of a node is the number of incoming edges.

Critical path analysis is another method for calculating the shortest path.

Slack time is the amount of time a task can be delayed without delaying the project.

Zero slack activities are on the critical path.

Homework Answers

Answer #1

False.

  • The unweighted path length gives the shortest distance.

True.

  • BFS traverse graph in layers.

True

  • The computer can know about neighbors by using graph storage.

False.

  • BFS uses a queue for the traversal.

True

  • It is the sum of edge costs.

True

  • Dijkstra’s algorithm work with positive edges.

False

  • Dijkstra’s algorithm uses a priority queue like BFS.

False

  • The negative cost cycle means the overall sum of the cycle is negative.

True.

  • A graph with a negative edge can use the Bellman-Ford algorithm.

True

  • Topological sorting for DAG is a linear ordering of vertices.

True

  • Graph having cycle cannot do the topological sort.

True

  • In-degree means incoming edges.

False

  • Critical path analysis is for calculating the longest path.

True

  • It is the time by which a task can be delayed without delaying the project

False

  • Activities on zero slack cannot be delayed.
Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT
Active Questions
  • A) Assuming that ferrous ammonium sulfate hexahydrate is the limiting reagent in a reaction with ferrous...
    asked 56 seconds ago
  • Ross Hopkins, president of Hopkins Hospitality, has developed the tasks, durations, and predecessor relationships in the...
    asked 11 minutes ago
  • A trapezoidal channel is needed for a location where the bed slope is 0.008 ft/ft, discharge...
    asked 14 minutes ago
  • List and briefly explain each step in the ABCDE technique for examining irrational beliefs that contribute...
    asked 33 minutes ago
  • 1. Find the general solution of the first order linear differential equation: 2*x*dy/dx -y-3/sqrt(x)=0. sqrt() =...
    asked 55 minutes ago
  • Fairfield Homes is developing two parcels near Pigeon Fork, Tennessee. In order to test different advertising...
    asked 1 hour ago
  • . For each of the following questions, say whether the random process is reasonably a binomial...
    asked 1 hour ago
  • Please discuss why empathy is so important in light of current events. Please give specific examples
    asked 1 hour ago
  • Describe ONE thing you learned from either Peter singer or Tibor Machan author that compelled you...
    asked 1 hour ago
  • Global logistics firms such as DHL Supply Chain and Global Forwarding or C. H. Robinson Worldwide...
    asked 1 hour ago
  • Please match each factor in adoption of a new product or service to the best match...
    asked 1 hour ago
  • Fatty Acid Synthesis Assignment Explain how the activation of acetyl-CoA carboxylase prevents excess citrate in the...
    asked 2 hours ago