This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: CS-418 Homework 1 - KeyProfessor: Van HornPp. 26-271.1 What are the two main purposes of an operating system?oefficient use of resourcesoprotectionoease of use1.3 What is the main advantage of multiprogramming?omore efficient use of CPU keeps it busyPp. 54-562.3 What are the differences between a trap and an interrupt? What is the use of each function?ointerrupt is hardware generated; trap is software generatedointerrupt is to signal completion of I/O; trap is to signal software error or to execute system call2.10 Name three hardware aids for writing an operating system, and describe how they can be used together to protect the operating system.odual mode operation; privileged instructions can only be executed in system mode, not user modeoI/O protection: all I/O is privileged instructionsoMemory protection: base register & limit register checked for each access in user modeoTimer interrupts at intervals so no program runs away with CPUPp. 90- 913.6 List five services provided by the OS. Explain how each provides List five services provided by the OS....
View Full Document
This note was uploaded on 02/21/2012 for the course COMPUTER cs 418 taught by Professor Idk during the Spring '12 term at Capitol College.
- Spring '12
- Operating Systems