SlideShare a Scribd company logo
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

More Related Content

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

Fundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptxFundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptx
Uttara University
 
Operating syestem class 9 notes.doc
Operating syestem class 9 notes.docOperating syestem class 9 notes.doc
Operating syestem class 9 notes.doc
vinayakaggarwal9
 
Operating System
Operating SystemOperating 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
MeenalJabde
 
Module-1.ppt operating system unit 1 notes
Module-1.ppt operating system unit 1 notesModule-1.ppt operating system unit 1 notes
Module-1.ppt operating system unit 1 notes
FaizanAhmad293255
 
Demo.pptx
Demo.pptxDemo.pptx
Demo.pptx
Baswamy Cse
 
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
MemMem25
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
achal02
 
Operating System-adi.pdf
Operating System-adi.pdfOperating System-adi.pdf
Operating System-adi.pdf
Prof. Dr. K. Adisesha
 
Unit 1 q&amp;a
Unit  1 q&amp;aUnit  1 q&amp;a
Operating System Lecture Notes
Operating System Lecture NotesOperating System Lecture Notes
Operating System Lecture Notes
FellowBuddy.com
 
Operating System Introduction.pptx
Operating System Introduction.pptxOperating System Introduction.pptx
Operating System Introduction.pptx
VijayKumarKandhi1
 
Operating System
Operating SystemOperating System
Operating System
A. S. M. Shafi
 
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.pptx
ssuser5c874e
 
Nt introduction(os)
Nt introduction(os)Nt introduction(os)
Nt introduction(os)
NehaTadam
 
Operating system Chapter One
Operating system Chapter OneOperating system Chapter One
Operating system Chapter One
Md. Umor Faruk Jahangir
 
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
krishnajoshi70
 
Operating system
Operating systemOperating system
Operating system
marar hina
 

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

Fundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptxFundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptx
 
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
 
Module-1.ppt operating system unit 1 notes
Module-1.ppt operating system unit 1 notesModule-1.ppt operating system unit 1 notes
Module-1.ppt operating system unit 1 notes
 
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
 

More from Aishwarya .

Introduction to Algorithm, Analysis of Algorithm
Introduction to Algorithm, Analysis of AlgorithmIntroduction to Algorithm, Analysis of Algorithm
Introduction to Algorithm, Analysis of Algorithm
Aishwarya .
 
Air Pollution
Air PollutionAir Pollution
Air Pollution
Aishwarya .
 
3. Unit 1_ Evolution OS.pptx
3. Unit 1_ Evolution OS.pptx3. Unit 1_ Evolution OS.pptx
3. Unit 1_ Evolution OS.pptx
Aishwarya .
 
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
Aishwarya .
 
attitudes features .pdf
attitudes features .pdfattitudes features .pdf
attitudes features .pdf
Aishwarya .
 
Renewable Energy & Thermal Power Plant
Renewable Energy & Thermal Power PlantRenewable Energy & Thermal Power Plant
Renewable Energy & Thermal Power Plant
Aishwarya .
 
Water cycle
Water cycleWater cycle
Water cycle
Aishwarya .
 
Domains of envronment
Domains of envronmentDomains of envronment
Domains of envronment
Aishwarya .
 
Ecology & Ecosystem
Ecology & EcosystemEcology & Ecosystem
Ecology & Ecosystem
Aishwarya .
 

More from 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
 

Recently uploaded

ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
BrazilAccount1
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 

Recently uploaded (20)

ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 

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”.