USC CSD Home
 

Operating Systems - CSCI 402, Summer 2013, MW Section

This is an undergraduate course on computer operating systems. In addition to exploring concepts such as synchronization, virtual memory, processes, file systems and virtualization, students will develop elements of a fairly complete operating system during the course of the semester.
 
General Information
Time   :   MW 10:00am - 12:00pm 
Location : OHE 132
Instructor   :   Bill Cheng (for office hours, please see instructor's web page), E-mail: <bill.cheng@usc.edu>.   (Please do not send HTML-only e-mails. They will not be read.)
TA   :   Luenin Barrios, E-mail: <lueninba@usc.edu>, Office Hours: Tue 11:00am - 1:00pm in SAL 219
Grader   :   Shuai Shao, E-mail: <sshao@usc.edu>(The grader will hold office hours the week after the announcement of each assignment's grades.)
Midterm Exam   :   during class time in THH 202, Wed, 6/26/2013 (firm),  THH is located in section 4E of the campus map.
Final Exam   :   during class time in THH 202, 10am-12pm, Mon, 7/29/2013 (firm).  THH is located in section 4E of the campus map.
 
Class Resources
Description   :   textbooks, topics covered, grading policies, additional resources, etc.
Lectures   :   lectures slides (in PDF format).
Projects   :   (please also see important information about the class projects below.)
Participation   :   rules about rowcalls.
Homeworks   :   (not graded)
Newsgroup   :   Google Group for discussing course materials and programming assignments. You are required to be a member of this group. (This group is by invitation only.) This group currently does not exist. It will be added around 5/25/2013 when the class roster becomes more stable.
 
News
(in reversed chronological order)
  • 7/23/2013: The final exam will be closed book, closed notes, and closed everything (and no "cheat sheet"). Also, no calculators, cell phones, or any electronic gadgets are allowed. Please bring a photo ID. Your ID will be collected at the beginning of the exam and will be returned to you when you turn in your exam. There will be assigned seating.

    The final exam will cover everything from the first slide of Lecture 9 on 6/24/2013 to the last slide of Lecture 16 on 7/22/2013. (Please note that shared libraries (Ch 3) will not be part of the final exam coverage.)

    Regarding what types of questions will be on the midterm, please see the Exams section of the course description web page.

    Here is a quick summary of the topics (not all topics covered may be listed):

    • Ch 1 - Introduction
      • files
    • Ch 4 - Operating-System Design
      • devices
      • virtual machines, microkernels
    • Ch 5 - Processor Management
      • threads implementations
      • interrupts
      • scheduling (up to and including stride scheduling)
    • Ch 6 - File Systems
      • the basics of file systems
      • crash resiliency
      • directories and naming, RAID, flash memory, case studies
    • Ch 7 - Memory Management
      • virtual memory
      • OS issues

  • 7/17/2013: Office hour today is moved to 12-1pm in OHE 132 (right after class). Sorry about the inconvenience.

  • 7/8/2013: The statistics for the Midterm Exam are:
         Count = 50
           Avg = 42.90
        StdDev = 7.21
           Max = 55.00
           Min = 26.00
    
       1 54+ X
       5 51+ XXXXX
      10 48+ XXXXXXXXXX
       6 45+ XXXXXX
       7 42+ XXXXXXX
       8 39+ XXXXXXXX
       6 36+ XXXXXX
       1 33+ X
       2 30+ XX
       3 27+ XXX
       1 24+ X
    Since the maximum possible score is 60, to get your normalized score (i.e., normalized to 100 points), you need to divide your score by 60 and then multiply by 100. (The same goes with the class average. Therefore, the normalized class average is 42.98/0.6=71.5.)

  • 6/19/2013: The midterm exam will be closed book, closed notes, and closed everything (and no "cheat sheet"). Also, no calculators, cell phones, or any electronic gadgets are allowed. Please bring a photo ID. Your ID will be collected at the beginning of the exam and will be returned to you when you turn in your exam. There will be assigned seating.

    The midterm exam will cover everything from the beginning of the semester till the end of Lecture 8 on 6/19/2013.

    Regarding what types of questions will be on the midterm, please see the Exams section of the course description web page.

    Here is a quick summary of the topics (not all topics covered may be listed):

    • Ch 1 - Introduction
      • introduction
      • a simple OS
    • Ch 2 - Multithreaded Programming
      • thread creation, termination, synchronization
      • thread safety, deviations
    • Ch 3 - Basic Concepts
      • context switching
      • I/O, dynamic storage allocation
      • static linking and loading, booting
    • Ch 4 - Operating-System Design
      • a simple system

  • 6/3/2013: Office hour today is moved to 12-1pm. Sorry about the inconvenience.

  • 5/22/2013: Office hour today is canceled. Sorry about the inconvenience.

  • 5/14/2013:
    • To get your user ID and password for accessing protected area of this web site, please visit the request access page after the semester starts and submit the requested information. (You do not have to be registered for the course to get the password. You just need to have an USC e-mail address.)

    • Please do not send request to join the class Google Group until after Lecture 1 on 5/22/2013.

    • There is another section of CSCI 402, offered by Prof. Michael Crowley on TuTh 12:00pm-1:50pm. There are substantial differences between our section and this section. If you are an ungraduate student, you are required to enroll in Prof. Crowley's section of CSCI 402.

      Please make sure you attend the section for which you are registered.

    • Watch this area for important announcements.
 
Prerequisites
Please note that the instructor has never and will never sign anything that says that you can waive any of the prerequisites below for a Masters student: CSCI 201L or CSCI 455x; EE 357 or EE 352L
 
Important Information about Programming Assignments
The programming assignments of this class will be very demanding. You will be required to write C code. Since C is a proper subset of C++, knowing C++ well would give you enough background. However, some of the things that available in C++, such as strings and streams, are not be available in C. So, you need to know how to do things such as manipulating null-terminated array of characters (using functions such as strchr, strrchr, strlen, strcmp, strncpy, etc.) and performing console and file I/O (using functions such as printf/snprintf, fread/fwrite, read/write, fgets, etc.) in C. No other programming language will be accepted. We will not teach C in this class. You are expected to pick up C on your own if you are not familiar with it.

You should also get familiar with the UNIX development environment (vi/pico/emacs, cc/gcc, make, etc.) The kernel programming assignments must run on Ubuntu 11.10. Therefore, you should install Ubuntu 11.10 on your laptop or desktop, if you have one. If you do not have a personal laptop or desktop that runs Windows or Mac OS X, please contact the instructor.

If a student signs up late for this class or could not be present at the beginning of the semester, he/she is still required to turn all projects and homeworks on time or he/she will receive a score of 0 for these assignments. No exceptions!

 

[Last updated Sat Sep 19 2020]    [Please see copyright regarding copying.]