CS 470 - Operating Systems
MWF 2, KC-136
Announcements
These are announcements made in class or via email currently in effect
for this course.
Wednesday, April 2, Re: Case Study schedule
The case studies presentations have been scheduled as follows:
- Monday, April 21
- MS DOS/Win 3.1 - Jeremy Cocco, Chris Kilgore
- Win 95/98 - Andrew Allgeier, Evan Jones
- Wednesday, April 23
- Win CE/Mobile - Billy Rickey, Stuart Rose
- VxWorks - Jay Bhayani, Sean Franey
- Friday, April 25
- Multics - David Houngninou, Michael Zlatkovsky
- BeOS - Travis Harpeneau, Scott Williamson
Reminder: Outline with references due no later than two weeks before
presentation. Paper drafts due no later than one week before presentation.
Monday, February 18, Re: Today's (non)class and Homework 4
I apologize for being so late for class today that nearly everyone had left.
(I was coding and lost track of time. I'm sure you know how that goes. :-)
As a result, no class was held and Homework 4 is now due on Friday, February
22.
However, please be aware that there always is class unless you have been
informed by me via email or there's a written note from Vicky taped to the
door. If I'm not there by 2:05pm someone should come to my office to get
me.
Monday, February 18, Re: Thread Synchronization Project
I forgot to put in two additions to the project into the assignment sheet.
1. There should be output similar to the process synchronization example
shown in class that indicates when a thread is attempting to gain a
semaphore and when it releases a semaphore.
2. Both the producer and the consumer threads should be passed the
loop index number when it is created so that the output indicates
which thread produced or consumed an item. I.e., the output of the
project should say something like "Producer < # > produced <
value >" and "Consumer < # > consumed < value >". Note
that the parameter is a char*, so you'll have to convert an int to a
char*. The easiest way to do this is to use sprintf() in C or an
ostringstream in C++.
Links
Links that may be of interest for this course.
Handouts
This is a list of documents and assignments posted for this class in
reverse chronological order. Most are available only on the Web.
Some were also handed out in class. A few are hard copies only.
- Friday, April 25
- Final Exam Review Sheet (HTML) (PDF)
- Wednesday, April 9
- Homework 8 (25 points):
- Problem 12.1 on page 489.
- Problem 12.2 on page 489-490.
- Problem 13.3 on page 526.
- Explain the difference between protection and security
in an operating system. Give an example of a
violation of each and give a scheme to prevent each
violation. Explain how the schemes prevent the
violations.
- Discuss several weaknesses inherent in password protection
schemes. Describe the guidelines that you
follow in choosing your passwords. (Be sure
not to give your current password!) Discuss whether
your guidelines make your passwords more or less
secure.
Due: April 16
- Wednesday, April 2
- Homework 7 (25 points):
- Problem 10.1 on page 408.
- Problem 10.4 on page 408.
- Problem 10.6 on page 408.
- Problem 11.1 on page 447.
- Problem 11.6 on page 448.
Due: April 9
- Wednesday, March 19
- Monday, March 10
- Homework 6 (20 points):
- Problem 9.5 on page 366
- Problem 9.10 on pages 367-368. (note: f-h is on the second page)
- Problem 9.14 on page 368
- Problem 9.15 on page 368
Due: March 19
- Memory Management Project (HTML) (PDF)
- Friday, February 22
- Case study guidelines (HTML) (PDF)
- Homework 5 (20 points):
- Problem 8.3 on page 310
- Problem 8.5 on page 311
- Problem 8.9 on page 311
- Problem 8.12 on page 312
Due: March 10 - Monday after spring break
- Friday, February 15
- Thread Synchronization Project (HTML) (PDF)
- Wednesday, February 13
- Homework 4 (25 points):
- Problem 4.7 on page 147, explain why the output is what it is
- Problem 7.1 on page 268
- Problem 7.5 on page 269
- Problem 7.6 on page 269
- Problem 7.11 on page 270
Due: February 20. Extended to February 22
- Monday, February 11
- Code used in lecture. Also available on csserver in directory /home/hwang/cs470/lecture14
- Monday, February 4
- Wednesday, January 30
- Code used in lecture. Also available on csserver in directory /home/hwang/cs470/lecture09
- Process Management Project (HTML) (PDF)
- Homework 3 (30 points):
- Problem 6.1 on page 231
- Problem 6.8 on page 233
- Problem 6.11 on page 233 using
semaphores (10 points) - by "write a program", we
mean write the pseudocode for a program in the style of the
textbook (also for the monitor problem below)
- Problem 6.22 on page 234
- Problem 6.27 on page 235
Due: February 13 (after Exam 1)
- Wednesday, January 23
- Homework 2 (20 points):
- Problem 5.2 on page 186
- Problem 5.4 on page 187
- Problem 5.7 on page 188
- Problem 5.9 on page 188
Due: January 30
- Wednesday, January 16
- Code used in lecture. Also available on csserver in directory /home/hwang/cs470/lecture04
- Homework 1 (20 points):
- Problem 1.17 on pages 37-38 (note: f-i are on the second page)
- Problem 3.1 on page 116
- Problem 3.2 on page 116
- Problem 3.4 on page 117. Also explain why the output is what it is at Line A
Due: January 23
- Monday, January 14
- Code used in lecture. Also available on csserver in directory /home/hwang/cs470/lecture03
- Shell Project (HTML) (PDF)
- Wednesday, January 9