1 / 20

Operating Systems 作業系統 csu.tw/~pahsiung/courses/os

Operating Systems 作業系統 http://www.cs.ccu.edu.tw/~pahsiung/courses/os. 熊博安 國立中正大學資訊工程學系 pahsiung@cs.ccu.edu.tw Class: EA-101, EA001 (05)2720411 ext. 33119 Office: EA-512. Textbook.

xanthe
Download Presentation

Operating Systems 作業系統 csu.tw/~pahsiung/courses/os

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Operating Systems作業系統http://www.cs.ccu.edu.tw/~pahsiung/courses/os 熊博安 國立中正大學資訊工程學系 pahsiung@cs.ccu.edu.twClass: EA-101, EA001 (05)2720411 ext. 33119 Office: EA-512

  2. Textbook • Operating System Concepts with Java, Silberschatz, Galvin, Gagne, 6th Edition, John Wiley & Sons, 2004, 新月代理 • Main Differences from 5th Edition • Pascal  C and Java programs • NEW Chapter 5: Threads • NEW Chapter 21: Windows XP • NEW Chapter 22: Influential Operating Systems

  3. 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)

  4. Grading Job Dates/Deadlines % • Homeworks One week 16% • Mid-Term Test 11/2, 11/3 30% • NACHOS Projects 11/1, 12/1, 01/2 24% • Final Exam 01/5, 01/6 30%

  5. 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)

  6. 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  期末學期成績不調分

  7. 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

  8. 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 期末學期成績不調分

  9. Nachos Projects (24%) • Nachos Project Announcements: • Project 1: 9/29, 9/30 • Project 2: 10/27, 10/28 • Project 3: 11/29, 11/30

  10. Nachos Projects (24%) • Nachos Project Work • Form a group of 3 students • Give a list of group members to TA (lsw92@cs.ccu.edu.tw) by 9/20. • Names in Chinese • Registration Number • Department and Class • ONE MONTH for finishing each project • Score is 8% for each project

  11. Nachos Projects (24%) • Nachos Project Deadlines: • Project 1: 2004/11/1 • Project 2: 2004/12/1 • Project 3: 2005/01/2

  12. 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

  13. Operating Systems The best way to predict the future … is toI N V E N T IT!!! Alan Kay, inventor of SmallTalk, 2004 ACM Turing Award

  14. 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!!!

  15. Shell • A shell program can • Accept commands • Interpret commands • Execute commands • Display results of execution

  16. Shell • Programming Environment • OS: Linux • Compiler: gcc, g++, or any Java compiler • Required commands • help or h (shows a list of commands), • help <cmd> (shows detailed help on <cmd>), • quit, q, exit, e, • ! (escape character, e.g., !ls, i.e., escape to outer execution environment to execute “ls”)

  17. 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

  18. 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

  19. Shell • Deadline • September 27 • E-mail zip file to lsw92@cs.ccu.edu.tw • Demo will be scheduled later by TA • Please go to http://embedded.cs.ccu.edu.tw/~yamami/os.html to get the latest information

  20. Reference • Advanced Programming in the UNIX Environmentby W. Richard Stevens

More Related