©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and...

24
©Brooks/Cole, 2003 Chapter 7 Operating Systems
  • date post

    20-Dec-2015
  • Category

    Documents

  • view

    279
  • download

    4

Transcript of ©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and...

Page 1: ©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.

©Brooks/Cole, 2003

Chapter 7

OperatingSystems

Page 2: ©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.

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

Page 3: ©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.

©Brooks/Cole, 2003

Figure 7-1

Computer System

Page 4: ©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.

©Brooks/Cole, 2003

DEFINITIONDEFINITIONDEFINITIONDEFINITION

7.17.1

Page 5: ©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.

©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:

Page 6: ©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.

©Brooks/Cole, 2003

EVOLUTIONEVOLUTIONEVOLUTIONEVOLUTION

7.27.2

Page 7: ©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.

©Brooks/Cole, 2003

COMPONENTSCOMPONENTSCOMPONENTSCOMPONENTS

7.37.3

Page 8: ©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.

©Brooks/Cole, 2003

Figure 7-2

Components of an operating system

Page 9: ©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.

©Brooks/Cole, 2003

Figure 7-3

Monoprogramming

Page 10: ©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.

©Brooks/Cole, 2003

Figure 7-4

Multiprogramming

Page 11: ©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.

©Brooks/Cole, 2003

Figure 7-5

Categories of multiprogramming

Page 12: ©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.

©Brooks/Cole, 2003

Figure 7-6

Partitioning

Page 13: ©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.

©Brooks/Cole, 2003

Figure 7-7

Paging

Page 14: ©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.

©Brooks/Cole, 2003

Figure 7-8

Virtual memory

Page 15: ©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.

©Brooks/Cole, 2003

Figure 7-9 State diagram with the boundaries between a program, a job, and a process

Page 16: ©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.

©Brooks/Cole, 2003

Figure 7-10

Job scheduler

Page 17: ©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.

©Brooks/Cole, 2003

Figure 7-11

Process scheduler

Page 18: ©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.

©Brooks/Cole, 2003

Figure 7-12

Queues for process management

Page 19: ©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.

©Brooks/Cole, 2003

Figure 7-13

Deadlock

Page 20: ©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.

©Brooks/Cole, 2003

Figure 7-14

Deadlock on a bridge

Page 21: ©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.

©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:

Page 22: ©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.

©Brooks/Cole, 2003

Figure 7-15.a

Starvation

Page 23: ©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.

©Brooks/Cole, 2003

Figure 7-15.b

Starvation

Page 24: ©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.

©Brooks/Cole, 2003

Figure 7-15.c

Starvation