SlideShare una empresa de Scribd logo
1 de 55
Faculty Name- Aishwarya
aishwarya@inurture.co.in
Operating system principles-CSC433
Types of Operating Systems
Following are the popular types of OS (Operating System):
1. Batch Operating System
2. Multitasking OS
3. Time Sharing OS
4. Multiprocessing OS
5. Real Time OS
6. Distributed OS
7. Network OS
8. Mobile OS
x
Types of Operating System (OS)
Operating System - Types
• Batch processing: In the 1970s, batch processing was quite
popular. Batch processing was used to complete the tasks. People
used to use a mainframe, which was a single computer .
• Users that use batch OS do not interface with the computer
directly. Every user prepares their job and submits it to the
computer operator using an offline device such as a punch card.
• To speed up processing, jobs with comparable criteria are
aggregated and executed as a group
• After the programmers have handed over their programs to the
operator, they sort the programs into batches based on their
needs.
• Jobs that perform comparable functions were grouped together in
the batch operating system. These work groupings are processed
as a batch and run at the same time.
• A job is a single unit made up of a pre-programmed set of data, commands,
and programs.
• The orders are processed in the order in which these are received, meaning
first come, first served.
• These jobs are saved in memory and run without the need for any manual
input.
• The OS releases memory after a job is completed successfully.
 Some computer processes are very lengthy and time-consuming.
 To speed the same process, a job with a similar type of needs are batched
together and run as a group. (Punch card)
x
1. Batch Operating System
x
Batch Operating System
Examples are the
 Payroll System
 Bank Statement
 Repeated jobs can be completed easily without any
human intervention.
 Hardware or system support is not required to input
data in batch systems.
2. Multi programming Operating System
 Multiprogramming is an extension to batch processing where the CPU
is always kept busy.
 Each process needs two types of system time: CPU time and IO time.
 In a multiprogramming environment, when a process does its I/O, The
CPU can start the execution of other processes.
 Therefore, multiprogramming improves the efficiency of the system.
Multi programming Operating System
Multi programming Operating System
 Throughout the system, it increased as the CPU always had one
program to execute.
 Response time can also be reduced.
 Multiprogramming systems provide an environment in which various
systems resources are used efficiently, but they do not provide any
user interaction with the computer system
 The Multitasking OS is a logical extension of a Multiprogramming system
that enables multiple programs simultaneously.
 It allows a user to perform more than one computer task at the same time.
x
3. Multitasking OS
x
3. Multitasking OS
 Multi-tasking is a logical extension of multiprogramming. Multitasking
is the ability of an OS to execute more than one task simultaneously
on a CPU machine. These multiple tasks share common resources (like
CPU and memory).
 In multi-tasking systems, the CPU executes multiple jobs by switching
among them typically using a small time quantum, and the switches
occur so quickly that the users feel like interact with each executing
task at the same time.
x
3. Multitasking OS
 Time Sharing OS, computer resources are allocated in a time-dependent
fashion to several programs simultaneously.
 It helps to provide a large number of user's direct access to the main
computer.
x
4. Time-Sharing Operating System
Examples are the
 UNIX
 Multiprogrammed Batch Systems and Time-Sharing Systems is that in case of
Multiprogrammed batch systems, the objective is to maximize processor use,
whereas in Time-Sharing Systems, the objective is to minimize response time.
 Advantages of Timesharing operating systems are as follows −
 Provides the advantage of quick response.
 Avoids duplication of software.
 Reduces CPU idle time
 Disadvantages of Time-sharing operating systems are as follows −
 Problem of reliability.
 Question of security and integrity of user programs and data.
 Problem of data communication.
x
4. Time-Sharing Operating System
 In Multiprocessing, Parallel computing is achieved.
 There are more than one processors present in the system which can
execute more than one process at the same time.
x
5. Multiprocessing OS
 In Real-Time Systems, each job carries a certain deadline within which the
job is supposed to be completed.
 Otherwise, the huge loss will be there, or even if the result is produced, it
will be completely useless.
 Examples: Missile Systems, Medical Systems, air traffic control systems,
Robots, Space Systems etc…
Types
1. Soft RTOS  video surveillance (cctv), video player, virtual reality
2. Hard RTOS
x
5. Real Time OS
x
Real Time OS
 A distributed OS serves multiple applications and multiple users in real-
time.
 It allow a faster exchange of data among users.
 Failure in one site may not cause much disruption to the system.
 They reduce delays in data processing.
 They minimize the load on the host computer. x
6. Distributed OS
x
 Network Operating System runs on a server.
 It providing users with the capability to manage data, user groups and
applications.
 OS enables users to access and share files and devices such as printers,
security software and other applications, mostly in a local area network,
a private network.
x
7. Network OS
x
Examples are the
 UNIX
 LINUX
 Microsoft Windows Server 2008
 Mobile OS run exclusively on small devices such as smart-phones, tablets
and wearables.
 Mobile operating systems also manage wireless network connectivity.
 The most famous mobile operating systems are Android, iOS, BlackBerry,
Web, Symbian and watchOS.
x
8. Mobile OS
x
The main objectives of an Operating System are
1. Convenience
2. Efficiency
3. Ability to evolve
4. Management of System resources
x
Objectives of OS
The main objectives of an Operating System are
1. Convenience  An OS makes a computer more convenient to use.
2. Efficiency  An OS permits the resources to be used efficiently.
3. Ability to evolve  It should allow the effective development, testing and
introduction of new features without any interference with service.
4. Management of system resources  It guarantees that resources are shared
fairly among various processes and users.
Objectives of OS
1. To make the computer system convenient to use in an efficient manner.
2. To hide the details of the hardware resources from the users.
3. To provide users a convenient interface to use the computer system.
4. To manage the resources of a computer system.
Objectives of OS
5. To act as an intermediary between the hardware and its users, making it
easier for the users to access and use other resources.
6. To keep track of who is using which resource, granting resource requests,
and mediating conflicting requests from different programs and users.
7. To provide efficient and fair sharing of resources among users and
programs.
Objectives of OS
The main functions of Operating System
Functions of Operating System
The main functions of Operating System
Functions of Operating System
 It is the management of the main or primary memory.
 Whatever program is executed, it has to be present in the main memory.
 Main memory is a quick storage area that may be accessed directly by the
CPU.
 When the program is completed, the memory region is released and can be
used by other programs.
 Therefore, there can be more than one program present at a time.
 Hence, it is required to manage the memory.
1. Memory Management
The operating system:
1. Allocates and De-Allocates the memory.
2. Keeps a record of which part of primary memory is used by whom and how
much.
3. Distributes the memory while multiprocessing.
4. In multiprogramming, the operating system selects which processes acquire
memory when and how much memory they get.
Memory Management
 Process management helps OS to create and delete processes.
 It also provides mechanisms for synchronization and communication among
processes.
 When more than one process runs on the system the OS decides how and
when a process will use the CPU. Hence, the name is also CPU Scheduling.
2. Process Management
Certain algorithms used for CPU scheduling are as follows:
1. First Come First Serve (FCFS)
2. Shortest Job First (SJF)
3. Round-Robin Scheduling
4. Priority-based scheduling etc.
Process Management
 It manages all the file-related activities such as organization storage,
retrieval, naming, sharing, and protection of files.
 It specifies which process receives the file and for how long.
 It also keeps track of information, location, uses, status, and so on.
 The files on a system are stored in different directories.
3. File Management
 Device management keeps tracks of all devices.
 Allocates and deallocates devices to different processes.
 Keeps records of the devices.
 Decides which process can use which device for how much time.
4. Device Management
 OS is to hide the peculiarities of that hardware devices from the user.
5. I/O System Management
 Systems have several levels of storage which includes
1. Primary Storage
2. Secondary Storage
3. Cache Storage
 Instructions and data must be stored in primary storage or cache.
 It allows users to maximize the utilization of storage devices while also
protecting data integrity.
6. Secondary Storage Management
Storage Management
 Security module protects the data and information of a computer system
against malware threat and authorized access.
 Modern operating systems employ a firewall.
 A firewall is a type of security system that monitors all computer activity
and blocks it if it detects a threat.
7. Security
 This module is interpreting commands given by the and acting
system resources to process that commands.
8. Command interpretation
 A distributed system is a group of processors which do not share
memory, hardware devices, or a clock.
 The processors communicate with one another through the
network.
9. Networking
 Keeping track of time & resource used by various job and users.
 It makes a record of all the activities taking place on the system.
 It has an account of all the information about the memory,
resources, errors, etc.
10. Job accounting
 The OS allows hardware components to be coordinated and directs
and allocates assemblers, interpreters, compilers, and other
software to different users of the computer system.
11. Communication Management
 The process of starting or restarting a computer is referred to as
Booting.
 Cold booting occurs when a computer is totally turned off and then
turned back on.
 Warm booting occurs when the computer is restarted.
 The OS is in charge of booting the computer.
12. Booting process
 The operating system also performs the task of error detection.
 It continuously monitors the system to find or detect errors and
prevents the system from the error.
13. Error detecting aids
Multiprogramming (Batch system)
Single user cannot always keep CPU and I/O devices
busy
Multiprogramming organizes jobs (code and data) so
CPU always has one to execute
A subset of total jobs in system is kept in memory
One job selected and run via job scheduling
When job has to wait (for I/O for example), OS
switches to another job
Multitasking (Timesharing)
A logical extension of Batch systems– the CPU switches
jobs so frequently that users can interact with each job
while it is running, creating interactive computing
•Response time should be < 1 second
•Each user has at least one program executing in
memory, which is called process
•If several jobs ready to run at the same time → CPU
scheduling
•If processes don’t fit in memory, swapping moves
them in and out to run
•Virtual memory allows execution of processes not
completely in memory
Memory Layout for Multiprogrammed System
Dual-mode Operation
Dual-mode operation allows OS to protect itself and
other system components
•User mode and kernel mode
Mode bit provided by hardware
•Provides ability to distinguish when system is running
user code or kernel code.
•When a user is running → mode bit is “user”
•When kernel code is executing → mode bit is
“kernel”
Some instructions designated as privileged, only
executable in kernel mode
Dual-mode Operation (Cont.)
How do we guarantee that user does not
explicitly set the mode bit to “kernel”?
When the system starts executing it is in kernel
mode
When control is given to a user program the
mode-bit changes to “user mode”.
When a user issues a system call it results in an
interrupt, which trap to the operating system. At
that time, the mode–bit is set to “kernel mode”.
2. Unit 1_Types of Opertaing Systems.pptx

Más contenido relacionado

Similar a 2. Unit 1_Types of Opertaing Systems.pptx

Operating syestem class 9 notes.doc
Operating syestem class 9 notes.docOperating syestem class 9 notes.doc
Operating syestem class 9 notes.docvinayakaggarwal9
 
Chapter 1 Introduction to Operating System Concepts
Chapter 1 Introduction to Operating System ConceptsChapter 1 Introduction to Operating System Concepts
Chapter 1 Introduction to Operating System ConceptsMeenalJabde
 
NE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.pptNE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.pptMemMem25
 
Operating Systems
Operating SystemsOperating Systems
Operating Systemsachal02
 
Operating System Lecture Notes
Operating System Lecture NotesOperating System Lecture Notes
Operating System Lecture NotesFellowBuddy.com
 
Operating System Introduction.pptx
Operating System Introduction.pptxOperating System Introduction.pptx
Operating System Introduction.pptxVijayKumarKandhi1
 
lecture 1 (Introduction to Operating System.)
lecture 1 (Introduction to Operating System.)lecture 1 (Introduction to Operating System.)
lecture 1 (Introduction to Operating System.)WajeehaBaig
 
week-1-200310134908.pptx
week-1-200310134908.pptxweek-1-200310134908.pptx
week-1-200310134908.pptxssuser5c874e
 
Nt introduction(os)
Nt introduction(os)Nt introduction(os)
Nt introduction(os)NehaTadam
 
operatinndnd jdj jjrg-system-1(1) (1).pptx
operatinndnd jdj jjrg-system-1(1) (1).pptxoperatinndnd jdj jjrg-system-1(1) (1).pptx
operatinndnd jdj jjrg-system-1(1) (1).pptxkrishnajoshi70
 
Operating system
Operating systemOperating system
Operating systemmarar hina
 
introduction to Operating system for computer science Program
introduction to Operating system for computer science Programintroduction to Operating system for computer science Program
introduction to Operating system for computer science ProgramKemalHussen
 

Similar a 2. Unit 1_Types of Opertaing Systems.pptx (20)

Operating syestem class 9 notes.doc
Operating syestem class 9 notes.docOperating syestem class 9 notes.doc
Operating syestem class 9 notes.doc
 
Operating system
Operating systemOperating system
Operating system
 
Operating System
Operating SystemOperating System
Operating System
 
Chapter 1 Introduction to Operating System Concepts
Chapter 1 Introduction to Operating System ConceptsChapter 1 Introduction to Operating System Concepts
Chapter 1 Introduction to Operating System Concepts
 
Demo.pptx
Demo.pptxDemo.pptx
Demo.pptx
 
NE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.pptNE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.ppt
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
Operating System-adi.pdf
Operating System-adi.pdfOperating System-adi.pdf
Operating System-adi.pdf
 
Unit 1 q&amp;a
Unit  1 q&amp;aUnit  1 q&amp;a
Unit 1 q&amp;a
 
Operating System Lecture Notes
Operating System Lecture NotesOperating System Lecture Notes
Operating System Lecture Notes
 
Operating System Introduction.pptx
Operating System Introduction.pptxOperating System Introduction.pptx
Operating System Introduction.pptx
 
Operating System
Operating SystemOperating System
Operating System
 
lecture 1 (Introduction to Operating System.)
lecture 1 (Introduction to Operating System.)lecture 1 (Introduction to Operating System.)
lecture 1 (Introduction to Operating System.)
 
week-1-200310134908.pptx
week-1-200310134908.pptxweek-1-200310134908.pptx
week-1-200310134908.pptx
 
Nt introduction(os)
Nt introduction(os)Nt introduction(os)
Nt introduction(os)
 
Operating system Chapter One
Operating system Chapter OneOperating system Chapter One
Operating system Chapter One
 
operatinndnd jdj jjrg-system-1(1) (1).pptx
operatinndnd jdj jjrg-system-1(1) (1).pptxoperatinndnd jdj jjrg-system-1(1) (1).pptx
operatinndnd jdj jjrg-system-1(1) (1).pptx
 
Operating system
Operating systemOperating system
Operating system
 
introduction to Operating system for computer science Program
introduction to Operating system for computer science Programintroduction to Operating system for computer science Program
introduction to Operating system for computer science Program
 
Operating system 3
Operating system 3Operating system 3
Operating system 3
 

Más de Aishwarya .

Introduction to Algorithm, Analysis of Algorithm
Introduction to Algorithm, Analysis of AlgorithmIntroduction to Algorithm, Analysis of Algorithm
Introduction to Algorithm, Analysis of AlgorithmAishwarya .
 
3. Unit 1_ Evolution OS.pptx
3. Unit 1_ Evolution OS.pptx3. Unit 1_ Evolution OS.pptx
3. Unit 1_ Evolution OS.pptxAishwarya .
 
1. Unit 1_Introduction to OS.pptx
1. Unit 1_Introduction to OS.pptx1. Unit 1_Introduction to OS.pptx
1. Unit 1_Introduction to OS.pptxAishwarya .
 
attitudes features .pdf
attitudes features .pdfattitudes features .pdf
attitudes features .pdfAishwarya .
 
Renewable Energy & Thermal Power Plant
Renewable Energy & Thermal Power PlantRenewable Energy & Thermal Power Plant
Renewable Energy & Thermal Power PlantAishwarya .
 
Domains of envronment
Domains of envronmentDomains of envronment
Domains of envronmentAishwarya .
 
Ecology & Ecosystem
Ecology & EcosystemEcology & Ecosystem
Ecology & EcosystemAishwarya .
 

Más de Aishwarya . (9)

Introduction to Algorithm, Analysis of Algorithm
Introduction to Algorithm, Analysis of AlgorithmIntroduction to Algorithm, Analysis of Algorithm
Introduction to Algorithm, Analysis of Algorithm
 
Air Pollution
Air PollutionAir Pollution
Air Pollution
 
3. Unit 1_ Evolution OS.pptx
3. Unit 1_ Evolution OS.pptx3. Unit 1_ Evolution OS.pptx
3. Unit 1_ Evolution OS.pptx
 
1. Unit 1_Introduction to OS.pptx
1. Unit 1_Introduction to OS.pptx1. Unit 1_Introduction to OS.pptx
1. Unit 1_Introduction to OS.pptx
 
attitudes features .pdf
attitudes features .pdfattitudes features .pdf
attitudes features .pdf
 
Renewable Energy & Thermal Power Plant
Renewable Energy & Thermal Power PlantRenewable Energy & Thermal Power Plant
Renewable Energy & Thermal Power Plant
 
Water cycle
Water cycleWater cycle
Water cycle
 
Domains of envronment
Domains of envronmentDomains of envronment
Domains of envronment
 
Ecology & Ecosystem
Ecology & EcosystemEcology & Ecosystem
Ecology & Ecosystem
 

Último

A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...soginsider
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksMagic Marks
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesRAJNEESHKUMAR341697
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 

Último (20)

A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic Marks
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 

2. Unit 1_Types of Opertaing Systems.pptx

  • 3. Following are the popular types of OS (Operating System): 1. Batch Operating System 2. Multitasking OS 3. Time Sharing OS 4. Multiprocessing OS 5. Real Time OS 6. Distributed OS 7. Network OS 8. Mobile OS x Types of Operating System (OS)
  • 4. Operating System - Types • Batch processing: In the 1970s, batch processing was quite popular. Batch processing was used to complete the tasks. People used to use a mainframe, which was a single computer . • Users that use batch OS do not interface with the computer directly. Every user prepares their job and submits it to the computer operator using an offline device such as a punch card. • To speed up processing, jobs with comparable criteria are aggregated and executed as a group
  • 5. • After the programmers have handed over their programs to the operator, they sort the programs into batches based on their needs. • Jobs that perform comparable functions were grouped together in the batch operating system. These work groupings are processed as a batch and run at the same time. • A job is a single unit made up of a pre-programmed set of data, commands, and programs. • The orders are processed in the order in which these are received, meaning first come, first served. • These jobs are saved in memory and run without the need for any manual input. • The OS releases memory after a job is completed successfully.
  • 6.
  • 7.  Some computer processes are very lengthy and time-consuming.  To speed the same process, a job with a similar type of needs are batched together and run as a group. (Punch card) x 1. Batch Operating System
  • 8. x Batch Operating System Examples are the  Payroll System  Bank Statement  Repeated jobs can be completed easily without any human intervention.  Hardware or system support is not required to input data in batch systems.
  • 9. 2. Multi programming Operating System  Multiprogramming is an extension to batch processing where the CPU is always kept busy.  Each process needs two types of system time: CPU time and IO time.  In a multiprogramming environment, when a process does its I/O, The CPU can start the execution of other processes.  Therefore, multiprogramming improves the efficiency of the system.
  • 11. Multi programming Operating System  Throughout the system, it increased as the CPU always had one program to execute.  Response time can also be reduced.  Multiprogramming systems provide an environment in which various systems resources are used efficiently, but they do not provide any user interaction with the computer system
  • 12.  The Multitasking OS is a logical extension of a Multiprogramming system that enables multiple programs simultaneously.  It allows a user to perform more than one computer task at the same time. x 3. Multitasking OS
  • 13. x 3. Multitasking OS  Multi-tasking is a logical extension of multiprogramming. Multitasking is the ability of an OS to execute more than one task simultaneously on a CPU machine. These multiple tasks share common resources (like CPU and memory).  In multi-tasking systems, the CPU executes multiple jobs by switching among them typically using a small time quantum, and the switches occur so quickly that the users feel like interact with each executing task at the same time.
  • 15.  Time Sharing OS, computer resources are allocated in a time-dependent fashion to several programs simultaneously.  It helps to provide a large number of user's direct access to the main computer. x 4. Time-Sharing Operating System Examples are the  UNIX
  • 16.  Multiprogrammed Batch Systems and Time-Sharing Systems is that in case of Multiprogrammed batch systems, the objective is to maximize processor use, whereas in Time-Sharing Systems, the objective is to minimize response time.  Advantages of Timesharing operating systems are as follows −  Provides the advantage of quick response.  Avoids duplication of software.  Reduces CPU idle time  Disadvantages of Time-sharing operating systems are as follows −  Problem of reliability.  Question of security and integrity of user programs and data.  Problem of data communication. x 4. Time-Sharing Operating System
  • 17.  In Multiprocessing, Parallel computing is achieved.  There are more than one processors present in the system which can execute more than one process at the same time. x 5. Multiprocessing OS
  • 18.  In Real-Time Systems, each job carries a certain deadline within which the job is supposed to be completed.  Otherwise, the huge loss will be there, or even if the result is produced, it will be completely useless.  Examples: Missile Systems, Medical Systems, air traffic control systems, Robots, Space Systems etc… Types 1. Soft RTOS  video surveillance (cctv), video player, virtual reality 2. Hard RTOS x 5. Real Time OS
  • 20.  A distributed OS serves multiple applications and multiple users in real- time.  It allow a faster exchange of data among users.  Failure in one site may not cause much disruption to the system.  They reduce delays in data processing.  They minimize the load on the host computer. x 6. Distributed OS
  • 21. x
  • 22.  Network Operating System runs on a server.  It providing users with the capability to manage data, user groups and applications.  OS enables users to access and share files and devices such as printers, security software and other applications, mostly in a local area network, a private network. x 7. Network OS
  • 23. x Examples are the  UNIX  LINUX  Microsoft Windows Server 2008
  • 24.  Mobile OS run exclusively on small devices such as smart-phones, tablets and wearables.  Mobile operating systems also manage wireless network connectivity.  The most famous mobile operating systems are Android, iOS, BlackBerry, Web, Symbian and watchOS. x 8. Mobile OS
  • 25. x
  • 26. The main objectives of an Operating System are 1. Convenience 2. Efficiency 3. Ability to evolve 4. Management of System resources x Objectives of OS
  • 27. The main objectives of an Operating System are 1. Convenience  An OS makes a computer more convenient to use. 2. Efficiency  An OS permits the resources to be used efficiently. 3. Ability to evolve  It should allow the effective development, testing and introduction of new features without any interference with service. 4. Management of system resources  It guarantees that resources are shared fairly among various processes and users. Objectives of OS
  • 28. 1. To make the computer system convenient to use in an efficient manner. 2. To hide the details of the hardware resources from the users. 3. To provide users a convenient interface to use the computer system. 4. To manage the resources of a computer system. Objectives of OS
  • 29. 5. To act as an intermediary between the hardware and its users, making it easier for the users to access and use other resources. 6. To keep track of who is using which resource, granting resource requests, and mediating conflicting requests from different programs and users. 7. To provide efficient and fair sharing of resources among users and programs. Objectives of OS
  • 30. The main functions of Operating System Functions of Operating System
  • 31. The main functions of Operating System Functions of Operating System
  • 32.
  • 33.  It is the management of the main or primary memory.  Whatever program is executed, it has to be present in the main memory.  Main memory is a quick storage area that may be accessed directly by the CPU.  When the program is completed, the memory region is released and can be used by other programs.  Therefore, there can be more than one program present at a time.  Hence, it is required to manage the memory. 1. Memory Management
  • 34. The operating system: 1. Allocates and De-Allocates the memory. 2. Keeps a record of which part of primary memory is used by whom and how much. 3. Distributes the memory while multiprocessing. 4. In multiprogramming, the operating system selects which processes acquire memory when and how much memory they get. Memory Management
  • 35.  Process management helps OS to create and delete processes.  It also provides mechanisms for synchronization and communication among processes.  When more than one process runs on the system the OS decides how and when a process will use the CPU. Hence, the name is also CPU Scheduling. 2. Process Management
  • 36. Certain algorithms used for CPU scheduling are as follows: 1. First Come First Serve (FCFS) 2. Shortest Job First (SJF) 3. Round-Robin Scheduling 4. Priority-based scheduling etc. Process Management
  • 37.  It manages all the file-related activities such as organization storage, retrieval, naming, sharing, and protection of files.  It specifies which process receives the file and for how long.  It also keeps track of information, location, uses, status, and so on.  The files on a system are stored in different directories. 3. File Management
  • 38.  Device management keeps tracks of all devices.  Allocates and deallocates devices to different processes.  Keeps records of the devices.  Decides which process can use which device for how much time. 4. Device Management
  • 39.  OS is to hide the peculiarities of that hardware devices from the user. 5. I/O System Management
  • 40.  Systems have several levels of storage which includes 1. Primary Storage 2. Secondary Storage 3. Cache Storage  Instructions and data must be stored in primary storage or cache.  It allows users to maximize the utilization of storage devices while also protecting data integrity. 6. Secondary Storage Management
  • 42.  Security module protects the data and information of a computer system against malware threat and authorized access.  Modern operating systems employ a firewall.  A firewall is a type of security system that monitors all computer activity and blocks it if it detects a threat. 7. Security
  • 43.  This module is interpreting commands given by the and acting system resources to process that commands. 8. Command interpretation
  • 44.  A distributed system is a group of processors which do not share memory, hardware devices, or a clock.  The processors communicate with one another through the network. 9. Networking
  • 45.  Keeping track of time & resource used by various job and users.  It makes a record of all the activities taking place on the system.  It has an account of all the information about the memory, resources, errors, etc. 10. Job accounting
  • 46.  The OS allows hardware components to be coordinated and directs and allocates assemblers, interpreters, compilers, and other software to different users of the computer system. 11. Communication Management
  • 47.  The process of starting or restarting a computer is referred to as Booting.  Cold booting occurs when a computer is totally turned off and then turned back on.  Warm booting occurs when the computer is restarted.  The OS is in charge of booting the computer. 12. Booting process
  • 48.  The operating system also performs the task of error detection.  It continuously monitors the system to find or detect errors and prevents the system from the error. 13. Error detecting aids
  • 49.
  • 50. Multiprogramming (Batch system) Single user cannot always keep CPU and I/O devices busy Multiprogramming organizes jobs (code and data) so CPU always has one to execute A subset of total jobs in system is kept in memory One job selected and run via job scheduling When job has to wait (for I/O for example), OS switches to another job
  • 51. Multitasking (Timesharing) A logical extension of Batch systems– the CPU switches jobs so frequently that users can interact with each job while it is running, creating interactive computing •Response time should be < 1 second •Each user has at least one program executing in memory, which is called process •If several jobs ready to run at the same time → CPU scheduling •If processes don’t fit in memory, swapping moves them in and out to run •Virtual memory allows execution of processes not completely in memory
  • 52. Memory Layout for Multiprogrammed System
  • 53. Dual-mode Operation Dual-mode operation allows OS to protect itself and other system components •User mode and kernel mode Mode bit provided by hardware •Provides ability to distinguish when system is running user code or kernel code. •When a user is running → mode bit is “user” •When kernel code is executing → mode bit is “kernel” Some instructions designated as privileged, only executable in kernel mode
  • 54. Dual-mode Operation (Cont.) How do we guarantee that user does not explicitly set the mode bit to “kernel”? When the system starts executing it is in kernel mode When control is given to a user program the mode-bit changes to “user mode”. When a user issues a system call it results in an interrupt, which trap to the operating system. At that time, the mode–bit is set to “kernel mode”.