Spring2011MidTerm_sol

Spring2011MidTerm_sol - CSE120 Midterm Exam– Fall 2010

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CSE120 Midterm Exam– Fall 2010 Name:_______________________ Department of Computer Science and Engineering, UCSD 1 University of California, San Diego Department of Computer Science of Engineering Midterm Examination 1 CSE120 Operating System Principals Spring, 2011 9:30-10:50am, May 2 nd Print your name and ID number neatly in the space provided below; print your name at the upper right corner of every page. Name: ID: Write your answers CLEARLY. The answer is wrong if the instructor and the TAs cannot read it. This exam has five questions worth a total of 100 points. You have approx. 80 minutes to complete the questions. As with any exam, you should read through the questions first and start with those that you are most comfortable with. If you believe that you cannot answer a question without making some assumptions, state those assumptions in your answer. Do all parts of all four problems in this booklet and a total of 11 pages. Do your work inside this booklet, using the empty page and backs of pages if needed. Problem Score Grader 1 /30 2 /28 3 /16 4 /14 5(project-related) /12 Total CSE120 Midterm Exam– Fall 2010 Name:_______________________ Department of Computer Science and Engineering, UCSD 2 1. Multi-Choice Questions (30 Points, 3 points each) 1. Given the following state transition diagram for processes, what are the correct labels for I, II, and III? A. I, Ready. II, Running. III, Blocked B. I, Running. II, Ready. III, Blocked C. I, Running. II, Blocked. III, Ready. D. I, Blocked. II, Ready. III, Running. E. I, Ready. II, Blocked. III, Running Your answer: [ C ] 2. Which of the following is not a function of an operating system? A. Generating interrupts B. Making the computer system convenient to use C. Manage I/O devices D. Protecting user programs from one another Your answer: [ A ] 3. Which of the following are shared among threads of the same process? I. Stack II. Signal handlers III. Address Space IV. Program Counter V. Global variables. A. II, III, and V B. III and V C. I, IV, and V D. I, II, III, and V E. I, III, and V Your answer: [ A ] The image cannot be displayed. Your computer may not have enough memory to open the image, or the image may have been corrupted. Restart your computer, and then open the fle again. IF the red x stil appears, you may have to delete the image and then insert it again. CSE120 Midterm Exam– Fall 2010 Name:_______________________ Department of Computer Science and Engineering, UCSD 3 4. Which of the following scheduling algorithms can suffer from starvation? 1. FIFO 2. Round-Robin 3. Shortest-Job-First a) only 1 b) only 2 c) only 3 d) 1 and 2 e) 2 and 3 Your answer: [ C ] 5. Which of the following may be executed in user mode?...
View Full Document

This note was uploaded on 02/26/2012 for the course CSE 120 taught by Professor Staff during the Spring '08 term at UCSD.

Page1 / 11

Spring2011MidTerm_sol - CSE120 Midterm Exam– Fall 2010

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online