Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

CS6515 EXAM 2 2026/2027 ACTUAL QUESTIONS WITH VERIFIED ANSWERS.

Rating
-
Sold
-
Pages
21
Grade
A+
Uploaded on
22-05-2026
Written in
2025/2026

CS6515 EXAM 2 2026/2027 ACTUAL QUESTIONS WITH VERIFIED ANSWERS.

Institution
CS6515
Course
CS6515

Content preview

CS6515 EXAM 2 2026/2027
ACTUAL QUESTIONS WITH
VERIFIED ANSWERS.

Augmenting Path - correct answer-A path that exists on the
residual graph from s -> t.


This type of path implies there exists more flow that can be
pushed through the graph.


This occurs when there exists a path through which the
minimum residual capacity F among all edges in the path is
greater than 0.




When is a flow a max flow - correct answer-When there is no
augmenting path in the residual graph




Size(flow) = - correct answer-F_out(L) - f_in(L)




How to construct a min cut - correct answer-- construct a max
flow

,- set L to be those vertices reachable from s in the residual
graph
- This st cut then has a capacity equal to the max flow
- maxflow = mincut




Ford-Fulkerson vs Edmonds-Karp - correct answer-FF:
- Finds augmenting paths using DFS or BFS
- O(mC) time, where C is the size of the max flow
- assumes integer capacities
- capacities cannot be infinity


EK:
- Finds augmenting paths using BFS (is an example of FF)
- O(nm^2)
- No assumptions on integer capacities
- Only requires positive capacities




Edmonds-Karp Number of rounds is at most - correct answer--
mn
- Every round residual graph changes by > 1 edge
- Lemma: all edges are deleted/inserted later < n/2 times
- Since m edges, total rounds < nm/2

, BFS Levels - correct answer-- Minimum number of edges from
s to some vertex
- They never decrease in residual network, can only increase
- If we delete an edge and add it back it will increase by at least
2
- Thus, since there are n levels, the maximum number of times
we can delete and add back an edge is n/2




Adding/Removing an Edge to G^f implies - correct answer--
Add: if add y->z, then edge z->y must be on augmenting path
- Remove y ->z, then edge y ->z must be on augmenting path




How to topologically sort a DAG - correct answer-Sort vertices
by decreasing post-order #




Post-order # Properties for DAG - correct answer-- highest post
order # is source
- lowest post order # is sink (this is not always true for general
directed graphs but is always true for DAGs)

Written for

Institution
CS6515
Course
CS6515

Document information

Uploaded on
May 22, 2026
Number of pages
21
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$17.49
Get access to the full document:

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


Also available in package deal

Thumbnail
Package deal
CS6515 EXAMS PACKAGE DEAL 2026/2027 ACTUAL QUESTIONS WITH VERIFIED ANSWERS.
-
5 2026
$ 25.99 More info

Get to know the seller

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.
Savvynurse Chamberlain College of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
247
Member since
2 year
Number of followers
7
Documents
7803
Last sold
1 week ago
ONESTOP EXAM SHOP

YOU WANT AN EXAM - I GOT YOU. Why choose us? ☑️ Committed to your SATISFACTION. ☑️ Competitive pricing ☑️ Guaranteed EXCELLENCE! Feel welcome to contact us. BUY DOUBT FREE!!!!

3.6

57 reviews

5
26
4
5
3
15
2
2
1
9

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