
Introduction to Algorithms March 3, 2004
Massachusetts Institute of Technology 6.046J/18.410J
Professors Erik Demaine and Shafi Goldwasser Practice Quiz 1
Practice Quiz 1
๎
Do not open this quiz booklet until you are directed to do so. Read all the instructions first.
๎
When the quiz begins, write your name on every page of this quiz booklet.
๎
The quiz contains five multi-part problems. You have 80 minutes to earn 80 points.
๎
This quiz booklet contains 13 pages, including this one. An extra sheet of scratch paper is
attached. Please detach it before turning in your quiz.
๎
This quiz is closed book. You may use one handwritten A4 or
๎๎๎
๎๎๎
๎
๎๎๎๎๎๎
๎
๎
crib sheet. No
calculators or programmable devices are permitted.
๎
Write your solutions in the space provided. If you need more space, write on the back of the
sheet containing the problem. Do not put part of the answer to one problem on the back of
the sheet for another problem, since the pages may be separated for grading.
๎
Do not waste time and paper rederiving facts that we have studied. It is sufficient to cite
known results.
๎
Do not spend too much time on any one problem. Read them all through first, and attack
them in the order that allows you to make the most progress.
๎
Show your work, as partial credit will be given. You will be graded not only on the correct-
ness of your answer, but also on the clarity with which you express it. Be neat.
๎
Good luck!
Problem Points Grade Initials
1 11
2 19
3 10
4 20
5 20
Total 80
Name: Solutions
Circle your recitation letter and the name of your recitation instructor:
Brian 11 12 2 Jen 12 1