Q2.Which of the following statement (s) is/are correct regarding Bellman-Ford shortest path algorithm?
P. Always find a negative weighted cycle, if one exists.
Q. Finds whether any negative weighted cycle is reachable from the source.
Answer : Option BExplaination / Solution: No Explaination.
Q5. One of the purposes of using intermediate code in compilers is to
Answer : Option CExplaination / Solution:
Intermediate code is machine independent code which makes it easy to retarget the compiler
to generate code for newer and different processors.