Description

This is an introductory course on the principles of operating systems. Topics include processes, scheduling, synchronization, memory management, virtual memory, file systems, I/O, protection, security, networking, and distributed systems. There is a significant systems programming component to the course, where students are required to design and implement some basic kernel functions (context switching, scheduling, synchronization) and a user-level thread package. The course is organized of the following:

• Lectures: the lectures comprise the core material, and are based on the instructor's lecture notes that are provided to the students
• Discussion: the discussion sections are led by the TA, and may be organized as discussions on specific topics or question/answer sessions
• Readings: the readings in the textbook supplement the lecture notes
• Labs: there are four lab programming assignments (in C) using Umix, a Unix-based user-mode operating system
• Exams: there is a midterm exam and a final exam (both closed-book) covering the material in the lectures and the labs

General Information

Lecture Locations and Times
- Section A: Mon/Wed 5:00-6:20, CENTR 214
- Section B: Mon/Wed 6:30-7:50, CENTR 214
Discussion Locations and Times
- Section A: Fri 12:00-12:50, CENTR 105
- Section B: Fri 1:00-1:50, CENTR 109
Grading
- 30% Midterm exam
- 40% Final exam
- 30% Programming assignments (four, each worth: 10%, 20%, 30%, 40%)
References
Lecture notes (available in Resources, see above)
Textbook: Operating System Concepts, 9th Ed., by Silberschatz, Galvin, Gagne; Wiley, 2013 (8th ed. is also perfectly OK)

Announcements

Final exam grades to come mid week
3/15/15 11:19 PM

The scantrons have been submitted for grading, and we expect to get them back by the middle of this coming week (depends on how much work they have from other classes too).  We know you are anxious to find out, and so as soon as we get them back, we will post them immediately.

TA/Tutor Appreciation Thread
3/15/15 10:00 PM

I would like to thank all of our TAs and Tutors for the great work they did this quarter.  They went out of their way, often beyond the call of duty, to help despite that they have their own classes with projects and exams to deal with.  Please join me in thanking them!

Prof. Pasquale

PS: And please fill out the CAPE form for this class if you haven't done so already (before 8AM tomorrow/Monday morning when it closes)!

#pin

PA4 Grades are now available
3/15/15 4:57 PM

Hi all,

PA4 grades are now available in grade source. Please email me (weouyang@eng.ucsd.edu) if you have any question.

Good luck for the rest of your finals :)

Wenjia

CSE120_FinalReview.pdf has been added to class hHIomepage under Resources
3/12/15 11:27 PM

Hi all,

I have posted the slide of tomorrow's discussion(our final review) on Piazza, just in case that some of you want to preview it ahead. It might not be the final version and I will re-post it after the discussion tomorrow if I made any change. 

Thanks,

Wenjia

Title: CSE120_FinalReview.pdf
http://www.piazza.com/class_profile/get_resource/i4jim2koqa53ld/i7770wbw8851yf


You can view it on the course page: https://piazza.com/ucsd/winter2015/cse120/resources

 

Final Exam Info
3/06/15 6:34 PM

The final exam is on Saturday, March 14, 8:00AM-10:59AM, in Peterson Hall 108.  It will be multiple choice, like the midterm, with 40-60 questions.  You'll be given a scantron.  You need to bring a #2 pencil.  The final is closed book, closed notes.

A sample final is in the Resources section.

EDIT: Some more guidance on the final:  It will focus much more on post-midterm material than pre-midterm (like twice as much).  There will also be quite a few questions on PA3 and PA4 (with possibly a few on PA1 and PA2, but mostly the latter PAs).

EDIT: The sample final has been updated - some questions that focused on Lecture 14 (now not part of the final) were removed, and have been replaced with questions on material that is relevant for the final.

PA3 Grades are now available
3/04/15 3:49 AM

PA3 grades are now available in grade source. Please email me (vkirupan@eng.ucsd.edu) if you have any questions.

Change Office Hour
2/26/15 10:52 AM

Hi all,

I will change my regular Friday morning lab hours to Thursday 2:00p-5:30p for the rest of this quarter. Sorry for any inconvenience. 

Best,

Junjie

Updated slide for Lecture 10
2/25/15 10:27 PM

I updated the slides for Lecture 10, based on some of the comments made in class (thanks VERY MUCH to the students who brought these points up):

1. Slides 27, 38, 39, 50, 51: There are 5 obligatory page faults (given that there are 5 distinct pages, numbered 1, 2, 3, 4, 5) that must eventually be brought into memory.  The remaining page faults depend on how the algorithm kicks out pages.  I originally said 3 obligatory because there are 3 frames that get filled in the same way, regardless of the algorithm, but I think the changed version is more intuitive.

2. Slide 51, 71: changed from "OPT > LRU > … FIFO" to "OPT ≥ LRU ~> Clock ~> FIFO" since OPT is not strictly greater than the others (the others may be as good, though typically not) and ~> means "usually greater than" since, while LRU and Clock are typically better than FIFO IF there is locality, FIFO might just happen to be better in odd cases (and Clock just might luckily do better than LRU) (but hopefully this doesn't take away from the point that the most common behavior is OPT > LRU > Clock > FIFO)

Staff Office Hours
NameOffice Hours
Prof. Pasquale
When?
Where?
Edward Wong
When?
Where?
Xiaokun Xu
When?
Where?
Angie Nguyen
When?
Where?
Alexander Lin
When?
Where?
wenjia ouyang
When?
Where?
Haohuan Li
When?
Where?
Vidya Kirupanidhi
When?
Where?
Xiaoxiao(Emma) Zheng
When?
Where?
JUNJIE LOU
When?
Where?
Wilson Lu
When?
Where?

General Resources