Operating Systems 作業系統 熊博安 國立中正大學資訊工程學系 EA-101, EA001 (05) ext Office: EA-512
Textbook Operating System Concepts with Java, Silberschatz, Galvin, Gagne, 6 th Edition, John Wiley & Sons, 2004, 新月代理 Main Differences from 5 th Edition Pascal C and Java programs NEW Chapter 5: Threads NEW Chapter 21: Windows XP NEW Chapter 22: Influential Operating Systems
Syllabus Overview (Ch 1 3) Process Management (Ch 4 8) Storage Management (Ch 9, 10, 12) I/O Systems (Ch 13) Case Studies (Ch 20 22) (self study)
Grading JobDates/Deadlines% Homeworks One week16% Mid-Term Test11/2, 11/330% NACHOS Projects11/1, 12/1, 01/224% Final Exam01/5, 01/630%
Rules NO COPYING of homeworks or projects (a single case of copying BOTH parties will get ZERO point for ALL assignments) NO CHEATING in exams (BOTH parties will get ZERO points for that exam)
Rules (cont ’ d) Class Q&A: Good question 2 Bonus Points Correct answer 1 Bonus Point Class Attendance: On-the-fly roll-call 2 or more times absent 期末學期成績不調分
Rules (cont ’ d) Scores will be reduced by 80% per day for late homeworks late labs Eg: If original score is 80, 1 day late score = 80 * (0.8) = 64 2 days late score = 80 * (0.8) 2 = 51.2
Homeworks (16%) Homework assignments should be either hand written or computer typeset Chapters: 4 ~ 10, 12 Each chapter assignment = 2% score Each person should hand in one set of answers within one week after announcement Lack of submitting ANY ONE homework 期末學期成績不調分
Nachos Projects (24%) Nachos Project Announcements: Project 1: 9/29, 9/30 Project 2: 10/27, 10/28 Project 3: 11/29, 11/30
Nachos Projects (24%) Nachos Project Work Form a group of 3 students Give a list of group members to TA by Names in Chinese Registration Number Department and Class ONE MONTH for finishing each project Score is 8% for each project
Nachos Projects (24%) Nachos Project Deadlines: Project 1: 2004/11/1 Project 2: 2004/12/1 Project 3: 2005/01/2
Exams (30% + 30%) All exams will be Closed book Written exam 1.5 hour duration No bonus question Midterm: Chapters 1 ~ 7 Final: Chapters 8 ~ 10, 12, 13
Operating Systems The best way to predict the future … is to I N V E N T I T!!! Alan Kay, inventor of SmallTalk, 2004 ACM Turing Award
Let ’ s start by inventing … A SHELL just like command.com in MSDOS, or cmd in MS Windows, or tcsh in Linux This is a “ qualification exam ” for this course!!!
Shell A shell program can Accept commands Interpret commands Execute commands Display results of execution
Shell Programming Environment OS: Linux Compiler: gcc, g++, or any Java compiler Required commands help or h (shows a list of commands), help (shows detailed help on ), quit, q, exit, e, ! (escape character, e.g., !ls, i.e., escape to outer execution environment to execute “ ls ” )
Shell Optional commands 2 + 3, … like a calculator run test1, test2, … a shell for your future projects a text-based user interface for some kind of software tool could be menu-driven
Shell Form a group of 2 persons Hand-in list by 9/20 Deliverables source code documentation (code architecture, features, user guide, reference manual, etc.) compiled executable (virus-checked) if you submit a virus, you will get 0 points Archive all the above into a zip file
Shell Deadline September 27 zip file to Demo will be scheduled later by TA Please go to html to get the latest information html
Reference Advanced Programming in the UNIX Environment by W. Richard Stevens