





























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






























UNIVERSITY of SAN FRANCISCO department of computer science
CS 326 Operating Systems Greg Benson
Today’s Topics ‣ Course overview and logistics ‣ What is an operating system? ‣ A brief history of operating systems ‣ Some OS concepts ‣ Roadmap for this semester
Course Information ‣ Lecture in the Kudlick classroom (HR 235) ‣ Tue and Thu 1:30pm to 3:15pm ‣ TA: Chungro Lee ‣ Lab section in Harney 530 ‣ Wed 9:40am to 11:25am ‣ Midterm: TBA ‣ Final: Saturday 12/15/2008 12:00pm
Course Resources ‣ Class website ‣ http://www.cs.usfca.edu/benson/cs ‣ Class mailing list: ‣ [email protected] ‣ Subscribe to mailing list at: ‣ https://cs.usfca.edu/mailman/listinfo/cs
Operating Systems Concepts Seventh Edition by Silberschatz, Galvin, and Gagne John Wiley & Sons ISBN: 0471694665 A comprehensive book, we will read a large portion Books: Main Text
The C Programing Langauge by Kernighan and Ritchie Prentice Hall ISBN: 0131103628 Classic C Reference Everyone should own Books: C Reference
Assignments and Exams ‣ Projects (6 total) ‣ Programming problems ‣ Design document and results ‣ Interactive grading ‣ Code quality ‣ Midterm, Final (comprehensive)
Grading Breakdown Policy Absolute Scale Midterm 1 10% Final 30% Projects 60% A- 90% B- 80% C- 70% D- 60%
Cheating and Plagiarism ‣ Just don’t do it -- work hard and you can do well ‣ What is cheating? ‣ Copying source code or parts of code ‣ Having someone tell you how to solve a problem ‣ Telling someone how to solve a problem ‣ What is acceptable discussion? ‣ Discussing existing or given code ‣ Discussing the project requirements ‣ Discussing techniques given in class and lab ‣ Consequences - you will get an F in the class
How to do well ‣ Have fun! ‣ Read the book and given code ‣ Keep up: start the projects early ‣ Learn by doing ‣ Come to lecture and labs ‣ Come to office hours ‣ Post to class mailing list ‣ Ask lots of questions!!!
Lecture/Lab Format ‣ Lecture (roughly) ‣ 50 mins lecture ‣ 10 mins break ‣ 45 mins lecture (some coding) ‣ Lab ‣ Special coverage ‣ Help with projects ‣ Interactive grading
What is an Operating System? ‣ The OS is software that sits between applications and the hardware Firefox Operating System CPU Memory Network Disk Vi Half-Life
Dealing with OS complexity ‣ Abstraction ‣ It’s needed everywhere in CS ‣ Modularity ‣ Keep common functionality together ‣ Iterative design ‣ OSes do pretty well given the complexity
Some OS Tricks ‣ Program loading and linking ‣ E.g. clicking on Firefox, the OS does: ‣ Transfers executable from disk to memory ‣ Links the executable with required libraries ‣ Some libraries may be in memory, some on disk ‣ Running two or more programs at the same time ‣ Many computers have only one processor ‣ Multiple programs can run simultaneously ‣ The OS must switch between programs allowing each to make progress