CSE 120: Principles of Operating Systems (Winter 06)
Lectures: Mon/Wed 5:00-6:20, CSB 002
Discussion: Mon 10:00-10:50, Center 212
This is an introductory course on the principles of operating systems.
Topics include processes, scheduling, synchronization, memory management,
virtual memory, file systems, protection, and security.
Message of the Day
3/23: Please bring your UCSD Student ID card to the final, so that we may verify that you are enrolled in the class. Thank you.
Webboard
We encourage you to use
webboard
for posting your questions, answers, comments, ideas, etc., about the course so
that all may benefit.
Lectures
Lecture Schedule and Book Correspondence
- Jan 9/11: Chapters 1, 2, 3, 4 (Introductory material, Processes, Threads)
- Jan 16: Chapter 5 (CPU Scheduling)
- Jan 23/25: Chapters 6, 3 (Process Synchronization, IPC)
- Jan 30/Feb 1: Chapters 7, 8 (Deadlock, Main Memory)
- Feb 6/8/15: Chapters 8, 9 (Main Memory, Virtual Memory)
- Feb 22/27/29: Chapters 10, 11, 13 (File System, I/O System)
Homework Exercises
To prepare your homework for submission:
-
Write your answers in a simple ascii text file with the name hwkN, where N is the homework assignment number (e.g., the third one will be "hwk4").
-
Run the turninhomeworkN program (e.g., turninghomework4 for hwk4), which will search for the file hwkN in the directory from which it is run and then will submit your homework for grading.
-
Make sure you follow this naming convention, otherwise the graders will not receive your homework.
Assignments
- Homework 1 (due Sunday 1/22, 12:00 midnight):
1.1, 1.2, 1.3, 1.4, 1.10, 1.11, 1.12, 1.13,
2.1, 2.2, 2.7, 2.9,
3.2, 3.4, 4.1, 4.2, 4.3, 4.4, 4.5, 4.8
- Homework 2 (due Sunday 1/29, 12:00 midnight):
5.1, 5.2, 5.3, 5.4 (b, c, d), 5.5, 5.7, 5.10, 6.3, 6.4, 6.5, 6.6, 6.7, 6.9, 6.16, 6.17
- Homework 3 (due Tuesday 2/7, 12:00 midnight):
7.1, 7.2, 7.3, 7.5, 7.11, 8.1, 8.2, 8.3
- Homework 4 (due Friday 3/3, 12:00 midnight):
9.10, 9.17, 10.1, 10.6, 11.1, 11.2, 11.3, 11.8
Programming Assignments
- Programming Assignment #4, due Sunday March 19 at midnight.
To install on your ieng9 account:
1. After you log in, run "prep cs120w" which configures your account for the class. You should always do this when doing CSE120 work.
2. Type "getprogram4". This will create a directory called pa4 and copy the relevant files into that directory.
3. To compile, type "make" (from within the p4 directory). This will compile all of the programs. You can compile a particular program by specifying it as a parameter to make, e.g., "make p4a".
4. To turn in the assignment, make sure that your mythreads.c file that you
need to turn in is in the current directory and type "turninprogram4".
Administrative Matters
Instructor: Joseph Pasquale
EBU3b 3112
Office hours: Wednesdays 3:00-4:00 or by appointment
Staff: John Fisher-Ogden (TA)
johnfish@cs.ucsd.edu
Office hours: Wed 1-2, Fri 2-3, EBU3b B225
AfmZakaria Haque (TA)
ahaque@cs.ucsd.edu
Office hours: Tue 12-1, Thu 5:30-6:30, EBU3b B225
Grading: 40% Final exam (Thursday, March 23, 7-10pm)
25% Midterm exam (Monday, February 13)
10% Homework assignments
25% Programming assignments
Book: Operating System Concepts, 7th Edition
Silberschatz, Galvin, Gagne
Wiley, 2005