Fa05 midterm 2-solutions - University of California,...

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

View Full Document Right Arrow Icon
Page 1/17 University of California, Berkeley College of Engineering Computer Science Division EECS Fall 2005 John Kubiatowicz Midterm II SOLUTIONS December 5 th , 2005 CS162: Operating Systems and Systems Programming Your Name: SID Number: Circle the letters of CS162 Login First: a b c d e f g h I j k l m n o p q r s t u v w x y z Second: a b c d e f g h I j k l m n o p q r s t u v w x y z Discussion Section: General Information: This is a closed book exam. You are allowed 1 page of hand-written notes (both sides). You have 3 hours to complete as much of the exam as possible. Make sure to read all of the questions first, 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. On programming questions, we will be looking for performance as well as correctness, so think through your answers carefully. If there is something about the questions that you believe is open to interpretation, please ask us about it! Problem Possible Score 1 20 2 20 3 20 4 20 5 20 Total
Background image of page 1

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

View Full DocumentRight Arrow Icon
CS 162 Fall 2005 Midterm Exam II December 5 th , 2005 Page 2/17 [ This page left for π ] 3.141592653589793238462643383279502884197169399375105820974944
Background image of page 2
CS 162 Fall 2005 Midterm Exam II December 5 th , 2005 Page 3/17 Problem 1: True/False In the following, it is important that you EXPLAIN your answer in TWO SENTENCES OR LESS (Answers longer than this may not get credit!). Also, answers without an explanation GET NO CREDIT. Problem 1a[2pts]: In a modern operating system using memory protection through virtual memory, the hardware registers of a memory-mapped I/O device can only be accessed by the kernel. True / False Explain: Problem 1b[2pts]: Using the TCP/IP protocol over an unreliable network, the receiver can receive the same IP packet multiple times. True / False Explain: Problem 1c[2pts]: With the NFS distributed file system, it is possible for one client to write a value into a file that is not seen by another client when reading that file. True / False Explain: Problem 1d[2pts]: The fastest way to send a large document securely to a third party that you have not interacted with yet is to encrypt it with their public key. Assume you know everyone’s public key. True / False Explain: Problem 1e[2pts]: The IP-v4 standard permits 2 32 different hosts to talk directly with one another without requiring any network address translation. True / False Explain: The kernel can map the I/O space of the device into the memory space of a user program, thereby allowing user threads to access the device. If an ACK is lost, the sender must assume that the packet could have been lost. As a result, it will resend the packet.
Background image of page 3

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

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

This homework help was uploaded on 01/30/2008 for the course CS 162 taught by Professor Kubiatowicz during the Fall '02 term at University of California, Berkeley.

Page1 / 16

Fa05 midterm 2-solutions - University of California,...

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