Identify the correct Bellmann Ford Algorithm.
Options are not available for this question.
Select an option to see the answer and solution.
Which of the following is an example of Best First Search algorithm?
A. A*
B. B*
C. C*
D. Both A* and B*
Select an option to see the answer and solution.
Prim's algorithm is also known as . . . . . . . .
A. Dijkstra-Scholten algorithm
B. Boruvka's algorithm
C. Floyd-Warshall algorithm
D. DJP Algorithm
Select an option to see the answer and solution.
Consider the graph shown below.
Which of the following edges form the MST of the given graph using Prim'a algorithm, starting from vertex 4.
A. (4-3)(5-3)(2-3)(1-2)
B. (4-3)(3-5)(5-1)(1-2)
C. (4-3)(3-5)(5-2)(1-5)
D. (4-3)(3-2)(2-1)(1-5)
Select an option to see the answer and solution.
Consider the following statements.
S1. Kruskal's algorithm might produce a non-minimal spanning tree.
S2. Kruskal's algorithm can efficiently implemented using the disjoint-set data structure.
A. S1 is true but S2 is false
B. Both S1 and S2 are false
C. Both S1 and S2 are true
D. S2 is true but S1 is false
Select an option to see the answer and solution.
Bellmann Ford Algorithm is an example for . . . . . . . .
A. Dynamic Programming
B. Greedy Algorithms
C. Linear Programming
D. Branch and Bound
Select an option to see the answer and solution.
What is the other name of the greedy best first search?
A. Heuristic Search
B. Pure Heuristic Search
C. Combinatorial Search
D. Divide and Conquer Search
Select an option to see the answer and solution.
Time Complexity of Breadth First Search is? (V - number of vertices, E - number of edges)
A. O(V + E)
B. O(V)
C. O(E)
D. O(V*E)
Select an option to see the answer and solution.
Which of the following traversal in a binary tree is similar to depth first traversal?
A. level order
B. post order
C. pre order
D. in order
Select an option to see the answer and solution.
Kruskal's algorithm is a . . . . . . . .
A. divide and conquer algorithm
B. dynamic programming algorithm
C. greedy algorithm
D. approximation algorithm
Select an option to see the answer and solution.
Which of the following is a possible result of depth first traversal of the given graph(consider 1 to be source element)?
A. 1 2 3 4 5
B. 1 2 3 1 4 5
C. 1 4 5 3 2
D. 1 4 5 1 2 3
Select an option to see the answer and solution.
What is the running time of the Floyd Warshall Algorithm?
A. Big-oh(V)
B. Theta(V2 )
C. Big-Oh(VE)
D. Theta(V3 )
Select an option to see the answer and solution.
Bellmann Ford Algorithm can be applied for . . . . . . . .
A. Undirected and weighted graphs
B. Undirected and unweighted graphs
C. Directed and weighted graphs
D. All directed graphs
Select an option to see the answer and solution.
The Breadth First Search traversal of a graph will result into?
A. Linked List
B. Tree
C. Graph with back edges
D. Arrays
Select an option to see the answer and solution.
Which of the following data structure is used to implement DFS?
A. linked list
B. tree
C. stack
D. queue
Select an option to see the answer and solution.
A person wants to visit some places. He starts from a vertex and then wants to visit every vertex till it finishes from one vertex, backtracks and then explore other vertex from same vertex. What algorithm he should use?
A. Depth First Search
B. Breadth First Search
C. Trim's algorithm
D. Kruskal's Algorithm
Select an option to see the answer and solution.
Consider the given graph.
What is the weight of the minimum spanning tree using the Prim's algorithm,starting from vertex a?
Select an option to see the answer and solution.
Consider a complete graph G with 4 vertices. The graph G has . . . . . . . . spanning trees.
Select an option to see the answer and solution.
Branch and bound is a . . . . . . . .
A. problem solving technique
B. data structure
C. sorting algorithm
D. type of tree
Select an option to see the answer and solution.
Floyd Warshall's Algorithm can be applied on . . . . . . . .
A. Undirected and unweighted graphs
B. Undirected graphs
C. Directed graphs
D. Acyclic graphs
Select an option to see the answer and solution.