praticemid1 - 15-750Midterm 1Page 1 of 915-750:Practice...

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

View Full Document Right Arrow Icon

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

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

Unformatted text preview: 15-750Midterm 1Page 1 of 915-750:Practice Midterm 1Name:Email:InstructionsFill in the box above with your name, and your email address.Do it, now!This exam is open book: That is, you may use two books(Kozen and CLRS), any handoutsfrom class, and your notes.Clearly mark your answers in the allocated space. If need be, use the back of a page for scratchspace. If you have made a mess, cross out the invalid parts of your solution, and circle the onesthat should be graded.Scan the test first to make sure that none of the 9 pages are missing. The problems are ofvarying difficulty, you might wish to pick off the easy ones first.With each problem requiring you to present an algorithm make sure include the following threebullets: Algorithm: Correctness: and Timing:You have 80 minutes. Good luck.1302303309015-750Midterm 1Page 2 of 9Problem 1:Finding the Closest Point to a Convex Body (30 pts)Suppose thatP={p1,...,pn}arenpoints on the plane that form a convex polygon andp1,...,pnis the counterclockwise order of the point onP. Further, letqis an arbitrary point on the plane.The goal of this problem is to find the closest point onPtoq. We assume that the polygonPisgiven in counterclockwise order. Observe that the closest point may be on a segment [pi,pi+1]....
View Full Document

Page1 / 9

praticemid1 - 15-750Midterm 1Page 1 of 915-750:Practice...

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

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