**DOWNLOAD FREE PDF** **<<CLICK HERE>>**

## Bellman-Ford Algorithm Multiple choice Questions and Answers (MCQs)

Congratulations - you have completed *Bellman-Ford Algorithm Multiple choice Questions and Answers (MCQs)*.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%

Your answers are highlighted below.

Question 1 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER] |

The Bellmann Ford algorithm returns ..... value.

Boolean | |

Integer | |

String | |

Double |

**Aptitude Questions answers**

Question 1 Explanation:

The Bellmann Ford algorithm returns Boolean value whether there is a negative weight cycle that is reachable from the source.

Question 2 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER] |

Bellmann ford algorithm provides solution for ..... problems.

All pair shortest path | |

Sorting | |

Network flow | |

Single source shortest path |

**Aptitude test Questions answers**

Question 2 Explanation:

Bellmann ford algorithm is used for finding solutions for single source shortest path problems. If the graph has no negative cycles that are reachable from the source then the algorithm produces the shortest paths and their weights.

Question 3 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER] |

Bellmann Ford algorithm is used to indicate whether the graph has negative weight cycles or not.

True | |

False |

**Aptitude test Questions answers**

Question 3 Explanation:

Bellmann Ford algorithm returns true if the graph does not have any negative weight cycles and returns false when the graph has negative weight cycles.

Question 4 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER] |

How many solution/solutions are available for a graph having negative weight cycle?

One solution | |

Two solutions | |

No solution | |

Infinite solutions |

**Biology Questions answers**

Question 4 Explanation:

If the graph has any negative weight cycle then the algorithm indicates that no solution exists for that graph.

Question 5 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER] |

What is the running time of Bellmann Ford Algorithm?

O(V) | |

O(V ^{2}) | |

O(ElogV) | |

O(VE) |

**Aptitude Questions answers**

Question 5 Explanation:

Bellmann Ford algorithm runs in time O(VE), since the initialization takes O(V) for each of V-1 passes and the for loop in the algorithm takes O(E) time. Hence the total time taken by the algorithm is O(VE).

Once you are finished, click the button below. Any items you have not completed will be marked incorrect.

There are 5 questions to complete.