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

CS6515 Exam 2

Quiz
•
Other
•
University
•
Medium
Sarah Reid
Used 56+ times
FREE Resource
45 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
True
False
Answer explanation
FALSE. Any unique heaviest edge that is not part of a cycle must be in the MST. A graph with one edge is a counterexample.
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
If G has a cycle with a unique heaviest edge e, then e cannot be part of any MST.
True
False
Answer explanation
TRUE. An MST has no cycles, so at least one edge of the cycle e' is not in an MST T. If e' != e then we could swap e' for e in T and get a lighter spanning tree.
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Let e be any edge of minimum weight in G. Then e must be part of some MST
True
False
Answer explanation
TRUE. An edge of minimum weight is trivially the minimum weight edge of some cut.
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
If the lightest edge in a graph is unique, then it must be part of every MST.
True
False
Answer explanation
TRUE. If the lightest edge is unique, then it is the lightest edge of any cut that separates its endpoints.
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
If e is part of some MST of G, then it must be a lightest edge across some cut of G
True
False
Answer explanation
TRUE. If there were a lighter edge e' across some cut of G, then we could replace e with e' and obtain a smaller MST.
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
If G has a cycle with a unique lightest edge e, then e must be part of every MST.
True
False
Answer explanation
FALSE. The dashed edge with weight 5 is not part of the MST, but is the lightest edge in the left cycle.
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
The shortest-path tree computed by Dijkstra's algorithm is necessarily an MST.
True
False
Answer explanation
FALSE. Dijkstra's algorithm will use the heaviest edge of a cycle if it is on the shortest path from the start s to a node t.
Create a free account and access millions of resources
Similar Resources on Quizizz
40 questions
Cosmo1D3L2 - Adjectifs caractéristiques de personne

Quiz
•
KG - Professional Dev...
50 questions
Hello CNXHKH GK Part-1

Quiz
•
University
50 questions
FONÉTICA Y FONOLOGÍA (PRÁCTICA PARA EL EXAMEN)

Quiz
•
University
50 questions
LSĐ ( 201 - 250)

Quiz
•
University
50 questions
LSĐ ( 101 - 150 )

Quiz
•
University
45 questions
Tsukunomey

Quiz
•
University
50 questions
Mock Exam

Quiz
•
University
47 questions
Final Theory Exam Review

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade