260 likes | 517 Views
Chapter 7. Operating Systems 作業系統 ( 電腦的管家婆 ). O BJECTIVES. Understand the components of an operating system. Understand the concept of virtual memory. Understand the concept of deadlock and starvation.
E N D
Chapter 7 Operating Systems 作業系統 (電腦的管家婆)
OBJECTIVES Understand the components of an operating system. Understand the concept of virtual memory. Understand the concept of deadlock and starvation. List some of the characteristics of popular operating systemssuch as Windows 2000, UNIX, and Linux. Define the purpose and functions of an operating system. After reading this chapter, the reader should be able to:
Figure 7-1 Computer System
7.1 DEFINITION
Note: An operating system is an interface between the hardware of a computer and the user (program or human) that facilitates the execution of the other programs and the access to hardware and software resources.
EVOLUTION: Batch systems Time-sharing systems Personal systems Parallel systems Distributed systems 7.2
7.3 COMPONENTS
Figure 7-2 Components of an operating system
Figure 7-3 Monoprogramming
Figure 7-4 Multiprogramming
Figure 7-5 Categories of multiprogramming
Figure 7-6 Partitioning
Figure 7-7 Paging
Figure 7-8 Virtual memory
State diagram with the boundaries between a program, a job, and a process Figure 7-9
Figure 7-10 Job scheduler
Figure 7-11 Process scheduler
Figure 7-12 Queues for process management
Figure 7-13 Deadlock
Figure 7-14 Deadlock on a bridge
Note: Deadlock occurs when the operatingsystem does not put resource restrictionson processes.
Figure 7-15.a Starvation
Figure 7-15.b Starvation
Figure 7-15.c Starvation
Figure 7-16 Dining philosophers
7.4 POPULAR OPERATING SYSTEMS: Unix; Linux; Windows