



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




CS 162, Spring, 2007 Prof. Alan Jay Smith Midterm 1, Wednesday, February 28, 2007
A. What is the SRPT algorithm and how does it work? (6)
B. By what metric is it optimal? (6)
C. Explain in some plausible manner (don’t try to give us any sort of mathematical proof) why it is optimal according to the metric. (6)
Process has_X max_need_X has_Y max_need_Y 1 3 10 2 4 2 0 6 6 7 3 5 5 2 6 4 1 2 5 5