A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. Let G = (V, E) be an undirected graph with a subgraph G1 = (V1, El). Weights are assigned to edges of G as follows :
A single-source shortest path algorithm is executed on the weighted graph (V, E, w) with an arbitrary vertex ν1 of V1 as the source. Which of the following can always be inferred from the path costs computed?
a. The number of edges in the shortest paths from ν1 to all vertices of G
b. G1 is connected
c. V1 forms a clique in G
d. G1 is a tree
Answer:G1 is connected
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here

Similar Questions: