37

Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide
Page 2: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Operating Systems

4.1 What is an operating

system?

4.2 Classifications of operating

systems

4.3 Types of operating system

4.4 Functions and services.

Page 3: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Operating System

An operating system is complex, so it is

difficult to give a simple universal definition.

Instead, here are some common definitions:

• A program that controls the execution of

application programs

• An interface between applications and

hardware

• An operating system is an interface between

the hardware of a computer and the user

(programs or humans).

Page 4: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Operating System

• An operating system is a program (or a set of

programs) that facilitates the execution of

other programs.

• An operating system acts as a general

manager supervising the activity of each

component in the computer system.

• An operating system is an interface between the

hardware of a computer and the user

(programs or humans)

that facilitates the execution of other programs

and the access to hardware and software

resources.

Page 5: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

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

Page 6: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Layers of Computer System

Page 7: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Classification of Operating Systems

Operating Systems can be classified according to

how they work.

• Batch Processing operating system

• Time Sharing operating system

• Real-time operating system

• Multi-user operating system

• Multi-tasking operating system

• Distributed operating system

• Embedded operating systems.

Modern operating systems include: OS, Linux,

Android, BSD, Mac OS X and Microsoft Windows.

Page 8: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Types of Operating Systems

• Mainframe operating systems: MVS

• Server operating systems: FreeBSD, Solaris

• Multiprocessor operating systems: Cellular

IRIX

• Personal computer operating systems:

Windows, Unix

• Real-time operating systems: VxWorks

• Embedded operating systems

• Smart card operating systems

Some operating systems can fit into more

than one category

Page 9: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Types of Operating Systems

• Real-time operating system

– Very fast small OS

– Built into a device

– Respond quickly to user input

– MP3 players, Medical devices

Page 10: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Types of Operating Systems

• Single user/Single tasking OS

– One user works on the system

– Performs one task at a time

– MS-DOS and Palm OS

– Take up little space on disk

– Run on inexpensive computers

Page 11: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Single Tasking

• Operating System cannot be able to take control back from the running process/task/application

• In case if a process call an I/O Instruction then Processor must wait for I/O instruction to complete before preceding

Page 12: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Types of Operating Systems

• Single user/Multitasking OS

– User performs many tasks at once

– Most common form of OS

– Windows XP and OS X

– Require expensive computers

– Tend to be complex

Page 13: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Multitasking

• Operating System can take control back from the running process and can give it to other.

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

Page 14: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Types of Operating Systems

• Multi user/Multitasking OS

– Many users connect to one computer

– Each user has a unique session

– UNIX, Linux, and VMS

– Maintenance can be easy

– Requires a powerful computer

Page 15: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Multi user/Multi tasking OS

Page 16: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Services Provided by

the Operating System

• Program development

– Editors and debuggers

• Program execution

• Access to I/O devices

• Controlled access to files

• System access

Page 17: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

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

Page 18: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Services Provided by

the Operating System

• Accounting

– collect statistics

– monitor performance

– used to anticipate future enhancements

– used for billing users

Page 19: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

7A-19

Functions of Operating Systems

manage programs

start up the computeradminister security

monitor performance and provide housekeeping services

manage memory

Page 20: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

7A-20

Functions of Operating Systems

control a network

access the Web

schedule jobs and

configure devices

provide user

interface

Page 21: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

7A-21

Functions of Operating Systems

The basic functions that an Operating System should provide include (but not limited to):

• Provide a user interface

• Run programs

• Manage hardware devices

– CPU and Process Management

– Memory Management

– I/O Management

– Information And Storage Management

– Network Management

• Organize file storage

• Security

• Resource Allocation and Accounting

Page 22: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Providing a User Interface

• User interface

– How a user interacts with a computer

– Require different skill sets

Page 23: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Providing a User Interface

• Graphical user interface (GUI)

– Most common interface

• Windows, OS X, Gnome, KDE

– Uses a mouse to control objects

– Uses a desktop metaphor

– Shortcuts open programs or documents

– Open documents have additional objects

– Task switching

– Dialog boxes allow directed input

Page 24: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Graphical User Interface

Page 25: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Providing a User Interface

• Command line interfaces

– Older interface

• DOS, Linux, UNIX

– User types commands at a prompt

– User must remember all commands

– Included in all GUIs

Page 26: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Command Line Interface

Page 27: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Rick Graziani

[email protected] 27

DOS plus Windows 3.1

Page 28: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Rick Graziani

[email protected] 28

Windows 95

Page 29: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Rick Graziani

[email protected] 29

Windows XP

Page 30: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Rick Graziani

[email protected] 30

Macintosh

Page 31: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Rick Graziani

[email protected] 31

Mac OS X

Page 32: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Rick Graziani

[email protected] 32

UNIX with X-Windows

Page 33: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Rick Graziani

[email protected] 33

Microsoft Windows 8

Page 34: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Running Programs

• Many different applications supported

• System call

– Provides consistent access to OS features

• Share information between programs

– Copy and paste

– Object Linking and Embedding

Page 35: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Managing Hardware

• Programs need to access hardware

• Interrupts

– CPU is stopped

– Hardware device is accessed

• Device drivers control the hardware

Page 36: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Organizing Files and Folders

• Organized storage

• Long file names

• Folders can be created and nested

• All storage devices work consistently

Page 37: Operating Systems - iftikharbabur.files.wordpress.com€¦ · Functions of Operating Systems manage programs start up the computer administer security monitor performance and provide

Operating Systems