types of o.s

32
Presentation Topic TimeSharingSystemJamshaid Ali(2011-CO E-10) Sohaib Abdullah(2011-CO E-19)

Upload: kyousuf786

Post on 17-May-2015

280 views

Category:

Education


1 download

DESCRIPTION

Operating Systems Types

TRANSCRIPT

Page 1: Types of o.s

Presentation Topic “Time Sharing System”

JamshaidAli(2011-COE-10)

SohaibAbdullah(2011-COE-19)

Page 2: Types of o.s

TYPES OF OPERATING SYSTEM

Page 3: Types of o.s

Presented By:-

Yousuf Nazir 2011-COE-17

M.Ishfaq Shah 2011-COE-23

Page 4: Types of o.s

WHAT IS OS?Operating System is a software, which makes a

computer to actually work.It is the software the enables all the programs

we use.The OS organizes and controls the hardware.OS acts as an interface between the application

programs and the machine hardware.Examples: Windows, Linux, Unix and Mac OS,

etc.,

Page 5: Types of o.s

What OS does?

An operating system performs basic tasks such as,

controlling and allocating memory, prioritizing system requests, controlling input and output

devices, facilitating networking.

Page 6: Types of o.s

Providing user interface

Two most common types.

1) GUI (Graphical user interface)

2) Command line interface

Page 7: Types of o.s

GUI

A GUI uses windows, icons, and menus to carry out commands such as opening files, deleting files, moving files, etc.

Many GUI Operating Systems are operated by using a mouse, the keyboard can also be used by using keyboard shortcuts

Page 8: Types of o.s

GUI

System 7. xp Windows 98 Apple System 7 and Mac OS X

Page 9: Types of o.s

GUI

Page 10: Types of o.s

CLI

Referred to as the command line interface or a text interface.

Navigated by typing commands at prompts.

Uses a keyboard to navigate by entering commands and does not utilize a mouse.

Page 11: Types of o.s

CLI

Page 12: Types of o.s

Types of o.s

Batch systemReal time o.sSingle-user/single taskingSingle-user/multitaskingMulti user/multitasking Time sharing system

Page 13: Types of o.s

Batch System Such systems in which the user does

not get to interact with his/her jobs and jobs with similar needs are executed in a “batch”, one after the other, are known as batch systems.

drives as input devices are line printers, tape drives, and card punches as output devices.

Page 14: Types of o.s

Batch System All FORTRAN programs were

complied one after the other. The major task of such an operating system was to transfer control automatically from one job to the next.

In this execution environment, the CPU is

often idle because the speeds of the mechanical I/O devices such as a tape drive are slower than that of electronic devices.

Page 15: Types of o.s

Real Time System

A real-time system is one that must process information and produce a response within a specified time.

Page 16: Types of o.s

Real Time System

Any system in which the time at which output is produced is significant.

Time an important factor. That is, in a system with a real-time

constraint it is no good to have the correct action or the correct answer after a certain deadline.

Page 17: Types of o.s

Types of Real Time System Soft Real Time System

all practical systems can be said to be real-time systems because they must produce an output or respond to the user’s commands within a reasonable amount of time.

However a small delay is bearable.

(insurance company responding to letters, word processor displaying what was typed on the screen, mobile phones responding)

Page 18: Types of o.s

Types of Real Time System Hard Real Time System

Systems where failure to meet response time constraints leads to catastrophic system failure.

Modern world interested in these systems.

(aircraft crashing, car skidding, patient dying before corrective action is performed)

Page 19: Types of o.s

Single user/Single tasking OS

One user works on the system

Performs one task at a time

Page 20: Types of o.s

Single user/Single tasking OS

One user works on the systemPerforms one task at a timeMS-DOS and Palm OSTake up little space on diskRun on inexpensive

computers

Page 21: Types of o.s

Single-user/multitasking

User performs many tasks at onceMost common form of OS

Page 22: Types of o.s

Single-user/multitasking

They are popularly associated with Desk Top operating system which run on standalone systems where no user accounts are required.

Page 23: Types of o.s

Single-user/multitasking

They may run different types of

operating systems, including DOS, Windows, and Mac OS. Linux and UNIX operating

Operating System can take control

back from the running process and can give it to other.

Page 24: Types of o.s

Single-user/multitasking

Page 25: Types of o.s

Single-user/multitasking

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

Page 26: Types of o.s

Multi user/multitasking

Allows two or more users to run

programs at the same time.Many users connect to one computerThe operating system keeps

several jobs in memory simultaneously

Some operating systems permit hundreds or even thousands of concurrent users.

Page 27: Types of o.s

Multi user/multitasking

Each user has a unique session.

Requires a powerful computer

MAINFRAME

Page 28: Types of o.s

Multi user/multitasking

Page 29: Types of o.s

Time sharing System

Time-sharing or multitasking is a logical extension of multiprogramming.

Provide advantage of quick response.

Reduces CPU idle time.

Page 30: Types of o.s

Time sharing System

When the time runs out, the process is interrupted, and another process is

loaded into the CPU.

The act of giving each process a small slice of time to run is called time slicing.

Page 31: Types of o.s

CPU Time Slicing for Time Sharing

CPU

Process 1

Process 3

Main Memory

Process 2CurrentProcess

Repeat until all processes have completed.

Allocate CPU to Process 1

Allocate CPU to Process 2

Allocate CPU to Process 3

Page 32: Types of o.s