Princeton University
Computer Science Department

Computer Science 318
Operating Systems

Jaswinder P. Singh

Fall 2019


Directory
General Information | Schedule | Projects | Policies

Projects

We believe that the only way to master the knowledge of operating systems is to build a real operating system kernel. The six projects in this course are designed to do exactly that. At the end of the class, you will have a small, real operating system kernel. This set of projects was co-developed with colleagues at University of Tromsø in Norway and has been used in other institutions such as Yale.

Students will be paired in working groups for the first five projects. You will be regrouped after three projects in order to give you a chance to work with another person for the next two projects. You will be working alone on the last project.

Each project has two grading phases: design review and final submission. The goal of design review is to help you start early so our TAs can point out potential mistakes as early as possible. We want to make sure that you can finish the project before it's due so you have time to catch and resolve design errors and avoid frustrating last minute debugging. We don't mind mistakes at this stage; we encourage them. For design review, you should have seriously thought about all aspects of the project so you have a clear idea of what you are going to do. It is a good idea to have started some coding at this stage and for you to have investigated what tools will be necessary and have them working. When you meet with one of us TAs, please be prepared to answer the assigned questions. Your design review will be graded from 0 to 5 points. To conduct a graded design review, each working group or student will meet with a TA for 10 minutes no later than five days before the project is due.

The final submission will be done online, following the specific instructions in each project description. You should include a small README file with your project submission. You should concisely describe your design and implementation. Also, you need to describe what parts work and what parts don't; and how to compile and run your program (if you are not using the Makefile we provided). You don't have to repeat anything you presented in the design review. The TAs will grade the project without correcting your code.

Normally, we will give the same grade to both students in a working group. If one of the students feels that the other student did more work and deserves more credit, please inform the TA who is in charge of the project by e-mail.

Project 1: Bootloader

Monday 9/16 & Tuesday 9/17, 7:30pm - 8:20pm x86 Assembly Tutorial
Monday 9/23 & Tuesday 9/24, 3:00pm - 7:00pm Design Review
Monday 9/23 & Tuesday 9/24, 7:30pm - 8:20pm Precept 1
Sunday 9/29, 11:55pm Project 1 due

Project 2: Non-Preemptive Kernel

Monday 10/07 & Tuesday 10/08, 3:00pm - 7:00pm Design Review
Monday 9/30 & Tuesday 10/01, 7:30pm - 8:20pm Precept 2
Sunday 10/13, 11:55pm Project 2 due

Project 3: Preemptive Scheduler

Monday 10/21 & Tuesday 10/22, 3:00pm - 7:00pm Design Review
Monday 10/14 & Tuesday 10/15, 7:30pm - 8:20pm Precept 3
Sunday 11/03, 11:55pm Project 3 due

Project 4: Inter-Process Communication and Process Management

Monday 11/11 & Tuesday 11/12, 3:00pm - 7:00pm Design Review
Monday 11/04 & Tuesday 11/05, 7:30pm - 8:20pm Precept 4
Sunday 11/17, 11:55pm Project 4 due

Project 5: Virtual Memory

Monday 11/25 & Tuesday 11/26, 3:00pm - 7:00pm Design Review
Monday 11/18 & Tuesday 11/19, 7:30pm - 8:20pm Precept 5
Sunday 12/15, 11:55pm Project 5 due

Project 6: File System

Monday 12/09 & Tuesday 12/10, 7:30pm - 8:20pm Precept 6
Dean's Date 1/14, 5:00pm Project 6 due