Course Syllabus – Operating Systems
CS 326 ⋅ Spring 2020 ⋅ 4 Credits
Operating systems are found in nearly every modern computing device, from phones and tablets to workstations and the cloud. An operating system (OS) manages hardware resources (CPU, memory, disks, etc.) and provides a layer of abstraction to make working with these resources easier.
In this course, you will learn the fundamentals of operating system design and implementation. This includes system calls, inter-process communication, virtual memory, networking, and file systems.
Lectures: Tuesday & Thursday
- Section 1: 9:55 – 11:40am ⋅ LS 307
- Section 2: 2:40 – 4:25pm ⋅ LS 307
Lab Session: Friday
- Section 1: 3:30 – 4:35 ⋅ LS G12
- Section 2: 4:45 – 5:50pm ⋅ LS G12
Communication: Piazza ⋅ Zoom Live Stream
Instructor: Matthew Malensek
Office: HR 406
Hours: T, Th 1:00pm – 2:30pm ⋅ F 2:30pm – 3:30pm
TA: Ryan Dielhenn
Hours: M, W 10:45am – 12:45pm
TA: Vanessa Villalobos
Hours: W, F 9:00am – 11:00am
TA: Edmund Wong
Hours: M, W, F 1:00pm – 2:30pm
- CS 220 (C and Parallel Programming) or CS 221 (C and Systems Programming) with a grade of C or better.
- CS 245 (Data Structures and Algorithms) with a grade of C or better.
- An understanding of basic data structures such as linked lists, queues, trees, and hash tables.
- Good C programming skills.
- Required textbook (available free online): Operating Systems: Three Easy Pieces. Remzi H. Arpaci-Dusseau and Andrea C. Arpaci-Dusseau.
- Operating Systems: Principles and Practice. 2nd Edition. Thomas Anderson and Michael Dahlin.
- The C Programming Language, 2nd Edition. Brian W. Kernighan and Dennis M. Ritchie.
- Head First C: A Brain-Friendly Guide. David Griffiths and Dawn Griffiths.
After completing the course, students will be able to:
- Configure a Linux-based operating system and work from the shell
- Understand and evaluate operating system implementations
- Understand the implementation of fundamental OS structures, including threads, processes, synchronization, system calls, scheduling, virtual memory, and file systems
- Develop and debug systems software
The course will be graded on an A-F basis. The grade distribution is:
- Projects: 50%
- Labs: 15%
- Quizzes: 35%
- Individual: 30%
- Group: 5%
Grades will be assigned as follows:
|100 – 93||A|
|92 – 90||A-|
|89 – 87||B+|
|86 – 83||B|
|82 – 80||B-|
|79 – 77||C+|
|76 – 73||C|
|72 – 70||C-|
|69 – 67||D+|
|66 – 63||D|
|62 – 60||D-|
|59 – 0||F|
This scale is subject to change; scoring in the ranges above guarantees you will receive at least the grade listed.
Labs: There will be several lab assignments over the course of the semester. These assignments are designed to give you a chance to practice what you’ve learned and get feedback on your progress. You must demonstrate your finished lab assignments in the class, lab sections, or office hours to get credit.
Quizzes: Your knowledge of the concepts covered in class will be evaluated via quizzes. These quizzes consist of two phases: individual and team, with a separate score for each. During the team phase of the quiz, you can discuss the questions with your teammates and come to a consensus on the answers. The individual and team portions of the quiz are turned in separately. Make-up quizzes are not given unless arranged at least one week in advance.
Projects: The best way to learn is by putting theory into practice. This course features large projects that count for the majority of your grade. Remember to start early, ask questions, and go to office hours if necessary.
- Lab assignments must be demonstrated in person to get credit.
- Do not cheat. Review the Honor Code, and if in doubt about whether or not something is cheating, ask the professor.
- The course staff will run cheat detection software that includes past assignments.
- If you cheat, you will get a 0 on the assignment or an F in the class.
- Submit code via GitHub. Commit your changes frequently as you work on the assignments.
- Grading will be carried out on the VMs we set up in class. If your code does not compile or run on your VM, you receive an automatic 0.
- Due dates are posted on the assignments page. Projects are due at 11:59pm on the due date.
- Late lab assignments are not accepted.
- Each student is allocated 3 ‘slip days’ that can be used to turn projects in late.
- To use slip days, commit changes to your project repository after the posted deadline. Once your slip days are exhausted, changes made to your repository after the deadline will NOT be graded!
You are here to learn. Be professional and courteous toward your peers, and help create a learning environment that supports diverse thinking, experiences, perspectives, and identities. If you need to use an electronic device during a lecture, do so in a way that doesn’t distract others. And most importantly, be excellent to each other.
- January 27: Last day to add classes
- February 7: Census Date (last day to drop classes with a refund)
- March 9–13: No class, Spring Break
- April 6: Last day to drop classes or withdraw
- May 7: Last day of class
- Final Exams:
- Tuesday, May 12, 10:00 am – 12:00 pm (Section 1)
- Tuesday, May 12, 5:30 pm – 7:30 pm (Section 2)
Students with Disabilities
If you are a student with a disability or disabling condition, or if you think you may have a disability, please contact USF Student Disability Services (SDS) at 415 422-2613 within the first week of class, or immediately upon onset of disability, to speak with a disability specialist. If you are determined eligible for reasonable accommodations, please meet with your disability specialist so they can arrange to have your accommodation letter sent to me, and we will discuss your needs for this course. For more information, please visit: http://www.usfca.edu/sds.
All students are expected to behave in accordance with the Student Conduct Code and other University policies (see http://www.usfca.edu/fogcutter/). Students whose behavior is disruptive or who fail to comply with the instructor may be dismissed from the class for the remainder of the class period and may need to meet with the instructor or Dean prior to returning to the next class period. If necessary, referrals may also be made to the Student Conduct process for violations of the Student Conduct Code.
As a Jesuit institution committed to cura personalis – the care and education of the whole person – USF has an obligation to embody and foster the values of honesty and integrity. USF upholds the standards of honesty and integrity from all members of the academic community. All students are expected to know and adhere to the University’s Honor Code. You can find the full text of the code online at http://myusf.usfca.edu/academic-integrity/. The policy covers:
- Plagiarism - intentionally or unintentionally representing the words or ideas of another person as your own; failure to properly cite references; manufacturing references.
- Working with another person when independent work is required.
- Submission of the same paper in more than one course without the specific permission of each instructor.
- Submitting a paper written by another person or obtained from the Internet.
Counseling and Psychological Services (CAPS)
CAPS’ diverse staff offers brief individual, couple, and group counseling to student members of our community. CAPS services are confidential and free of charge. Call (415) 422-6352 for an initial consultation appointment. Telephone consultation through CAPS After Hours is available Monday - Friday from 5:00 p.m. to 8:30 a.m., 24 hours during weekends and holidays; call the above number and press 2. Further information can be found at https://myusf.usfca.edu/student-health-safety/caps.
Confidentiality, Mandatory Reporting, and Sexual Assault
As instructors, one of our responsibilities is to help create a safe learning environment on our campus. We also have a mandatory reporting responsibility related to our role as faculty. We are required to share information regarding sexual misconduct or information about a crime that may have occurred on USF’s campus with the University. Here are some useful resources related to sexual misconduct:
- To report any sexual misconduct, students may visit the Title IX coordinator (UC 5th floor) or see many other options by visiting usfca.edu/student_life/safer.
- Students may speak to someone confidentially or report a sexual assault confidentially by contacting Counseling and Psychological Services at (415) 422-6352.
- To find out more about reporting a sexual assault at USF, visit USFs Callisto website at: usfca.callistocampus.org.
- For an off-campus resource, contact San Francisco Women Against Rape (SFWAR) (415) 647-7273 (sfwar.org).