This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Page 1/10 University of California, Berkeley College of Engineering Computer Science Division – EECS Spring 2012 Anthony D. Joseph and Ion Stoica Midterm Exam March 7, 2012 CS162 Operating Systems Your Name: SID AND 162 Login: TA Name: Discussion Section Time: General Information: This is a closed book and one 2-sided handwritten note examination. You have 80 minutes to answer as many questions as possible. The number in parentheses at the beginning of each question indicates the number of points for that question. You should read all of the questions before starting the exam, as some of the questions are substantially more time consuming. Write all of your answers directly on this paper. Make your answers as concise as possible. If there is something in a question that you believe is open to interpretation, then please ask us about it! Good Luck!! QUESTION POINTS ASSIGNED POINTS OBTAINED 1 20 2 20 3 15 4 20 5 15 6 10 TOTAL 100 CS 162 Spring 2012 Midterm Exam March 7, 2012 Page 2/10 1. (20 points total) Short answer questions. a. (8 points) True/False and Why? CIRCLE YOUR ANSWER. i) A lightweight process with one thread is equivalent to a heavyweight process. TRUE FALSE Why? ii) Demand paging requires the programmer to take specific action to force the operating system to load a particular virtual memory page. TRUE FALSE Why? b. (8 points) Two-level Page Tables: i) Give a two to three sentence description of a two-level page table. ii) Briefly (2 sentences) state one advantage AND one disadvantage of two-level page tables. c. (4 points) List the four requirements for deadlock. CS 162 Spring 2012 Midterm Exam March 7, 2012 Page 2/10 1. (20 points total) Short answer questions. a. (8 points) True/False and Why? CIRCLE YOUR ANSWER....
View Full Document
- Spring '02
- Operating Systems, Virtual memory, access time, Translation lookaside buffer