Understanding the Role and Services of an Operating System: A Comprehensive Overview, Slides of Computer Science

An in-depth exploration of the operating system, its objectives, layers, services, and evolution. Topics include convenience, efficiency, ability to evolve, memory protection, i/o devices, multiprogramming, virtual memory, and more. Understand the responsibilities of an operating system and its impact on computer systems.

Typology: Slides

2012/2013

Uploaded on 03/28/2013

ekana
ekana 🇮🇳

4

(44)

370 documents

1 / 66

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1
Operating System
A program that controls the execution of
application programs
An interface between applications and
hardware
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42

Partial preview of the text

Download Understanding the Role and Services of an Operating System: A Comprehensive Overview and more Slides Computer Science in PDF only on Docsity!

1

Operating System

  • A program that controls the execution of

application programs

  • An interface between applications and

hardware

2

Operating System Objectives

  • Convenience
    • Makes the computer more convenient to use
  • Efficiency
    • Allows computer system resources to be used in an efficient manner
  • Ability to evolve
    • Permit effective development, testing, and introduction of new system functions without interfering with service

4

Services Provided by the

Operating System

  • Program development
    • Editors and debuggers
  • Program execution
  • Access to I/O devices
  • Controlled access to files
  • System access

5

Services Provided by the

Operating System

  • Error detection and response
    • Internal and external hardware errors
      • Memory error
      • Device failure
    • Software errors
      • Arithmetic overflow
      • Access forbidden memory locations
    • Operating system cannot grant request of application

7

Operating System

  • Responsible for managing resources
  • Functions same way as ordinary

computer software

  • It is program that is executed
  • Operating system relinquishes control of

the processor

8

M emory

Computer System I /O Devices OperatingSystem Software

Programsand Data

Processor Processor

ProgramsOS Data

Storage

I /O Controller

I /O Controller

Printers,keyboards, digital camera,etc.

I /O Controller

Figure 2.2 The Operating System as Resource M anager

10

Evolution of an Operating System

  • Hardware upgrades plus new types of

hardware

  • New services
  • Fixes

11

Evolution of Operating

Systems

  • Serial Processing
    • No operating system
    • Machines run from a console with display lights, toggle switches, input device, and printer
    • Schedule time
    • Setup included loading the compiler, source program, saving compiled program, and loading and linking

13

Job Control Language (JCL)

  • Special type of programming language
  • Provides instruction to the monitor
    • What compiler to use
    • What data to use

14

Hardware Features

  • Memory protection
    • Do not allow the memory area containing the monitor to be altered
  • Timer
    • Prevents a job from monopolizing the system

16

Memory Protection

  • User program executes in user mode
    • Certain instructions may not be executed
  • Monitor executes in system mode
    • Kernel mode
    • Privileged instructions are executed
    • Protected areas of memory may be accessed

17

I/O Devices Slow

19

Multiprogramming

  • When one job needs to wait for I/O, the processor can switch to the other job

20

Multiprogramming