Operating Systems (CS 377):
Homework 1

Due: Sept 24, 2002 23:59

What to Hand In

Everyone must hand in their own work. Place in your Hand-In directory (/courses/cs300/cs377/UID/hw1) an ASCII file (i.e., raw text) called "README" that contains your name, user id, and answers to the questions listed below. If you use a non-ASCII editor (e.g., MSword), please make sure that you save your final file in ASCII format. In MSword, there is a 'save text' option in the save dialog box. You can check the format on the linux side by using the shell commands 'cat', 'more', or 'less'. Answers need not be more than a few sentences.

Q1. How does the operating system respond to an interrupt?

Q2. When will a system call be invoked? Enumerate the possible system calls that a program makes when it must append the time of day to a file at regular, 10-second intervals.

Q3. What properties do you think that a distributed OS should have beyond a uniprocessor system? List at least 3.

Q4. What is the distinction between a Trap and an Interrupt?

Q5. Why is memory protection important? How might it be implemented at the architectural level? And when might it be undesirable?

Q6. List the pros and cons of including a database management system in the operating system.

Q7. List the pros and cons of timesharing.


fagg@cs.umass.edu

Last modified: Fri Sep 13 09:46:29 2002