Synopsys Interview Question

How to get a spanning tree for undirected graph? How to get a minimum spanning tree?