
CS6515 Exam 2
Quiz
•
Other
•
University
•
Practice Problem
•
Medium
Sarah Reid
Used 57+ times
FREE Resource
Enhance your content in a minute
45 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
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
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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
50 questions
SAS GANJIL INFORMATIKA KELAS 7
Quiz
•
2nd Grade - University
50 questions
FINAL EXAM: LIVING IN THE IT ERA
Quiz
•
University
50 questions
UAS BAHASA INDONESIA
Quiz
•
University
40 questions
40 CONCENTRACION SEGUNDO SIMULACRO
Quiz
•
University - Professi...
49 questions
HVAC 50 QUESTION ESCO TEST
Quiz
•
University
40 questions
Examen de Especialidad Herencia de los Pioneros Adventistas
Quiz
•
5th Grade - University
40 questions
Quiz de 40 questions sur le Brevetage des Inventions
Quiz
•
University
50 questions
Philippine Electrical Code (Subject 6) - Nth
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Other
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University
