








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Exam; Class: Theory of Computation; Subject: Computer Science; University: University of Illinois - Urbana-Champaign; Term: Spring 2003;
Typology: Exams
1 / 14
This page cannot be seen from the preview
Don't miss anything!









This is a closed-book, closed-notes, open-brain exam. If you brought anything with you besides writing instruments and your handwritten 8 12 ′′^ × 11 ′′^ cheat sheet, please leave it at the front of the classroom.
Print your name, netid, and alias in the boxes above. Circle U if you are an undergrad, or G if you are a grad student. Print your name at the top of every page (in case the staple falls out!).
The last few pages of this booklet are blank. Use that for a scratch paper. Please let us know if you need more paper.
If your cheat sheet if not hand written by yourself, or it is photocopied, please do not use it and leave it in front of the classroom.
Please submit your cheat sheet together with your exam. An exam without your cheat sheet attached to it will not be checked.
If you are NOT using a cheat sheet you should indicate it in large friendly letters on this page.
The total number of points given for \I dont know" answers, will not exceed 10.
Time limit: 75 minutes.
Relax. The semester is almost over...
A. [15 Points] Formulate this problem as a network ow problem. B. [10 Points] Write an algorithm for this problem and analyze its running time.