Operating system
An operating systemis a program that acts as an interface between the software and the
computer hardware.
It is an integration set of specialized programs that are used to manage overall resources and
operations of the computer. It is a specialized software that controls and monitors the
execution of all other programs that reside in the computer, including application programs and
other system software.
Example of Operating system:
 MS-DOS
 Window 95
 Window NT
 Window vista
 UNIX
The main Goals and Objective of Operating systemare:
 To make a computer user friendly.
 Proper utilization of computer resources.
 To hide the details of the hardware resources from the users.
 To provide users a convenient interface to use the computer system.
Characteristics of Operating System
 Memory Management -- It keeps track of primary memory, i.e., what parts of it are in
use by whom, what parts are not in use, etc. Allocates the memory when the process or
program requests it.
 Processor Management -- Allocates the processor (CPU) to a process. De-allocate
processor when processor is no longer required.
 Device Management -- Keeps tracks of all devices. This is also called I/O controller.
Decides which process gets the device when and for how much time.
 File Management -- Allocates the resources. De-allocates the resource. Decides who
gets the resources.
 Security -- By means of passwords & similar other techniques, preventing unauthorized
access to programs & data.
Types of Operating Systems
Operating systemmay be classified in the following categories:
1. Batch Operating System
2. Multiprogramming Operating System
3. Time sharing Operating System
4. Real Time Operating System
5. Multitasking Operating System
6. Multiprocessor Operating System
 Batch operating system
The Batch operating systemdo not allow user to interact with the computer directly. Each user
prepares his jobs an punch them on punch cards and submit it to the computer operator.
The operator sorts jobs into batches with similar requirements and runs each batch on the
computer. When the job is complete it output is sent back to the appropriate user.
In Batch operating system the major task performs by operating systemis to transfer the
control automatically from one job to the next.
Advantages:
 Resource management and allocation is easy.
 Faster than early operating system
Disadvantage:
 Lack of interaction between the user and the job while job is executing.
 Utilization of CPU is very poor.
 Turnaround time is high.
 Multiprogramming Operating System
As far as batch processing was concerned the number of programs were loaded in a sequence
in the main memory, and the program remain the occupant of main memory until the
execution of program get completed. This lead to under utilization of system resources such as
CPU and memory.
To overcome this problem we introduce the concept of multiprogramming
Multiprogrammings refer to execution of two or more different program by the same
computer. This is done by switching the CPU from one program to another. In
multiprogramming systemwhen one program during execution need I/O transfer, the CPU
switches to the other program and start its execution.
For example:
For example consider we are having three user jobs(A, B and C) residing in memory out of
which job A is performing I/O operation, job B is executing and job C is waiting for CPU to
become free.
Operatingsystem
Job A (Blocked)
JobB (Running)
JobC (Ready)
CPU
PerformingI/O
Executionof
program by
CPU
In case of Multiprogramming all jobs residing in main memory are in one of the following
states:
1. Running( using a CPU)
2. Blocked (performing I/O operation)
3. Ready (waiting for CPU)
Requirements of Multiprogramming System
 Large memory
 Memory Protection
 Job status preservation
 CPU scheduling
Advantages:
 Increased Throughput
 Shorter Response Time
 Proper utilization of CPU
Disadvantages:
 Requirement of large memory
 Require proper CPU scheduling
 Require proper memory protection.
 Time Sharing Operating System
Time sharing system has many user terminals connected to the same computer
simultaneously. Using these terminals multiple users can work on the system
simultaneously. Multiprogramming feature allow multiple user program to reside
simultaneously in main memory and special CPU scheduling algorithm allocates a short
period of CPU time one by one to each user process.
The short period during which a user process gets to use CPU is known as Time slice or
Time Quantum.
When CPU is allocated to a user process it use the CPU until the allotted time slice
expires or it need to perform some I/O operation or it complete its execution during this
period.
Notice that CPU is taken away from a running process when its time slice is expires.
Requirements of Time Sharing System:
 Require large memory to support multiprogramming.
 Memory protection mechanism to prevent a jobs instruction and data.
 Job status preservation mechanism to preserve a job status information.
 CPU scheduling algorithm.
Advantages:
 Reduce CPU idle time
 Provide quick response time
 Reduce the output of paper
 Avoid duplication of software
Disadvantages:
 Problem of data communication
 Problem of reliability
 Real Time Operating System
Real time system is define as a data processing systemin which the time interval required
to process & respond to input is so small that it control the environment. Real time
processing is always on-line whereas on line systemneed not be real time. Real time system
operates in multiprocessing and multiprogramming environment. In real time systemtime
is critical. The real time processing system can basically classify into two categories:
1. Soft Real Time processing
2. Hard Real Time processing
Readystate RunningState
Blockedstate
Newjob Job
terminate
Require I/O
operation
Jobis allocatedCPU
Allottedtime slice
over
I/Ooperation
completed
Example of Real Time processing:
 Air traffic control system
 Reservation System
 System provides Stock information etc.
Requirements of Real Time Processing:
 Large main memory
 Large Disk memory
 Complex communication system
Advantages:
 Response time is very less
 Better Throughput
 Large memory
 24 hour service provider
 Provide information up to date.
Disadvantage:
 Very costly
 Large main memory and secondary storage required
 Complex communication system
 Multitasking Operating System
It is the ability to do more than one thing at any given time. While referring to computer
multitasking is having more than one application open at a time.
For example: at some time me might be downloading some things from internet, as well as
we are writing mail to our friend and listening to music also.
The term multitasking and multiprogramming are often used interchangeably, although
multiprogramming processing sometime implies that more than one CPU is involved. In
multitasking , only one CPU is involved, but it switches from one program to another so
quickly that it gives the appearance of executing of all of program at same time.
 Multiprocessing Operating System
This technique consists of two or more CPU connected to common peripherals. Instruction
from different program may either be processed by different CPU or one or more
processors may execute instruction from the same program. This technique can serve a
purpose only in large computer.
Generally multiprocessing are used in two ways:
1. Symmetric Multiprocessor:
In symmetric multiprocessor each processor run an identically copy of the operating
system and these copies communicate with one another when needed.
2. Asymmetric Multiprocessor:
In asymmetric multiprocessor each processor is assigned a special task. In this
scheme there is a master processor and all other processor known as slave
processor are controlled by the master processor.
Advantages:
 Better throughput
 Better reliability
 Better utilization of resource
Disadvantages:
 Large main memory
 Such systemare very expensive
 Require regular operation and maintenance
 High initial cost

More Related Content

PPT
Operatingsystems lecture2
PPTX
Revant Rastogi
PPTX
PPT
Basics of Operating System
DOC
operating system lecture notes
PDF
Operating System
DOC
Operating System
PPTX
Operating system || Chapter 3: Process
Operatingsystems lecture2
Revant Rastogi
Basics of Operating System
operating system lecture notes
Operating System
Operating System
Operating system || Chapter 3: Process

What's hot (20)

PPTX
Session1 intro to_os
PDF
Os notes
DOCX
operating system question bank
PPTX
Types of operating system
PPT
OS - Ch1
PDF
Introduction to Operating Systems
PDF
Operating System Lecture Notes
PPTX
Types of operating system
PPT
Ch 9 types of computer operations
PPT
Silberschatz / OS Concepts
PPTX
Operating system interview question
DOCX
Os solved question paper
PPTX
Register
PPTX
Multitasking
PPTX
Operating system introducton and tyes
PDF
Operating system notes pdf
PPT
09.1 types of computer operation
PPTX
Introduction to Operating System
PPT
Operating Systems
PPT
Operating System
Session1 intro to_os
Os notes
operating system question bank
Types of operating system
OS - Ch1
Introduction to Operating Systems
Operating System Lecture Notes
Types of operating system
Ch 9 types of computer operations
Silberschatz / OS Concepts
Operating system interview question
Os solved question paper
Register
Multitasking
Operating system introducton and tyes
Operating system notes pdf
09.1 types of computer operation
Introduction to Operating System
Operating Systems
Operating System
Ad

Viewers also liked (20)

PPTX
Demographics
PDF
Clipping cnc 12022015 versão de impressão
PDF
Clipping cnc 06072015 versão de impressão
DOC
Formato factura
PPT
Internet presentación
DOCX
Decimo tres tarde autotronica
PPTX
El mejor momento para morir
PDF
Clipping cnc 05062014 versao de impressao
DOC
Cauti handout
PPTX
Região centro oeste
PDF
Ponencia Jornada técnica “Proyectos europeos en eficiencia energética en edif...
DOCX
Planilla de calificaciones
DOCX
Tajul besar
TXT
el aborto
PDF
Clipping cnc 07072014 versao de impressao
PPTX
Negocios impacto 1212 sha
PDF
Tamanho e densidade
PDF
Adaptações sociais humanas
Demographics
Clipping cnc 12022015 versão de impressão
Clipping cnc 06072015 versão de impressão
Formato factura
Internet presentación
Decimo tres tarde autotronica
El mejor momento para morir
Clipping cnc 05062014 versao de impressao
Cauti handout
Região centro oeste
Ponencia Jornada técnica “Proyectos europeos en eficiencia energética en edif...
Planilla de calificaciones
Tajul besar
el aborto
Clipping cnc 07072014 versao de impressao
Negocios impacto 1212 sha
Tamanho e densidade
Adaptações sociais humanas
Ad

Similar to Operating system (20)

PDF
3330701_unit-1_operating-system-concepts.pdf
PPTX
4-Process control block.pptx
PDF
Os notes 1_5
PDF
Operating System Overview.pdf
PPTX
1. Introduction to Operating System, Types.pptx
PPTX
Types or evolution of operating system
PPTX
PPTX
Fundamental Operating System Concepts.pptx
PDF
TYPES-OF-OSvnxbjxgjsjgsgjsgj gjzutsugsugsgussgj.pdf
PDF
Operating system Concepts
PDF
Types of Operating Systems-converted.pdf
PDF
Types of Operating System-converted.pdf
DOCX
A brief introduction about an operating system and its architecture
PPTX
os unit 1 (2).pptx. introduction to operating systems
PPTX
Overview Of Operating System and its Basics
PPTX
Overview Of Operating Systems and its Basics
DOCX
Operating system
PPTX
OPERATING SYSTEM UNIT-1 [Autosaved].pptx
PPTX
Advanced computer architecture lesson 1 and 2
PDF
OS Unit-1 Types of AWSM packages and code script awsm1c2.pptxOS.pdf
3330701_unit-1_operating-system-concepts.pdf
4-Process control block.pptx
Os notes 1_5
Operating System Overview.pdf
1. Introduction to Operating System, Types.pptx
Types or evolution of operating system
Fundamental Operating System Concepts.pptx
TYPES-OF-OSvnxbjxgjsjgsgjsgj gjzutsugsugsgussgj.pdf
Operating system Concepts
Types of Operating Systems-converted.pdf
Types of Operating System-converted.pdf
A brief introduction about an operating system and its architecture
os unit 1 (2).pptx. introduction to operating systems
Overview Of Operating System and its Basics
Overview Of Operating Systems and its Basics
Operating system
OPERATING SYSTEM UNIT-1 [Autosaved].pptx
Advanced computer architecture lesson 1 and 2
OS Unit-1 Types of AWSM packages and code script awsm1c2.pptxOS.pdf

Recently uploaded (20)

PDF
advance database management system book.pdf
PDF
Trump Administration's workforce development strategy
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PPTX
TNA_Presentation-1-Final(SAVE)) (1).pptx
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PPTX
History, Philosophy and sociology of education (1).pptx
PPTX
Unit 4 Computer Architecture Multicore Processor.pptx
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PPTX
Computer Architecture Input Output Memory.pptx
PDF
Complications of Minimal Access-Surgery.pdf
PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
advance database management system book.pdf
Trump Administration's workforce development strategy
LDMMIA Reiki Yoga Finals Review Spring Summer
TNA_Presentation-1-Final(SAVE)) (1).pptx
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
A powerpoint presentation on the Revised K-10 Science Shaping Paper
What if we spent less time fighting change, and more time building what’s rig...
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
Practical Manual AGRO-233 Principles and Practices of Natural Farming
History, Philosophy and sociology of education (1).pptx
Unit 4 Computer Architecture Multicore Processor.pptx
AI-driven educational solutions for real-life interventions in the Philippine...
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
Computer Architecture Input Output Memory.pptx
Complications of Minimal Access-Surgery.pdf
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
FORM 1 BIOLOGY MIND MAPS and their schemes
Paper A Mock Exam 9_ Attempt review.pdf.
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf

Operating system

  • 1. Operating system An operating systemis a program that acts as an interface between the software and the computer hardware. It is an integration set of specialized programs that are used to manage overall resources and operations of the computer. It is a specialized software that controls and monitors the execution of all other programs that reside in the computer, including application programs and other system software. Example of Operating system:  MS-DOS  Window 95  Window NT  Window vista  UNIX The main Goals and Objective of Operating systemare:  To make a computer user friendly.  Proper utilization of computer resources.  To hide the details of the hardware resources from the users.  To provide users a convenient interface to use the computer system.
  • 2. Characteristics of Operating System  Memory Management -- It keeps track of primary memory, i.e., what parts of it are in use by whom, what parts are not in use, etc. Allocates the memory when the process or program requests it.  Processor Management -- Allocates the processor (CPU) to a process. De-allocate processor when processor is no longer required.  Device Management -- Keeps tracks of all devices. This is also called I/O controller. Decides which process gets the device when and for how much time.  File Management -- Allocates the resources. De-allocates the resource. Decides who gets the resources.  Security -- By means of passwords & similar other techniques, preventing unauthorized access to programs & data. Types of Operating Systems Operating systemmay be classified in the following categories: 1. Batch Operating System 2. Multiprogramming Operating System 3. Time sharing Operating System 4. Real Time Operating System 5. Multitasking Operating System 6. Multiprocessor Operating System  Batch operating system The Batch operating systemdo not allow user to interact with the computer directly. Each user prepares his jobs an punch them on punch cards and submit it to the computer operator. The operator sorts jobs into batches with similar requirements and runs each batch on the computer. When the job is complete it output is sent back to the appropriate user. In Batch operating system the major task performs by operating systemis to transfer the control automatically from one job to the next. Advantages:  Resource management and allocation is easy.  Faster than early operating system
  • 3. Disadvantage:  Lack of interaction between the user and the job while job is executing.  Utilization of CPU is very poor.  Turnaround time is high.  Multiprogramming Operating System As far as batch processing was concerned the number of programs were loaded in a sequence in the main memory, and the program remain the occupant of main memory until the execution of program get completed. This lead to under utilization of system resources such as CPU and memory. To overcome this problem we introduce the concept of multiprogramming Multiprogrammings refer to execution of two or more different program by the same computer. This is done by switching the CPU from one program to another. In multiprogramming systemwhen one program during execution need I/O transfer, the CPU switches to the other program and start its execution. For example: For example consider we are having three user jobs(A, B and C) residing in memory out of which job A is performing I/O operation, job B is executing and job C is waiting for CPU to become free. Operatingsystem Job A (Blocked) JobB (Running) JobC (Ready) CPU PerformingI/O Executionof program by CPU
  • 4. In case of Multiprogramming all jobs residing in main memory are in one of the following states: 1. Running( using a CPU) 2. Blocked (performing I/O operation) 3. Ready (waiting for CPU) Requirements of Multiprogramming System  Large memory  Memory Protection  Job status preservation  CPU scheduling Advantages:  Increased Throughput  Shorter Response Time  Proper utilization of CPU Disadvantages:  Requirement of large memory  Require proper CPU scheduling  Require proper memory protection.  Time Sharing Operating System Time sharing system has many user terminals connected to the same computer simultaneously. Using these terminals multiple users can work on the system simultaneously. Multiprogramming feature allow multiple user program to reside simultaneously in main memory and special CPU scheduling algorithm allocates a short period of CPU time one by one to each user process. The short period during which a user process gets to use CPU is known as Time slice or Time Quantum. When CPU is allocated to a user process it use the CPU until the allotted time slice expires or it need to perform some I/O operation or it complete its execution during this period. Notice that CPU is taken away from a running process when its time slice is expires.
  • 5. Requirements of Time Sharing System:  Require large memory to support multiprogramming.  Memory protection mechanism to prevent a jobs instruction and data.  Job status preservation mechanism to preserve a job status information.  CPU scheduling algorithm. Advantages:  Reduce CPU idle time  Provide quick response time  Reduce the output of paper  Avoid duplication of software Disadvantages:  Problem of data communication  Problem of reliability  Real Time Operating System Real time system is define as a data processing systemin which the time interval required to process & respond to input is so small that it control the environment. Real time processing is always on-line whereas on line systemneed not be real time. Real time system operates in multiprocessing and multiprogramming environment. In real time systemtime is critical. The real time processing system can basically classify into two categories: 1. Soft Real Time processing 2. Hard Real Time processing Readystate RunningState Blockedstate Newjob Job terminate Require I/O operation Jobis allocatedCPU Allottedtime slice over I/Ooperation completed
  • 6. Example of Real Time processing:  Air traffic control system  Reservation System  System provides Stock information etc. Requirements of Real Time Processing:  Large main memory  Large Disk memory  Complex communication system Advantages:  Response time is very less  Better Throughput  Large memory  24 hour service provider  Provide information up to date. Disadvantage:  Very costly  Large main memory and secondary storage required  Complex communication system  Multitasking Operating System It is the ability to do more than one thing at any given time. While referring to computer multitasking is having more than one application open at a time. For example: at some time me might be downloading some things from internet, as well as we are writing mail to our friend and listening to music also. The term multitasking and multiprogramming are often used interchangeably, although multiprogramming processing sometime implies that more than one CPU is involved. In multitasking , only one CPU is involved, but it switches from one program to another so quickly that it gives the appearance of executing of all of program at same time.
  • 7.  Multiprocessing Operating System This technique consists of two or more CPU connected to common peripherals. Instruction from different program may either be processed by different CPU or one or more processors may execute instruction from the same program. This technique can serve a purpose only in large computer. Generally multiprocessing are used in two ways: 1. Symmetric Multiprocessor: In symmetric multiprocessor each processor run an identically copy of the operating system and these copies communicate with one another when needed. 2. Asymmetric Multiprocessor: In asymmetric multiprocessor each processor is assigned a special task. In this scheme there is a master processor and all other processor known as slave processor are controlled by the master processor. Advantages:  Better throughput  Better reliability  Better utilization of resource Disadvantages:  Large main memory  Such systemare very expensive  Require regular operation and maintenance  High initial cost