• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 3 pages
Exam (elaborations)

CS6515 Exam 2 || 100% Error-free Answers.

Document preview thumbnail
Preview 1 out of 3 pages

CS6515 Exam 2 || 100% Error-free Answers.

Content preview

CS6515 Exam 2 || 100% Error-free Answers.
If graph G has more than |V | − 1 edges, and there is a unique heaviest edge, then this edge
cannot be part of a minimum spanning tree correct answers False, because the unique heaviest
edge may not be part of a cycle

If G has a cycle with a unique heaviest edge e, then e cannot be part of any MST. correct answers
True, if the unique heaviest edge is part of a cycle then it will be removed first.

Let e be any edge of minimum weight in G. Then e must be part of some MST. correct answers
True, in order create the MST we use the edges with minimum weight.

If the lightest edge in a graph is unique, then it must be part of every MST. correct answers True,
we always choose the lightest edge when building the MST.

If e is part of some MST of G, then it must be a lightest edge across some cut of G. correct
answers True, due to cut property

If G has a cycle with a unique lightest edge e, then e must part of every MST. correct answers
False, lightest edge in a cycle may not be necessary to create an MST because the remaining
edges may be necessary to connect to the other vertices

The shortest-path tree computed by Dijkstra's algorithm is necessarily an MST correct answers
False, the shortest path may not visit all the nodes in the MST tree

The shortest path between two nodes is necessarily an MST correct answers False, the shortest
path between two nodes may not visit all the nodes in that make up an MST

If G contains an r-path from node s to t, then every MST of G must also contain an r-path from
node s to node t.
For any r > 0, an r-path is a path whose edges all have weight < r. correct answers True, if an r-
path exists between s and t then we are guaranteed to get either this path or another r-path with
weight < this r-path in the MST

What is the input for DFS? correct answers Directed or undirected graph

What is the output for DFS? correct answers Pre/post/ccnum

What information can you get from post numbers? correct answers In a directed graph, highest
post numbers are sinks and lowest post numbers are sources

What information can you get from ccnum? correct answers Connected components (undirected)
or SCCs (directed)

What is the input for Explore? correct answers Directed or undirected graph, start vertex v

Document information

Uploaded on
March 4, 2026
Number of pages
3
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$10.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
SirAnton
3.7
(118)
Sold
807
Followers
438
Items
40070
Last sold
1 week ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions