CSE 120CSE 120Principles of OperatingPrinciples of OperatingSystemsSystemsFall 2005Fall 2005Lecture 1: Course IntroductionLecture 1: Course IntroductionAlex C. SnoerenAlex C. SnoerenSeptember 22, 2005 CSE 120 – Lecture 1 – Course Intro 2Lecture 1 OverviewLecture 1 Overview Class overview What is an operating system? Operating systems and hardware Operating systems and applicationsSeptember 22, 2005 CSE 120 – Lecture 1 – Course Intro 3PersonnelPersonnel Instructor: Alex C. Snoeren◆ Office hours Thursdays 1-2pm or by appointment Discussion TA: Barath Raghavan◆ Discussion Mon 11-11:50am in HSS 1330◆ Office hours TBD◆ Homework grader Project TA: Jose Garcia◆ Lab hours TBD, email◆ Project graderSeptember 22, 2005 CSE 120 – Lecture 1 – Course Intro 4CSE 120 Class OverviewCSE 120 Class Overview Course material taught through class lectures,textbook readings, and handouts Course assignments are◆ Homework questions (mostly from the book)◆ Three large programming projects in groups Discussion sections are a forum for asking questions◆ Lecture material and homework◆ Additional OS topics (e.g., how does an OS boot?) Other forums◆ Mailing list ([email protected])◆ Discussion board (http://webboard.ucsd.edu)September 22, 2005 CSE 120 – Lecture 1 – Course Intro 5HomeworksHomeworks There will be 4-5 homeworks throughout the quarter◆ Reinforce lecture material…no better practice Collaboration vs. cheating◆ You should discuss homework problems with others» You can learn a lot from each other◆ But there is a distinction between collaboration and cheating◆ Rule of thumb: Discuss together in library, walk home, andwrite up answers independently◆ Cheating is copying from other student’s homeworks orsolution sets, searching for answers on the Web, etc.◆ Suspicious homeworks will be flagged for reviewSeptember 22, 2005 CSE 120 – Lecture 1 – Course Intro 6TextbookTextbook Silberschatz, Galvin, and Gagne, Operating SystemConcepts, John Wiley and Sons, 7th Edition, ISBN 0-471-69466-6September 22, 2005 CSE 120 – Lecture 1 – Course Intro 7Nachos ProjectNachos ProjectSeptember 22, 2005 CSE 120 – Lecture 1 – Course Intro 8NachosNachos Nachos is an instructional operating system◆ It is a user-level operating system and a machine simulator» Not unlike the Java runtime environment» Will become abundantly clear (or not so clear) very soon◆ Programming environment will be C++ on Unix (Linux/Solaris)◆ The projects will require serious time commitments» Waiting until the last minute is not an option You will do three projects using Nachos◆ Concurrency and synchronization◆ Multiprogramming◆ Virtual memory You will work in groups of 1-4 on the projects◆ Start identifying partners nowSeptember 22, 2005 CSE 120 – Lecture 1 – Course Intro 9LabsLabs We will use the uAPE (B230) lab in the basement ofthe CSE/EBU3B building◆ Solaris running on Sun sparc machines You can also use your home machine◆ The same project source will work on Linux (but not Windows)◆ Graders will test on uAPE machines◆ Be sure to test your projects there as wellSeptember 22, 2005 CSE 120 – Lecture 1 – Course Intro 10ExamsExams Midterm◆ Tuesday, October 25th◆ Covers first half of class Final◆ Tuesday, December 6th◆ Covers second half of class + selected material from first part» Prof. Snoeren will be explicit about the material covered No makeup exams◆ Unless dire circumstances (we all want to start vacation early) Crib sheet◆ You can bring one double-sided 8.5x11” page of notes toeach exam to assist you in answering the questions◆ Not a substitute for thinkingSeptember 22, 2005 CSE 120 – Lecture 1 – Course Intro 11GradingGrading Homeworks: 20%◆ Think of these collectively as a take-home midterm Midterm: 20% Final: 30% Projects: 30%September 22, 2005 CSE 120 – Lecture 1 – Course Intro 12How How NotNot To Pass CSE 120 To Pass CSE 120 Do not come to lecture◆ It’s nice out, the slides are online, and the material is in thebook anyway◆ Lecture material is the basis for exams and directly relates tothe projects Do not do the homework◆ It’s only 20% of the grade◆ Excellent practice for the exams, and some homeworkproblems are exercises for helping with the project◆ 20% is actually a significant fraction of your grade (differencebetween an A and a C)September 22, 2005 CSE 120 – Lecture 1 – Course Intro 13How How NotNot To Pass (2) To Pass (2) Do not ask questions in lecture, office hours, or email◆ Professor is scary, I don’t want to embarrass myself◆ Asking questions is the best way to clarify lecture material atthe time it is being presented◆ Office hours and email will help with homeworks, projects Wait until the last couple of days to start a project◆ We’ll have to do the crunch anyways, why do it early?◆ The projects cannot be done in the last couple of days◆ Repeat: The projects cannot be done in the last couple of days◆ Some groups last time learned that starting early meantfinishing all of the projects on time…and some didn’tSeptember 22, 2005 CSE 120 – Lecture 1 – Course Intro 14Class Web PageClass Web Pagehttp://www.cs.ucsd.edu/classes/fa05/ cse120/ Serves many roles…◆ Course syllabus and schedule (updated as quarterprogresses)» Lecture slides◆ Announcements◆ Homework handouts◆ Project handouts (tons of info on Nachos, start now)September 22, 2005 CSE 120 – Lecture 1 – Course Intro 15QuestionsQuestions Before we start the material, any questions about theclass structure, contents, etc.?September 22, 2005 CSE 120 – Lecture 1 – Course Intro 16Why Operating Systems?Why Operating Systems? Why are we making you sit here today, having tosuffer through a core course in operating systems?◆ It’s not like everyone will become OS developers, after all Understand what you use◆ Understanding how an OS works helps you develop apps◆ System functionality, performance, efficiency, etc. Pervasive abstractions◆ Concurrency: Threads and synchronization are commonmodern programming abstractions (Java, .NET, etc.) Complex software systems◆ Many of you will go on to work on large software projects◆ OSes serve as examples of an evolution of complex systemsSeptember 22, 2005 CSE 120 – Lecture 1 – Course Intro 17CSE 120 Course MaterialCSE 120 Course
View Full Document