CS70_Exam%202%20Summer%202007%20Solution

CS70_Exam%202%20Summer%202007%20Solution - CS570 Analysis...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
CS570 Analysis of Algorithms Summer 2007 Exam 2 Name: _____________________ Student ID: _________________ Maximum Received Problem 1 10 Problem 2 20 Problem 3 20 Problem 4 10 Problem 5 20 Problem 6 20 Note: The exam is closed book closed notes.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
1) 10 pts Mark the following statements as TRUE or FALSE . No need to provide any justification. True [ TRUE/FALSE ] Binary search could be called a divide and conquer technique False [ TRUE/FALSE ] If you have non integer edge capacities, then you cannot have an integer max flow Ture [ TRUE/FALSE ] The Ford Fulkerson algorithm with real valued capacities can run forever Ture [ TRUE/FALSE ] If we have a 0-1 valued s-t flow in a graph of value f, then we have f edge disjoint s- t paths in the graph Ture [ TRUE/FALSE ] Merge sort works because at each level of the algorithm, the merge step assumes that the two lists are sorted
Background image of page 2
2) 20pts Prove or disprove the following for a given graph G(V,E) with integer edge capacities Ci a. If the capacities on each edge are unique then there is a unique min cut Disprove : b. If we multiply each edge with the same multiple “f”, the max flow also gets multiplied by the same factor Prove: For each cut (A, B) of the graph G, the capacity c(A, B) will be multiplied by “f”
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/28/2009 for the course CSCI 570 taught by Professor Shamsian during the Spring '06 term at USC.

Page1 / 8

CS70_Exam%202%20Summer%202007%20Solution - CS570 Analysis...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online