SlideShare a Scribd company logo
1 of 21
DISCOVER . LEARN . EMPOWER
UNIVERSITY INSTITUTE OF
ENGINEERING
Bachelor of Engineering
(Computer Science &
Engineering)
Operating System
Subject Coordinator: Er. Divya Verma(E13867)
Lecture 3
Types of Operating System
• Simple Batch Systems
• Multiprogrammed Batch Systems
• Time-sharing operating systems
• Distributed operating System
• Network operating System
• Real Time operating System
Hard real-time systems
Soft real-time systems
Batch operating system
 In early days, computer work was given on punch cards and then these punch cards
behave as input to the computer.
 These jobs or batch jobs were then executed by the computer one by one. So that
computers were called as batch computers or batch systems.
 The work done by batch systems are in parts i.e. one job is processed then another
job in the queue is processed and so on.
 The various jobs of the users are collected in a queue. This process is known as
Spooling (Simultaneous Peripheral Operations On Line).
Memory Layout for a Simple
Batch System
OS
User
Program
Area
Batch Processing system
Advantages -
• Repeated jobs are done fast in batch systems without user interaction.
• You don’t need special hardware and system support to input data in batch systems.
• Best for large organizations but small organizations can also benefit from it.
Disadvantages -
• Lack of interaction between the user and job.
• CPU is often idle, because the speeds of the mechanical I/O devices is slower than
CPU.
• Difficult to provide the desired priority.
Examples – Payroll systems, Bank statements…etc.
Batch operating system
Multiprogrammed Systems
 This allows to execute multiple programs.
 In this, several processes are kept in memory (set of jobs are kept in Job Pool) & CPU
execute all these processes concurrently.
 When one process start performing I/O operations , the CPU is allocated to another user
process in the main memory that is ready to use the CPU.
 Multiprogramming increases CPU utilization by organizing jobs so that the CPU
always has one to execute.
Memory layout for a
multiprogramming system.
Multiprogrammed Systems
Advantages –
• It increases CPU utilization.
• It increases throughput also by utilizing idle time of CPU for running other
programs that are already present in main memory.
• It lowers the Response time by recognizing the priority of a job as it enters the
system & by processing jobs on a priority basis.
Disadvantages -
• It is fairly sophisticated and more complex.
• A multiprogramming operating system must keep track of all kinds of jobs it is
concurrently running.
• Time-sharing or Multitasking is a logical extension of
multiprogramming.
• Processor's time which is shared among multiple users simultaneously is termed as time-
sharing.
• It refers to term where multiple jobs are executed by the CPU simultaneously by
switching between them.
• A time sharing operating system is that in which each task is given some time to execute
and all tasks are given time so that all processes run seamlessly without any problem.
• Suppose there are many users attached to a single system then each user has given time
of CPU.
• No user can feel to have trouble in using the system
Multitasking and Time-sharing
operating systems
Multitasking and
Time-sharing operating systems
Advantages –
• Provide advantage of quick response.
• Reduces CPU idle time.
Disadvantages -
• Problem of reliability.
• Security and Integrity of user programs and data is at risk.
• It consumes much resources so it need special operating systems.
• Switching between tasks becomes overhead sometimes.
Multitasking and Time-sharing
operating systems
Multiprocessing systems
• Multiprocessing is the use of two or more central processing units (CPUs)
within a single computer system.
• The term also refers to the ability of a system to support more than one
processor and/or the ability to allocate tasks between them.
Advantage -
1.Increased throughput
2.Economy of scale
3. Increased reliability
Disadvantage -
1) If one processor fails then it will affect in the speed
2) Multiprocessor systems are expensive
3) Large main memory required.
•
Types of Multiprocessor systems
 Symmetric Multiprocessor (SMP) –
In this, each CPU runs an identical copy of OS and can communicate as needed.
 Asymmetric Multiprocessor (ASMP) –
In this, each processor assigned a specific task. This model is called master-slave
since one CPU is the master and all the others are slaves.
Distributed systems
 Distributed systems use multiple central processors to serve multiple real time
application and multiple users.
 Data processing jobs are distributed among the processors accordingly to which
one can perform each job most efficiently.
 The processors communicate with one another through various communication
lines (such as high-speed buses or telephone lines). These are referred as loosely
coupled systems or distributed systems.
 Processors in a distributed system may vary in size and function. These processors
are referred as sites, nodes, computers and so on.
Advantages –
• Speedup the exchange of data with one another via electronic mail.
• Reduction of the load on the host computer.
• Reliability (fault tolerance) - if some of the machines crash, the system can survive.
• Sharing of data/resources - shared data is essential to many applications (banking,
computer- supported cooperative work, reservation systems); other resources can be
also shared (e.g. expensive printers).
Disadvantages –
• Complex System - Distributed systems are much more complex to setup and
difficult to maintain.
• Security problems - sharing generates the problem of data security.
• Networking problems: several problems are created by the network infrastructure,
which have to be dealt with: loss of messages, overloading, ...
Distributed systems
Real Time Systems
• A real time operating system is the type of system which uses maximum time and
resources to output exact and on the time result.
• There is no difference between the results when same problem run on different occasion
on same machine.
• Real System is always on line whereas on line system need not be real time.
• Real-time systems are used when there are rigid time requirements on the operation of a
processor or the flow of data and real-time systems can be used as a control device in a
dedicated application.
• Real-time operating system has well-defined, fixed time constraints otherwise system will
fail.
• Example Scientific experiments, medical imaging systems, industrial control systems,
weapon systems, robots, and home-applicance controllers, Air traffic control system etc.
Hard real-time systems -
• Hard real-time systems guarantee that critical tasks complete on time. For Ex. Scientific
experiments, medical imaging systems, industrial control systems, weapon systems,
robots, and home-applicance controllers, Air traffic control system etc.
Soft real-time systems -
• Soft real time systems are less restrictive. Critical real-time task gets priority over other
tasks and retains the priority until it completes. Soft real-time systems have limited
utility than hard real-time systems.For example, Multimedia, virtual reality, Advanced
Scientific Projects like undersea exploration and planetary rovers etc.
Types of real-time operating systems
Advantages -
• Focus on Application - These type of operating system focus on applications
which are running and usually give less importance to other application residing in
waiting stage of life cycle. So less applications or tasks are managed and give exact
result on current execution work.
• Error Free - RTOS (Real Time Operating System) is error free that mean it has no
chances of error in performing tasks.
• 24-7 systems: – RTOS can be best used for any applications which run 24 hours
and 7 days because it do less task shifting and give maximum output.
• Memory Allocation: - Memory allocation is best managed in these type of
systems.
Disadvantages –
• Expensive: - RTOS are usually very expensive because of the resources they need
to work.
• Not easy to program: - The designer have to write proficient program for real time
operating system which is not easy as a piece of cake.
• Low Priority Tasks: - The low priority tasks may not get time to run because these
systems have to keep accuracy of current running programs
Real-time operating systems
Conclusion
Learning this lecture will enable the students to understand various
types of operating systems. It also gives students the opportunity to
compare different types of operating systems on the basis of advantages
and disadvantages mentioned in these slides.
References
https://www.includehelp.com/c-programming-questions/
https://www.studytonight.com/operating-system/
https://computing.llnl.gov/tutorials/
https://www.tutorialspoint.com/operating_system/index.htm#:~:text=An%20operating%20system%
20(OS)%20is,software%20in%20a%20computer%20system.
https://www.javatpoint.com/os-tutorial
https://www.guru99.com/operating-system-tutorial.html
https://www.geeksforgeeks.org/operating-systems/

More Related Content

Similar to Types of operating system.................

CS197OSTYPES.pdf
CS197OSTYPES.pdfCS197OSTYPES.pdf
CS197OSTYPES.pdfOmid695066
 
Operating System Components.pptx
Operating System Components.pptxOperating System Components.pptx
Operating System Components.pptxpkavithascs
 
EMBEDDED OS
EMBEDDED OSEMBEDDED OS
EMBEDDED OSAJAL A J
 
Operating System DOS and Windows
Operating System DOS and WindowsOperating System DOS and Windows
Operating System DOS and WindowsYasirKhan357
 
Unit1typesofos.pptx
Unit1typesofos.pptxUnit1typesofos.pptx
Unit1typesofos.pptxdudoo1
 
Operating system concepts
Operating system conceptsOperating system concepts
Operating system conceptsArnav Chowdhury
 
4-Process control block.pptx
4-Process control block.pptx4-Process control block.pptx
4-Process control block.pptxsania458451
 
4-Process control block.pptx
4-Process control block.pptx4-Process control block.pptx
4-Process control block.pptxsania458451
 
Operating system 08 time sharing and multitasking operating system
Operating system 08 time sharing and multitasking operating systemOperating system 08 time sharing and multitasking operating system
Operating system 08 time sharing and multitasking operating systemVaibhav Khanna
 
4 Module - Operating Systems Configuration and Use by Mark John Lado
4 Module - Operating Systems Configuration and Use by Mark John Lado4 Module - Operating Systems Configuration and Use by Mark John Lado
4 Module - Operating Systems Configuration and Use by Mark John LadoMark John Lado, MIT
 
Evolution, Strutcture and Operations.pptx
Evolution, Strutcture and Operations.pptxEvolution, Strutcture and Operations.pptx
Evolution, Strutcture and Operations.pptxssuser000e54
 

Similar to Types of operating system................. (20)

CS197OSTYPES.pdf
CS197OSTYPES.pdfCS197OSTYPES.pdf
CS197OSTYPES.pdf
 
Operating System-adi.pdf
Operating System-adi.pdfOperating System-adi.pdf
Operating System-adi.pdf
 
Operating System Components.pptx
Operating System Components.pptxOperating System Components.pptx
Operating System Components.pptx
 
Introduction to operating systems
 Introduction to operating systems Introduction to operating systems
Introduction to operating systems
 
EMBEDDED OS
EMBEDDED OSEMBEDDED OS
EMBEDDED OS
 
Operating System DOS and Windows
Operating System DOS and WindowsOperating System DOS and Windows
Operating System DOS and Windows
 
Mainframe systems
Mainframe systemsMainframe systems
Mainframe systems
 
Unit1typesofos.pptx
Unit1typesofos.pptxUnit1typesofos.pptx
Unit1typesofos.pptx
 
Operating system concepts
Operating system conceptsOperating system concepts
Operating system concepts
 
4-Process control block.pptx
4-Process control block.pptx4-Process control block.pptx
4-Process control block.pptx
 
4-Process control block.pptx
4-Process control block.pptx4-Process control block.pptx
4-Process control block.pptx
 
Operating System
Operating SystemOperating System
Operating System
 
Os unit i
Os unit iOs unit i
Os unit i
 
EE469-ch1.pptx
EE469-ch1.pptxEE469-ch1.pptx
EE469-ch1.pptx
 
EE469-ch1.pptx
EE469-ch1.pptxEE469-ch1.pptx
EE469-ch1.pptx
 
Operating system 08 time sharing and multitasking operating system
Operating system 08 time sharing and multitasking operating systemOperating system 08 time sharing and multitasking operating system
Operating system 08 time sharing and multitasking operating system
 
1. Introduction to OS.ppt
1. Introduction to OS.ppt1. Introduction to OS.ppt
1. Introduction to OS.ppt
 
4 Module - Operating Systems Configuration and Use by Mark John Lado
4 Module - Operating Systems Configuration and Use by Mark John Lado4 Module - Operating Systems Configuration and Use by Mark John Lado
4 Module - Operating Systems Configuration and Use by Mark John Lado
 
Os concepts
Os conceptsOs concepts
Os concepts
 
Evolution, Strutcture and Operations.pptx
Evolution, Strutcture and Operations.pptxEvolution, Strutcture and Operations.pptx
Evolution, Strutcture and Operations.pptx
 

Recently uploaded

SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 

Recently uploaded (20)

SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 

Types of operating system.................

  • 1. DISCOVER . LEARN . EMPOWER UNIVERSITY INSTITUTE OF ENGINEERING Bachelor of Engineering (Computer Science & Engineering) Operating System Subject Coordinator: Er. Divya Verma(E13867)
  • 2. Lecture 3 Types of Operating System • Simple Batch Systems • Multiprogrammed Batch Systems • Time-sharing operating systems • Distributed operating System • Network operating System • Real Time operating System Hard real-time systems Soft real-time systems
  • 3. Batch operating system  In early days, computer work was given on punch cards and then these punch cards behave as input to the computer.  These jobs or batch jobs were then executed by the computer one by one. So that computers were called as batch computers or batch systems.  The work done by batch systems are in parts i.e. one job is processed then another job in the queue is processed and so on.  The various jobs of the users are collected in a queue. This process is known as Spooling (Simultaneous Peripheral Operations On Line).
  • 4. Memory Layout for a Simple Batch System OS User Program Area
  • 6. Advantages - • Repeated jobs are done fast in batch systems without user interaction. • You don’t need special hardware and system support to input data in batch systems. • Best for large organizations but small organizations can also benefit from it. Disadvantages - • Lack of interaction between the user and job. • CPU is often idle, because the speeds of the mechanical I/O devices is slower than CPU. • Difficult to provide the desired priority. Examples – Payroll systems, Bank statements…etc. Batch operating system
  • 7. Multiprogrammed Systems  This allows to execute multiple programs.  In this, several processes are kept in memory (set of jobs are kept in Job Pool) & CPU execute all these processes concurrently.  When one process start performing I/O operations , the CPU is allocated to another user process in the main memory that is ready to use the CPU.  Multiprogramming increases CPU utilization by organizing jobs so that the CPU always has one to execute.
  • 8. Memory layout for a multiprogramming system.
  • 9. Multiprogrammed Systems Advantages – • It increases CPU utilization. • It increases throughput also by utilizing idle time of CPU for running other programs that are already present in main memory. • It lowers the Response time by recognizing the priority of a job as it enters the system & by processing jobs on a priority basis. Disadvantages - • It is fairly sophisticated and more complex. • A multiprogramming operating system must keep track of all kinds of jobs it is concurrently running.
  • 10. • Time-sharing or Multitasking is a logical extension of multiprogramming. • Processor's time which is shared among multiple users simultaneously is termed as time- sharing. • It refers to term where multiple jobs are executed by the CPU simultaneously by switching between them. • A time sharing operating system is that in which each task is given some time to execute and all tasks are given time so that all processes run seamlessly without any problem. • Suppose there are many users attached to a single system then each user has given time of CPU. • No user can feel to have trouble in using the system Multitasking and Time-sharing operating systems
  • 12. Advantages – • Provide advantage of quick response. • Reduces CPU idle time. Disadvantages - • Problem of reliability. • Security and Integrity of user programs and data is at risk. • It consumes much resources so it need special operating systems. • Switching between tasks becomes overhead sometimes. Multitasking and Time-sharing operating systems
  • 13. Multiprocessing systems • Multiprocessing is the use of two or more central processing units (CPUs) within a single computer system. • The term also refers to the ability of a system to support more than one processor and/or the ability to allocate tasks between them. Advantage - 1.Increased throughput 2.Economy of scale 3. Increased reliability Disadvantage - 1) If one processor fails then it will affect in the speed 2) Multiprocessor systems are expensive 3) Large main memory required. •
  • 14. Types of Multiprocessor systems  Symmetric Multiprocessor (SMP) – In this, each CPU runs an identical copy of OS and can communicate as needed.  Asymmetric Multiprocessor (ASMP) – In this, each processor assigned a specific task. This model is called master-slave since one CPU is the master and all the others are slaves.
  • 15. Distributed systems  Distributed systems use multiple central processors to serve multiple real time application and multiple users.  Data processing jobs are distributed among the processors accordingly to which one can perform each job most efficiently.  The processors communicate with one another through various communication lines (such as high-speed buses or telephone lines). These are referred as loosely coupled systems or distributed systems.  Processors in a distributed system may vary in size and function. These processors are referred as sites, nodes, computers and so on.
  • 16. Advantages – • Speedup the exchange of data with one another via electronic mail. • Reduction of the load on the host computer. • Reliability (fault tolerance) - if some of the machines crash, the system can survive. • Sharing of data/resources - shared data is essential to many applications (banking, computer- supported cooperative work, reservation systems); other resources can be also shared (e.g. expensive printers). Disadvantages – • Complex System - Distributed systems are much more complex to setup and difficult to maintain. • Security problems - sharing generates the problem of data security. • Networking problems: several problems are created by the network infrastructure, which have to be dealt with: loss of messages, overloading, ... Distributed systems
  • 17. Real Time Systems • A real time operating system is the type of system which uses maximum time and resources to output exact and on the time result. • There is no difference between the results when same problem run on different occasion on same machine. • Real System is always on line whereas on line system need not be real time. • Real-time systems are used when there are rigid time requirements on the operation of a processor or the flow of data and real-time systems can be used as a control device in a dedicated application. • Real-time operating system has well-defined, fixed time constraints otherwise system will fail. • Example Scientific experiments, medical imaging systems, industrial control systems, weapon systems, robots, and home-applicance controllers, Air traffic control system etc.
  • 18. Hard real-time systems - • Hard real-time systems guarantee that critical tasks complete on time. For Ex. Scientific experiments, medical imaging systems, industrial control systems, weapon systems, robots, and home-applicance controllers, Air traffic control system etc. Soft real-time systems - • Soft real time systems are less restrictive. Critical real-time task gets priority over other tasks and retains the priority until it completes. Soft real-time systems have limited utility than hard real-time systems.For example, Multimedia, virtual reality, Advanced Scientific Projects like undersea exploration and planetary rovers etc. Types of real-time operating systems
  • 19. Advantages - • Focus on Application - These type of operating system focus on applications which are running and usually give less importance to other application residing in waiting stage of life cycle. So less applications or tasks are managed and give exact result on current execution work. • Error Free - RTOS (Real Time Operating System) is error free that mean it has no chances of error in performing tasks. • 24-7 systems: – RTOS can be best used for any applications which run 24 hours and 7 days because it do less task shifting and give maximum output. • Memory Allocation: - Memory allocation is best managed in these type of systems. Disadvantages – • Expensive: - RTOS are usually very expensive because of the resources they need to work. • Not easy to program: - The designer have to write proficient program for real time operating system which is not easy as a piece of cake. • Low Priority Tasks: - The low priority tasks may not get time to run because these systems have to keep accuracy of current running programs Real-time operating systems
  • 20. Conclusion Learning this lecture will enable the students to understand various types of operating systems. It also gives students the opportunity to compare different types of operating systems on the basis of advantages and disadvantages mentioned in these slides.