aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Computer Science (GATE Exam) 2009 - Previous Question Paper Solution
  • Which of the following statement(s) is / are correct rega...
Multiple choice

Which of the following statement(s) is / are correct regarding Bellman-Ford shortest path algorithm? P. Always finds a negative weighted cycle, if one exists. Q. Finds whether any negative weighted cycle is reachable from the source.

  1. P only

  2. Q only

  3. both P and Q

  4. Neither P nor Q

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Keep practicing — related questions

  • What is the time complexity of Bellman-Ford single-source shortest path algorithm on a complete graph of n ...
  • Compared to a p-n junction with NA=ND=1014/cm3, which one of the following statements is TRUE for a p-n jun...
  • Which of the following statements are TRUE? I. There exist parsing algorithms for some programming language...
  • To implement Dijkstra's shortest path algorithm on un weighted graphs so that it runs in linear time, the d...
  • The subset-sum problem is defined as follows: Given a set S of n positive integers and a positive integer W...
  • Which of the following statements is/are correct for static method in Java? A. Static methods are always pu...
  • Which of the following Boolean Expressions correctly represents the relation between P, Q, R and M1? ![](ht...
  • Which of the following statements regarding the packages is correct in Java?
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy