SlideShare a Scribd company logo
DISCOVER . LEARN . EMPOWER
Bachelor of Computer Application
Operating System (UGCA1923)
Functions of Operating System
Functions of Operating System
1. Process Management
2. Main Memory Management
3. Secondary Storage Management
4. File Management
5. I/O Management
6. Protection & Security
7. Networking
8. Command Interpretation or Shell
Process Management
• A process is a program in execution. It is a unit of work within the
system. Program is a passive entity, process is an active entity.
• Process needs resources to accomplish its task
– CPU, memory, I/O, files
– Initialization data
• Process termination requires reclaim of any reusable resources
• Single-threaded process has one program counter specifying location
of next instruction to execute
– Process executes instructions sequentially, one at a time, until
completion
• Multi-threaded process has one program counter per thread
• Typically system has many processes, some user, some operating
system running concurrently on one or more CPUs
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
Memory Management
• To execute a program all (or part) of the instructions must be in memory
• All (or part) of the data that is needed by the program must be in memory.
• Memory management determines what is in memory and when
– Optimizing CPU utilization and computer response to users
• Memory management activities
– Keeping track of which parts of memory are currently being used and by
whom
– Deciding which processes and data to move into and out of memory
– Allocating and de-allocating memory space as needed.
File-System Management
File-System management
– Files usually organized into directories
– Access control on most systems to determine who can access what
– OS activities include
• Creating and deleting files and directories
• Primitives to manipulate files and directories
• Mapping files onto secondary storage
• Backup files onto stable (non-volatile) storage media
I/O Subsystem
• One purpose of OS is to hide peculiarities of hardware devices from the user
• I/O subsystem responsible for
– Memory management of I/O including buffering (storing data temporarily
while it is being transferred), caching (storing parts of data in faster
storage for performance), spooling (the overlapping of output of one job
with input of other jobs)
– Handles General device-driver interface
– Manages Drivers for specific hardware devices
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
OS challenges
• Reliability
Does the system do what it was designed to do?
• Availability
What portion of the time is the system working?
Mean Time To Failure (MTTF), Mean Time to Repair
• Security
Can the system be compromised by an attacker?
• Privacy
Data is accessible only to authorized users
OS challenges
• Performance
Latency/response time
How long does an operation take to complete?
Throughput
How many operations can be done per unit of time?
Overhead
How much extra work is done by the OS?
Fairness
How equal is the performance received by different users?
Portability
For programs:
Application programming interface (API)
For the kernel
Hardware abstraction layer
Conclusion
This Lecture makes the student to understand various functions and
services offered by the operating system. Learning this will make the
student understand the requirement of operating system for managing
different functions of operating system.
References
https://www.includehelp.com/c-programming-questions/
https://www.studytonight.com/operating-system/
https://computing.llnl.gov/tutorials/
https://www.tutorialspoint.com/operating_system/index.htm#:~:text=An%20operating%20system
%20(OS)%20is,software%20in%20a%20computer%20system.
https://www.javatpoint.com/os-tutorial
https://www.guru99.com/operating-system-tutorial.html
https://www.geeksforgeeks.org/operating-systems/

More Related Content

PDF
operating system structure
Waseem Ud Din Farooqui
 
PPTX
Unit 1-Operating Systems Overview .pptx
ThamaraiselviAvinuty
 
PPT
ch3 - operating system structures.ppt
divyang32
 
PDF
chapter 3 opreating system lecture note and its is impaortamt concept for mn
dejenehundaol91
 
PPTX
Week1_Introduction to_Operating System - Part 2.pptx
Omar Fernandez
 
PPTX
Operating Systems R20 Unit 1.pptx
Prudhvi668506
 
PPT
Introduction to Operating System
Divya S
 
operating system structure
Waseem Ud Din Farooqui
 
Unit 1-Operating Systems Overview .pptx
ThamaraiselviAvinuty
 
ch3 - operating system structures.ppt
divyang32
 
chapter 3 opreating system lecture note and its is impaortamt concept for mn
dejenehundaol91
 
Week1_Introduction to_Operating System - Part 2.pptx
Omar Fernandez
 
Operating Systems R20 Unit 1.pptx
Prudhvi668506
 
Introduction to Operating System
Divya S
 

Similar to list of all Functions of operating system.pptx (20)

PPTX
OS.pptx
abclara
 
PPTX
Operating System Introduction
Sravani Kommuri
 
PPTX
installing and optimizing operating system software
ziway
 
PDF
operating system structure
HAMZA AHMED
 
PPTX
introduction to operating systems and services.pptx
anilvarsha1
 
PPTX
Unit 1ndjhdiushdhisdhuishiuhsuhduhfshufdhduh.pptx
ranaj2936
 
PPSX
Operating system
mak120
 
PPTX
INSTAL AND OPTIMIZE OPERATING SYSTEM WINDOWS
anwarkade1
 
PPTX
ITT
Varun Chandak
 
PPT
Basics of Operating System
Soumit Ghosh
 
PPT
Os structure
Shehrevar Davierwala
 
PPTX
Operating Systems unit 1 & 2 - BBA / MBA
bhargavivarala99
 
PPTX
Operating Systems - Introduction and unit 1
bhargavivarala99
 
PPTX
OSmodule1_ppt.pptx
RADHIKAB20
 
PPT
Ch1
rupalidhir
 
PPTX
Basic operating systems in computer and it's uses
Surya Vishnuram
 
PPTX
OS chapter 1.pptx
StBulteBelay
 
PPTX
OS chapter 1.pptx
StBulteBelay
 
PDF
Lecture - 1.pdf
ruhama12
 
PPT
System Calls and Components of OS . ppt
aparna14patil
 
OS.pptx
abclara
 
Operating System Introduction
Sravani Kommuri
 
installing and optimizing operating system software
ziway
 
operating system structure
HAMZA AHMED
 
introduction to operating systems and services.pptx
anilvarsha1
 
Unit 1ndjhdiushdhisdhuishiuhsuhduhfshufdhduh.pptx
ranaj2936
 
Operating system
mak120
 
INSTAL AND OPTIMIZE OPERATING SYSTEM WINDOWS
anwarkade1
 
Basics of Operating System
Soumit Ghosh
 
Os structure
Shehrevar Davierwala
 
Operating Systems unit 1 & 2 - BBA / MBA
bhargavivarala99
 
Operating Systems - Introduction and unit 1
bhargavivarala99
 
OSmodule1_ppt.pptx
RADHIKAB20
 
Basic operating systems in computer and it's uses
Surya Vishnuram
 
OS chapter 1.pptx
StBulteBelay
 
OS chapter 1.pptx
StBulteBelay
 
Lecture - 1.pdf
ruhama12
 
System Calls and Components of OS . ppt
aparna14patil
 
Ad

Recently uploaded (20)

PDF
Biodegradable Plastics: Innovations and Market Potential (www.kiu.ac.ug)
publication11
 
PPT
Understanding the Key Components and Parts of a Drone System.ppt
Siva Reddy
 
PPTX
Tunnel Ventilation System in Kanpur Metro
220105053
 
PPTX
Online Cab Booking and Management System.pptx
diptipaneri80
 
PDF
Construction of a Thermal Vacuum Chamber for Environment Test of Triple CubeS...
2208441
 
PDF
FLEX-LNG-Company-Presentation-Nov-2017.pdf
jbloggzs
 
PDF
Packaging Tips for Stainless Steel Tubes and Pipes
heavymetalsandtubes
 
PPTX
MT Chapter 1.pptx- Magnetic particle testing
ABCAnyBodyCanRelax
 
PDF
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
PPTX
Chapter_Seven_Construction_Reliability_Elective_III_Msc CM
SubashKumarBhattarai
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PDF
AI-Driven IoT-Enabled UAV Inspection Framework for Predictive Maintenance and...
ijcncjournal019
 
PDF
settlement FOR FOUNDATION ENGINEERS.pdf
Endalkazene
 
PDF
Chad Ayach - A Versatile Aerospace Professional
Chad Ayach
 
PDF
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 
PDF
Machine Learning All topics Covers In This Single Slides
AmritTiwari19
 
PPTX
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
PDF
Zero carbon Building Design Guidelines V4
BassemOsman1
 
PPTX
IoT_Smart_Agriculture_Presentations.pptx
poojakumari696707
 
PPTX
sunil mishra pptmmmmmmmmmmmmmmmmmmmmmmmmm
singhamit111
 
Biodegradable Plastics: Innovations and Market Potential (www.kiu.ac.ug)
publication11
 
Understanding the Key Components and Parts of a Drone System.ppt
Siva Reddy
 
Tunnel Ventilation System in Kanpur Metro
220105053
 
Online Cab Booking and Management System.pptx
diptipaneri80
 
Construction of a Thermal Vacuum Chamber for Environment Test of Triple CubeS...
2208441
 
FLEX-LNG-Company-Presentation-Nov-2017.pdf
jbloggzs
 
Packaging Tips for Stainless Steel Tubes and Pipes
heavymetalsandtubes
 
MT Chapter 1.pptx- Magnetic particle testing
ABCAnyBodyCanRelax
 
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
Chapter_Seven_Construction_Reliability_Elective_III_Msc CM
SubashKumarBhattarai
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
AI-Driven IoT-Enabled UAV Inspection Framework for Predictive Maintenance and...
ijcncjournal019
 
settlement FOR FOUNDATION ENGINEERS.pdf
Endalkazene
 
Chad Ayach - A Versatile Aerospace Professional
Chad Ayach
 
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 
Machine Learning All topics Covers In This Single Slides
AmritTiwari19
 
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
Zero carbon Building Design Guidelines V4
BassemOsman1
 
IoT_Smart_Agriculture_Presentations.pptx
poojakumari696707
 
sunil mishra pptmmmmmmmmmmmmmmmmmmmmmmmmm
singhamit111
 
Ad

list of all Functions of operating system.pptx