CS560 Midterm Exam


Question 1

Explain what a time quantum is and why it is is important. Your explanation must address the following points:

Question 2

The code for kt_exit() and KtSched() from the Kthreads library is printed at the end of this exam (in kt.c). There are three longjmp() statements in this code. Explain the exact purpose of each of these longjmp() statements.

Question 3

Give good one-sentence definitions for each of the following terms: