- Computer Science Engineering (CSE)
- Design and Analysis of Algorithms
- How many solution/solutions are availabl...

Q. |
## How many solution/solutions are available for a graph having negative weight cycle? |

A. | one solution |

B. | two solutions |

C. | no solution |

D. | infinite solutions |

Answer» C. no solution | |

Explanation: if the graph has any negative weight cycle then the algorithm indicates that no solution exists for that graph. |

View all MCQs in:
Design and Analysis of Algorithms

- Consider a undirected graph G with vertices { A, B, C, D, E}. In graph G, every edge has distinct weight. Edge CD is edge with minimum weight and edge AB is edge with maximum weight. Then, which of the following is false?
- A graph is said to have a negative weight cycle when?
- A k-regular bipartite graph is the one in which degree of each vertices is k for all the vertices in the graph. Given that the bipartitions of this graph are U and V respectively. What is the relation between them?
- Dijkstra’s Algorithm run on a weighted, directed graph G={V,E} with non-negative weight function w and source s, terminates with d[u]=delta(s,u) for all vertices u in V.
- Bellmann Ford algorithm is used to indicate whether the graph has negative weight cycles or not.
- From the given graph, how many vertices can be matched using maximum matching in bipartite graph algorithm?
- Consider a complete graph G with 4 vertices. The graph G has spanning trees.
- If all the weights of the graph are positive, then the minimum spanning tree of the graph is a minimum cost subgraph.
- Consider the graph shown below. Which of the following are the edges in the MST of the given graph?
- A graph is found to be 2 colorable. What can be said about that graph?

Login to Continue

It will take less than 2 minutes

Report MCQ