SlideShare a Scribd company logo
2
Most read
3
Most read
Introduction to Operating System
S.R INAMDAR1Dept. of CSE BLDEA'S SSM POLYTECHNIC
Chapter 1: Introduction
 What Operating Systems Do
 Computer-System Architecture
 Operating-System Structure
 Operating-System Operations
 Process Management
 Memory Management
 Storage Management
 Protection and Security
 Distributed Systems
 Special-Purpose Systems
 Computing Environments
 Open-source Operating Systems.
2Dept. of CSE BLDEA'S SSM POLYTECHNIC
What is an Operating System?
 A program that acts as an intermediary between a user of a
computer and the computer hardware.
 Operating system goals:
 Execute user programs and make solving user problems
easier.
 Make the computer system convenient to use.
 Use the computer hardware in an efficient manner.
3Dept. of CSE BLDEA'S SSM POLYTECHNIC
Operating System Definition
 OS is a resource allocator
 Manages all resources
 Decides between conflicting requests for efficient and fair
resource use
 OS is a control program
 Controls execution of programs to prevent errors and
improper use of the computer
4Dept. of CSE BLDEA'S SSM POLYTECHNIC
Operating System Structure
Multiprogramming needed for efficiency
 Single user cannot keep CPU and I/O devices busy at all times
 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 it has to wait (for I/O for example), OS switches to
another job
5Dept. of CSE BLDEA'S SSM POLYTECHNIC
Operating System Structure (cont.)
 Timesharing (multitasking) is logical extension in which 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 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
6Dept. of CSE BLDEA'S SSM POLYTECHNIC
Operating-System Operations
 Interrupt driven by hardware
 Software error or request creates exception or trap
 Division by zero, request for operating system service
 Other process problems include infinite loop, processes
modifying each other or the operating system
7Dept. of CSE BLDEA'S SSM POLYTECHNIC
Operating-System Operations (Cont.)
 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
 Some instructions designated as privileged, only executable in
kernel mode
 System call changes mode to kernel, return from call resets it to
user
8Dept. of CSE BLDEA'S SSM POLYTECHNIC
Process Management Activities
The operating system is responsible for the following
activities in connection with process management:
 Creating and deleting both user and system processes
 Suspending and resuming processes
 Providing mechanisms for process synchronization
 Providing mechanisms for process communication
 Providing mechanisms for deadlock handling
9Dept. of CSE BLDEA'S SSM POLYTECHNIC
Memory Management
 Memory management activities
 Keeping track of which parts of memory are currently being
used and by whom
 Deciding which processes (or parts thereof) and data to
move into and out of memory
 Allocating and deallocating memory space as needed
10Dept. of CSE BLDEA'S SSM POLYTECHNIC
Storage Management
 OS activities include
 Creating and deleting files and directories
 Primitives to manipulate files and disc
 Mapping files onto secondary storage
 Backup files onto stable (non-volatile) storage media
11Dept. of CSE BLDEA'S SSM POLYTECHNIC
Mass-Storage Management
 OS activities
 Free-space management
 Storage allocation
 Disk scheduling
12Dept. of CSE BLDEA'S SSM POLYTECHNIC
Protection and Security
 Protection – any mechanism for controlling access of processes or users to
resources defined by the OS
 Security – defense of the system against internal and external attacks
 Huge range, including denial-of-service, worms, viruses, identity theft, theft of
service
 Systems generally first distinguish among users, to determine who can do what
 User identities (user IDs, security IDs) include name and associated number, one per
user
 User ID then associated with all files, processes of that user to determine access
control
 Group identifier (group ID) allows set of users to be defined and controls managed,
then also associated with each process, file
 Privilege escalation allows user to change to effective ID with more rights
13Dept. of CSE BLDEA'S SSM POLYTECHNIC
Computing Environments
 Traditional computer
 Blurring over time
 Office environment
 PCs connected to a network, terminals attached to mainframe or
minicomputers providing batch and timesharing
 Now portals allowing networked and remote systems access to same
resources
 Home networks
 Used to be single system, then modems
 Now firewalled, networked
14Dept. of CSE BLDEA'S SSM POLYTECHNIC
Client-Server Computing
 Dumb terminals supplanted by smart PCs
 Many systems now servers, responding to requests generated by
clients
 Compute-server provides an interface to client to request services
(i.e. database)
 File-server provides interface for clients to store and retrieve files
15Dept. of CSE BLDEA'S SSM POLYTECHNIC
Peer-to-Peer Computing
 Another model of distributed system
 P2P does not distinguish clients and servers
 Instead all nodes are considered peers
 May each act as client, server or both
 Node must join P2P network
 Registers its service with central lookup service on network, or
 Broadcast request for service and respond to requests for service
via discovery protocol
 Examples include Napster and Gnutella
16Dept. of CSE BLDEA'S SSM POLYTECHNIC
Web-Based Computing
 Web has become ubiquitous
 PCs most prevalent devices
 More devices becoming networked to allow web access
 New category of devices to manage web traffic among
similar servers: load balancers
 Use of operating systems like Windows 95, client-side,
have evolved into Linux and Windows XP, which can be
clients and servers
17Dept. of CSE BLDEA'S SSM POLYTECHNIC
THANK YOU
18Dept. of CSE BLDEA'S SSM POLYTECHNIC

More Related Content

What's hot (20)

PPTX
Function of Operating system
Amit Mehla
 
PPT
Operating systems
Ujjwal 'Shanu'
 
PPTX
Types of operating system
Mohammad Alam
 
PDF
operating system structure
Waseem Ud Din Farooqui
 
PPTX
Unix ppt
sudhir saurav
 
PPTX
Window11
Shashi Mishra
 
PPTX
Storage Management
Dr. SURBHI SAROHA
 
PPTX
Operating system architecture
Sabin dumre
 
PPT
Operating system.ppt (1)
Vaibhav Bajaj
 
PPTX
operating system
KadianAman
 
PPT
This presentation is about Computer Systems and its Components
abena
 
PPTX
Types of Operating System
Hemant Raj
 
PPTX
Process management os concept
priyadeosarkar91
 
PPTX
Kernel | Operating System
Sumit Pandey
 
PDF
Introduction to Operating Systems
Mukesh Chinta
 
PPTX
Kernels and its types
ARAVIND18MCS1004
 
PPTX
Distributed Operating Systems
Ummiya Mohammedi
 
PPTX
Operating System PPT
Rajneesh Chaubey
 
PPTX
chapter 1 introduction to operating system
Aisyah Rafiuddin
 
PPTX
Operating system
Tanvirul Islam
 
Function of Operating system
Amit Mehla
 
Operating systems
Ujjwal 'Shanu'
 
Types of operating system
Mohammad Alam
 
operating system structure
Waseem Ud Din Farooqui
 
Unix ppt
sudhir saurav
 
Window11
Shashi Mishra
 
Storage Management
Dr. SURBHI SAROHA
 
Operating system architecture
Sabin dumre
 
Operating system.ppt (1)
Vaibhav Bajaj
 
operating system
KadianAman
 
This presentation is about Computer Systems and its Components
abena
 
Types of Operating System
Hemant Raj
 
Process management os concept
priyadeosarkar91
 
Kernel | Operating System
Sumit Pandey
 
Introduction to Operating Systems
Mukesh Chinta
 
Kernels and its types
ARAVIND18MCS1004
 
Distributed Operating Systems
Ummiya Mohammedi
 
Operating System PPT
Rajneesh Chaubey
 
chapter 1 introduction to operating system
Aisyah Rafiuddin
 
Operating system
Tanvirul Islam
 

Similar to Unit 1 introduction to Operating System (20)

PPT
Operating systems structures and their practical applications
nazimsattar
 
PDF
Intro to Operating Systems - Introductory Lectures - Software Engineering
SohaibImran13
 
PDF
Cs8493 unit 1
Kathirvel Ayyaswamy
 
PPT
ch1.ppt
BilalWarraich15
 
PPT
Operating System
Subhasis Dash
 
PPTX
Lecture_01 Operating System Course Introduction
ArnoyKhan
 
PDF
Csc 2313 (lecture 2)
umardanjumamaiwada
 
PDF
Csc 2313 (lecture 2)
umardanjumamaiwada
 
PPTX
Operating Systems- Dr.G.Sumathi AI & DS, KNCET
sumathiganesan4
 
PPT
NE223_chapter 1_Overview of operating systems.ppt
MemMem25
 
PPTX
StructuringMethod study of information and communication technoloy.pptx
TumithoSteven
 
PPT
OS-ch01-2024.ppt
Dr. Mazin Mohamed alkathiri
 
PDF
ch01-2024-24010623999992525-bcc5755c.pdf
m7mdk2003
 
PDF
CH01.pdf
ImranKhan880955
 
PPT
Operating system notes ch1
Emmanuel Damka
 
PPTX
Operating system (BCS303) MODULE 1 NOTES
KopinathMURUGESAN
 
PPT
Operating Systems Storage & Process Management
SasiBhushan22
 
PPT
Operating Systems with Storage and Process Management
SasiBhushan22
 
PPT
Operating Systems _ Process & Storage Management
SasiBhushan22
 
Operating systems structures and their practical applications
nazimsattar
 
Intro to Operating Systems - Introductory Lectures - Software Engineering
SohaibImran13
 
Cs8493 unit 1
Kathirvel Ayyaswamy
 
Operating System
Subhasis Dash
 
Lecture_01 Operating System Course Introduction
ArnoyKhan
 
Csc 2313 (lecture 2)
umardanjumamaiwada
 
Csc 2313 (lecture 2)
umardanjumamaiwada
 
Operating Systems- Dr.G.Sumathi AI & DS, KNCET
sumathiganesan4
 
NE223_chapter 1_Overview of operating systems.ppt
MemMem25
 
StructuringMethod study of information and communication technoloy.pptx
TumithoSteven
 
OS-ch01-2024.ppt
Dr. Mazin Mohamed alkathiri
 
ch01-2024-24010623999992525-bcc5755c.pdf
m7mdk2003
 
CH01.pdf
ImranKhan880955
 
Operating system notes ch1
Emmanuel Damka
 
Operating system (BCS303) MODULE 1 NOTES
KopinathMURUGESAN
 
Operating Systems Storage & Process Management
SasiBhushan22
 
Operating Systems with Storage and Process Management
SasiBhushan22
 
Operating Systems _ Process & Storage Management
SasiBhushan22
 
Ad

More from zahid7578 (7)

PPTX
Computer_Network_Chapter_2.pptx
zahid7578
 
PPTX
Computer_Network_Chapter_1.pptx
zahid7578
 
PPTX
Operating System Concepts_1.pptx
zahid7578
 
PPTX
Unit ii java script and xhtml documents and dynamic documents with javascript
zahid7578
 
PPTX
Unit 1 introduction to web programming
zahid7578
 
PPTX
Testing level
zahid7578
 
PPTX
Unit 2 process Management
zahid7578
 
Computer_Network_Chapter_2.pptx
zahid7578
 
Computer_Network_Chapter_1.pptx
zahid7578
 
Operating System Concepts_1.pptx
zahid7578
 
Unit ii java script and xhtml documents and dynamic documents with javascript
zahid7578
 
Unit 1 introduction to web programming
zahid7578
 
Testing level
zahid7578
 
Unit 2 process Management
zahid7578
 
Ad

Recently uploaded (20)

PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Biography of Daniel Podor.pdf
Daniel Podor
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
PDF
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Biography of Daniel Podor.pdf
Daniel Podor
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 

Unit 1 introduction to Operating System

  • 1. Introduction to Operating System S.R INAMDAR1Dept. of CSE BLDEA'S SSM POLYTECHNIC
  • 2. Chapter 1: Introduction  What Operating Systems Do  Computer-System Architecture  Operating-System Structure  Operating-System Operations  Process Management  Memory Management  Storage Management  Protection and Security  Distributed Systems  Special-Purpose Systems  Computing Environments  Open-source Operating Systems. 2Dept. of CSE BLDEA'S SSM POLYTECHNIC
  • 3. What is an Operating System?  A program that acts as an intermediary between a user of a computer and the computer hardware.  Operating system goals:  Execute user programs and make solving user problems easier.  Make the computer system convenient to use.  Use the computer hardware in an efficient manner. 3Dept. of CSE BLDEA'S SSM POLYTECHNIC
  • 4. Operating System Definition  OS is a resource allocator  Manages all resources  Decides between conflicting requests for efficient and fair resource use  OS is a control program  Controls execution of programs to prevent errors and improper use of the computer 4Dept. of CSE BLDEA'S SSM POLYTECHNIC
  • 5. Operating System Structure Multiprogramming needed for efficiency  Single user cannot keep CPU and I/O devices busy at all times  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 it has to wait (for I/O for example), OS switches to another job 5Dept. of CSE BLDEA'S SSM POLYTECHNIC
  • 6. Operating System Structure (cont.)  Timesharing (multitasking) is logical extension in which 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 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 6Dept. of CSE BLDEA'S SSM POLYTECHNIC
  • 7. Operating-System Operations  Interrupt driven by hardware  Software error or request creates exception or trap  Division by zero, request for operating system service  Other process problems include infinite loop, processes modifying each other or the operating system 7Dept. of CSE BLDEA'S SSM POLYTECHNIC
  • 8. Operating-System Operations (Cont.)  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  Some instructions designated as privileged, only executable in kernel mode  System call changes mode to kernel, return from call resets it to user 8Dept. of CSE BLDEA'S SSM POLYTECHNIC
  • 9. Process Management Activities The operating system is responsible for the following activities in connection with process management:  Creating and deleting both user and system processes  Suspending and resuming processes  Providing mechanisms for process synchronization  Providing mechanisms for process communication  Providing mechanisms for deadlock handling 9Dept. of CSE BLDEA'S SSM POLYTECHNIC
  • 10. Memory Management  Memory management activities  Keeping track of which parts of memory are currently being used and by whom  Deciding which processes (or parts thereof) and data to move into and out of memory  Allocating and deallocating memory space as needed 10Dept. of CSE BLDEA'S SSM POLYTECHNIC
  • 11. Storage Management  OS activities include  Creating and deleting files and directories  Primitives to manipulate files and disc  Mapping files onto secondary storage  Backup files onto stable (non-volatile) storage media 11Dept. of CSE BLDEA'S SSM POLYTECHNIC
  • 12. Mass-Storage Management  OS activities  Free-space management  Storage allocation  Disk scheduling 12Dept. of CSE BLDEA'S SSM POLYTECHNIC
  • 13. Protection and Security  Protection – any mechanism for controlling access of processes or users to resources defined by the OS  Security – defense of the system against internal and external attacks  Huge range, including denial-of-service, worms, viruses, identity theft, theft of service  Systems generally first distinguish among users, to determine who can do what  User identities (user IDs, security IDs) include name and associated number, one per user  User ID then associated with all files, processes of that user to determine access control  Group identifier (group ID) allows set of users to be defined and controls managed, then also associated with each process, file  Privilege escalation allows user to change to effective ID with more rights 13Dept. of CSE BLDEA'S SSM POLYTECHNIC
  • 14. Computing Environments  Traditional computer  Blurring over time  Office environment  PCs connected to a network, terminals attached to mainframe or minicomputers providing batch and timesharing  Now portals allowing networked and remote systems access to same resources  Home networks  Used to be single system, then modems  Now firewalled, networked 14Dept. of CSE BLDEA'S SSM POLYTECHNIC
  • 15. Client-Server Computing  Dumb terminals supplanted by smart PCs  Many systems now servers, responding to requests generated by clients  Compute-server provides an interface to client to request services (i.e. database)  File-server provides interface for clients to store and retrieve files 15Dept. of CSE BLDEA'S SSM POLYTECHNIC
  • 16. Peer-to-Peer Computing  Another model of distributed system  P2P does not distinguish clients and servers  Instead all nodes are considered peers  May each act as client, server or both  Node must join P2P network  Registers its service with central lookup service on network, or  Broadcast request for service and respond to requests for service via discovery protocol  Examples include Napster and Gnutella 16Dept. of CSE BLDEA'S SSM POLYTECHNIC
  • 17. Web-Based Computing  Web has become ubiquitous  PCs most prevalent devices  More devices becoming networked to allow web access  New category of devices to manage web traffic among similar servers: load balancers  Use of operating systems like Windows 95, client-side, have evolved into Linux and Windows XP, which can be clients and servers 17Dept. of CSE BLDEA'S SSM POLYTECHNIC
  • 18. THANK YOU 18Dept. of CSE BLDEA'S SSM POLYTECHNIC