CS350 Quiz: CS350-course-review

310 views6 pages

Document Summary

Note: these are interesting questions to test your general knowledge. Some might be similar to short exam questions but most exams also use longer form questions. Also note that question styles can vary each term. Describe them: de ne the kernel of the os. De ne quantum: describe what happens when an interrupt occurs. Give pros and cons of disabling interrupts: describe peterson"s algorithm. How are they used in conjunction with locks: what are the di erences between mesa-style cvs and hoare-style cvs, describe, at a high level, what a monitor does. How can we simulate their behaviour in c: de ne deadlock. What about the converse of this: give the deadlock detection algorithm, and describe the three deadlock prevention methods discussed in class. And exception and a interrupt: the mips trap function is called to handle system calls, exceptions, and interrupts.