This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: CS 3204 Operating Systems Midterm Spring 2004 1 V I R G I N I A P O L Y T E C H N I C I N S T I T U T E A N D S T A T E U N I V E R S I T Y U T P R O S I M Instructions: • Print your name in the space provided below. • This examination is closed book and closed notes. No calculators or other computing devices may be used. • Answer each question in the space provided. If you need to continue an answer onto the back of a page, clearly indicate that and label the continuation with the question number. • If you want partial credit, justify your answers, even when justification is not explicitly required. • There are xx questions, priced as marked. The maximum score is 100. • When you have completed the test, sign the pledge at the bottom of this page and turn in the test. • Note that either failing to return this test, or discussing its content with a student who has not taken it is a violation of the Honor Code. Do not start the test until instructed to do so! N a m e printed Pledge: On my honor, I have neither given nor received unauthorized aid on this examination. signed CS 3204 Operating Systems Midterm Spring 2004 2 1. [10 points] Consider two processes, P1 and P2, on a multi-tasking operating system with a single CPU. In each of the following situations would it be preferable for the OS to force a context switch and schedule another process? following situations would it be preferable for the OS to force a context switch and schedule another process?...
View Full Document
- Spring '08
- Operating Systems, Computer multitasking