©brooks/cole, 2003 chapter 7 operating systems. ©brooks/cole, 2003 define the purpose and...
Post on 20-Dec-2015
279 views
TRANSCRIPT
©Brooks/Cole, 2003
Chapter 7
OperatingSystems
©Brooks/Cole, 2003
Define the purpose and functions of an operating system.Define the purpose and functions of an operating system.
Understand the components of an operating system.Understand the components of an operating system.
Understand the concept of virtual memory.Understand the concept of virtual memory.
Understand the concept of deadlock and starvation.Understand the concept of deadlock and starvation.
After reading this chapter, the reader should After reading this chapter, the reader should be able to:be able to:
OOBJECTIVESBJECTIVES
List some of the characteristics of popular operating systemsList some of the characteristics of popular operating systemssuch as Windows 2000, UNIX, and Linux.such as Windows 2000, UNIX, and Linux.
©Brooks/Cole, 2003
Figure 7-1
Computer System
©Brooks/Cole, 2003
DEFINITIONDEFINITIONDEFINITIONDEFINITION
7.17.1
©Brooks/Cole, 2003
An operating system is an An operating system is an interface between the interface between the
hardware of a computer and hardware of a computer and the user (program or human) the user (program or human) that facilitates the execution that facilitates the execution
of the other programs and the of the other programs and the access to hardware and access to hardware and
software resources. software resources.
Note:Note:
©Brooks/Cole, 2003
EVOLUTIONEVOLUTIONEVOLUTIONEVOLUTION
7.27.2
©Brooks/Cole, 2003
COMPONENTSCOMPONENTSCOMPONENTSCOMPONENTS
7.37.3
©Brooks/Cole, 2003
Figure 7-2
Components of an operating system
©Brooks/Cole, 2003
Figure 7-3
Monoprogramming
©Brooks/Cole, 2003
Figure 7-4
Multiprogramming
©Brooks/Cole, 2003
Figure 7-5
Categories of multiprogramming
©Brooks/Cole, 2003
Figure 7-6
Partitioning
©Brooks/Cole, 2003
Figure 7-7
Paging
©Brooks/Cole, 2003
Figure 7-8
Virtual memory
©Brooks/Cole, 2003
Figure 7-9 State diagram with the boundaries between a program, a job, and a process
©Brooks/Cole, 2003
Figure 7-10
Job scheduler
©Brooks/Cole, 2003
Figure 7-11
Process scheduler
©Brooks/Cole, 2003
Figure 7-12
Queues for process management
©Brooks/Cole, 2003
Figure 7-13
Deadlock
©Brooks/Cole, 2003
Figure 7-14
Deadlock on a bridge
©Brooks/Cole, 2003
Deadlock occurs when the Deadlock occurs when the operatingoperating
system does not put resource system does not put resource restrictionsrestrictions
on processes.on processes.
Note:Note:
©Brooks/Cole, 2003
Figure 7-15.a
Starvation
©Brooks/Cole, 2003
Figure 7-15.b
Starvation
©Brooks/Cole, 2003
Figure 7-15.c
Starvation