spanning tree implemented by a min priority queue if it is executed on unconnected graphs what will it execute? I thought it won't execute since it is unconnected but since it is being implemented by min priority queue, will that affect the results?
It would generate the MST for the component of the graph which the MST algorithm starts at, leaving the unconnected components untouched.