CS33211 "Operating Systems" HOMEWORK #1 Due in class 9/30/2004 You are expected to provide clear, focused and convincing answers to the questions. One line answers are probably too short and multiple page answers are unnecessary. No additional credit will be given for lengthy answers and too long answers may be penalized. In your answers you should convince me that you understand the material, therefore, simply copying from the textbook or class handouts would not suffice. Use your own words. The numbers in parenthesis refer to exercises in "Operating System Concepts" (OSC) textbook. Each question is worth 3 points. 1. (OSC 2.8) Protecting the operating system ... 2. What is called a kernel? How and for what is it used? Explain the difference between switching from kernel mode to user mode and context switch. A user presses a button in a netscape's window while the CPU is executing a compiler process. Provide a sequence of events (context switches, mode switches system calls, etc.) that follows. 3. (OSC 3.16) The experimental Synthesis ... 4. (OSC 5.3) What are the differences ... 5. (OSC 5.7) Assume an operating system ... 6. (OSC 6.3) Consider the following set of processes ... 7. (OSC 6.4) Suppose that the following ... 8. (OSC 6.5) Consider a variant of the RR ... 9. (OSC 6.9) Suppose that a scheduling ... 10. Suppose a process releases a resource for which several processes are waiting. When is it preferable to wake up all such processes, when is it better to wake only one? If waking just one process, how should that process be chosen?