SlideShare a Scribd company logo
3
Most read
9
Most read
10
Most read
Structure of Operating System
• An operating system is a construct that allows the user
application programs to interact with the system
hardware.
• Since the operating system is such a complex structure.
• An easy way to do this is to create the operating system
in parts.
• Each of these parts should be well defined with clear
inputs, outputs and functions.
 Two types of Structures
 Simple Structure
 Layered Structure
Operating System
Simple Structure
• There are many operating systems that have a rather simple structure. These started as small
systems and rapidly expanded much further than their scope.
• A common example of this is MS-DOS.
• MS-DOS is an operating system created for personal computers.
• It was developed by Microsoft.
• MS-DOS operating system is split into various layers and each of the layers have different
functionalities.
• Layering provides a distinct advantage in the MS-DOS operating system because all the layers
can be defined separately and interact with each other as required.
• Also, it is easier to create, maintain and update the system if it is done in the form of layers.
Change in one layer specification does not affect the rest of the layers.
• However, the layers in MS-DOS are not that sharply defined and the layer specifications often
bleed into each other.
Structure of operating system
Email
Web
Browser
Media
Player
Application Program
These programs perform a particular function directly for the
users.
Some of the common application programs include
 Email,
 web browsers,
 gaming software,
 word processors,
 graphics software,
 media player and etc.
So they are known as application programs.
 The requests for service and application
communication systems used in an application by a
programmer is known as an Application Program
Interface (API).
System Program
• The system programs are used to program the operating
system software.
• While application programs provide software that is used
directly by the user, system programs provide software
that are used by other systems
 such as
 SaaS applications,
 computational science applications and etc.
MS-DOS Device Drivers
 MS-DOS (MicroSoft Disk Operating System) is an operating
system for x86-based personal computers, which was
purchased by Microsoft.
 It was the main operating system for personal computers
during the 1980s up to mid 1990s.
 Most of the device drivers on MS-DOS are part of the operating
system such as keyboard and screen console drivers, floppy and
hard-disk drivers, printer port driver, serial port driver etc.
ROM BIOS device drivers
The BIOS drivers are the programs stored in the EPROM or EEPROM memory chips on the motherboard. These are the
basic drivers needed to start the computer system. BIOS stands for Basic Input/Output System.
Usually the motherboard holds the ROM and ROM contain the BIOS program module.
The BIOS is initiated when power is turned on and it checks for the basic hardware components in the system to start the
operating system.
Normally the BIOS is programmed in a way as non-rewritable block of code. Because it is the first program to be executed
and deals directly with the hardware components; if it’s misused or damaged, the entire PC becomes useless and worth
for none.
 ROM – Read only memory
 PROM – Programmable Read Only Memory
 EPROM – Erasable Programmable Read Only Memory
 EEPROM – Electronically Erasable Programmable Read Only Memory
Layered Structure
• Layering provides a distinct advantage in an Operating System.
• All the layers can be defined separately and interact with each
other as required.
• Also, it is easier to create, maintain and update the system if it is
done in the form of layers.
• Change in one layer specification does not affect the rest of the
layers.
• Each of the layers in the operating system can only interact with
the above and below layers. The lowest layer handles the
hardware, and the uppermost layer deals with the user
applications.
There are six layers in the layered operating system. A diagram demonstrating these
layers is as follows:
1. Hardware: This layer interacts with the system hardware and coordinates with all
the peripheral devices
 such as
 printer,
 mouse,
 keyboard,
 Scanner and etc.
These types of hardware devices are managed in the hardware layer. It
is attached directly to the core of the system.
2. CPU Scheduling: This layer deals with scheduling the processes for the CPU. The
processes that are ready to execute in the main memory are kept in the ready queue.
This layer is responsible for managing how many processes will be allocated to the CPU
and how many will stay out of the CPU.
3. Memory Management: Memory management deals with memory and moving processes
from disk to primary memory for execution and back again. This is handled by the third
layer of the operating system. All memory management is associated with this layer. There
are various types of memories in the computer like RAM, ROM.
4. Process Management: This layer is responsible for managing the processes, i.e., assigning
the processor to a process and deciding how many processes will stay in the waiting
schedule. The priority of the processes is also managed in this layer. The different
algorithms used for process scheduling are FCFS (first come, first served), SJF (shortest job
first), priority scheduling, round-robin scheduling, etc.
5. I/O Buffer: I/O devices are very important in computer systems. They provide users with the
means of interacting with the system. This layer handles the buffers for the I/O devices and makes
sure that they work correctly.
Suppose you are typing from the keyboard. There is a keyboard buffer attached with the keyboard,
which stores data for a temporary time.
6. User Programs: This is the highest layer in the layered operating system. This layer deals with the
many user programs and applications that run in an operating system, such as word processors,
games, browsers, etc. You can also call this an application layer
Structure of operating system

More Related Content

What's hot (20)

PDF
OS - Process Concepts
Mukesh Chinta
 
PPTX
Cpu scheduling in operating System.
Ravi Kumar Patel
 
PPTX
Os unit 3 , process management
Arnav Chowdhury
 
PPTX
Semophores and it's types
Nishant Joshi
 
PPTX
System calls
Bernard Senam
 
PDF
Memory management
Rajni Sirohi
 
PPTX
Kernel I/O subsystem
AtiKa Bhatti
 
PPTX
Scheduling
pradeepa velmurugan
 
PPTX
File Management in Operating System
Janki Shah
 
PPT
Chapter 3 - Processes
Wayne Jones Jnr
 
PPTX
Boot process
Salman Memon
 
PPT
Disk management
Agnas Jasmine
 
PPTX
Distributed and clustered systems
V.V.Vanniaperumal College for Women
 
PPTX
Demand paging
Trinity Dwarka
 
PPT
Memory management
Vishal Singh
 
PPT
Operating system services 9
myrajendra
 
PPTX
cpu scheduling
hashim102
 
PPTX
File allocation methods (1)
Dr. Jasmine Beulah Gnanadurai
 
PPT
Data transfer and manipulation
Sanjeev Patel
 
OS - Process Concepts
Mukesh Chinta
 
Cpu scheduling in operating System.
Ravi Kumar Patel
 
Os unit 3 , process management
Arnav Chowdhury
 
Semophores and it's types
Nishant Joshi
 
System calls
Bernard Senam
 
Memory management
Rajni Sirohi
 
Kernel I/O subsystem
AtiKa Bhatti
 
File Management in Operating System
Janki Shah
 
Chapter 3 - Processes
Wayne Jones Jnr
 
Boot process
Salman Memon
 
Disk management
Agnas Jasmine
 
Distributed and clustered systems
V.V.Vanniaperumal College for Women
 
Demand paging
Trinity Dwarka
 
Memory management
Vishal Singh
 
Operating system services 9
myrajendra
 
cpu scheduling
hashim102
 
File allocation methods (1)
Dr. Jasmine Beulah Gnanadurai
 
Data transfer and manipulation
Sanjeev Patel
 

Similar to Structure of operating system (20)

PPTX
operating systems and it's services.pptx
Guna Dhondwad
 
DOC
operating system lecture notes
AVC College of Engineering
 
PPTX
Structure of an operating system.pptx
MSivani
 
PPTX
chapter 1 introduction to operating system
Aisyah Rafiuddin
 
PPT
operating-system-objectives-and-functions-d2.ppt
senthilnathans2015
 
PDF
operating systemPPT sfgSun< Shg<SKJ <JSg
Dashrath5
 
PPTX
Mca i-fundamental of computer-u-3-functions operating systems
Rai University
 
PDF
os mod1 notes
SRINIVASUNIVERSITYEN
 
PPTX
Bsc cs 1 fit u-3 operating systems
Rai University
 
PPTX
Bsc cs 1 fit u-3 operating systems
Rai University
 
PPTX
Bca i-fundamental of computer-u-3-functions operating systems
Rai University
 
PPT
CH3-OS.PPT operating system structures module
deviveeranan7
 
PPT
Overview of Operating System.ppt introduction
harshitabidhuri625
 
PPTX
OperatingSystem_Module-1 3rd semester.pptx
nithudgowda3
 
PPTX
Operating system 13 structure of os and layer design of dos
Vaibhav Khanna
 
PPTX
Unit 1ndjhdiushdhisdhuishiuhsuhduhfshufdhduh.pptx
ranaj2936
 
PPTX
LM5 - Computer System Organization, OS (Structure & Operations).pptx
manideepakc
 
PPTX
Introduction to Operating system CBSE
PrashantChahal3
 
PPT
Introduction To operating System:
Munazza-Mah-Jabeen
 
operating systems and it's services.pptx
Guna Dhondwad
 
operating system lecture notes
AVC College of Engineering
 
Structure of an operating system.pptx
MSivani
 
chapter 1 introduction to operating system
Aisyah Rafiuddin
 
operating-system-objectives-and-functions-d2.ppt
senthilnathans2015
 
operating systemPPT sfgSun< Shg<SKJ <JSg
Dashrath5
 
Mca i-fundamental of computer-u-3-functions operating systems
Rai University
 
os mod1 notes
SRINIVASUNIVERSITYEN
 
Bsc cs 1 fit u-3 operating systems
Rai University
 
Bsc cs 1 fit u-3 operating systems
Rai University
 
Bca i-fundamental of computer-u-3-functions operating systems
Rai University
 
CH3-OS.PPT operating system structures module
deviveeranan7
 
Overview of Operating System.ppt introduction
harshitabidhuri625
 
OperatingSystem_Module-1 3rd semester.pptx
nithudgowda3
 
Operating system 13 structure of os and layer design of dos
Vaibhav Khanna
 
Unit 1ndjhdiushdhisdhuishiuhsuhduhfshufdhduh.pptx
ranaj2936
 
LM5 - Computer System Organization, OS (Structure & Operations).pptx
manideepakc
 
Introduction to Operating system CBSE
PrashantChahal3
 
Introduction To operating System:
Munazza-Mah-Jabeen
 
Ad

Recently uploaded (20)

PDF
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
PDF
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
PPT
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
PDF
People & Earth's Ecosystem -Lesson 2: People & Population
marvinnbustamante1
 
PPTX
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
PPTX
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
PPSX
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
PDF
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
PPTX
STAFF DEVELOPMENT AND WELFARE: MANAGEMENT
PRADEEP ABOTHU
 
PDF
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
PPTX
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
PDF
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
PPT
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
PPTX
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PDF
Dimensions of Societal Planning in Commonism
StefanMz
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
PDF
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
PDF
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
PPTX
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
People & Earth's Ecosystem -Lesson 2: People & Population
marvinnbustamante1
 
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
STAFF DEVELOPMENT AND WELFARE: MANAGEMENT
PRADEEP ABOTHU
 
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
Dimensions of Societal Planning in Commonism
StefanMz
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
Ad

Structure of operating system

  • 2. • An operating system is a construct that allows the user application programs to interact with the system hardware. • Since the operating system is such a complex structure. • An easy way to do this is to create the operating system in parts. • Each of these parts should be well defined with clear inputs, outputs and functions.  Two types of Structures  Simple Structure  Layered Structure Operating System
  • 3. Simple Structure • There are many operating systems that have a rather simple structure. These started as small systems and rapidly expanded much further than their scope. • A common example of this is MS-DOS. • MS-DOS is an operating system created for personal computers. • It was developed by Microsoft. • MS-DOS operating system is split into various layers and each of the layers have different functionalities. • Layering provides a distinct advantage in the MS-DOS operating system because all the layers can be defined separately and interact with each other as required. • Also, it is easier to create, maintain and update the system if it is done in the form of layers. Change in one layer specification does not affect the rest of the layers. • However, the layers in MS-DOS are not that sharply defined and the layer specifications often bleed into each other.
  • 5. Email Web Browser Media Player Application Program These programs perform a particular function directly for the users. Some of the common application programs include  Email,  web browsers,  gaming software,  word processors,  graphics software,  media player and etc. So they are known as application programs.  The requests for service and application communication systems used in an application by a programmer is known as an Application Program Interface (API).
  • 6. System Program • The system programs are used to program the operating system software. • While application programs provide software that is used directly by the user, system programs provide software that are used by other systems  such as  SaaS applications,  computational science applications and etc.
  • 7. MS-DOS Device Drivers  MS-DOS (MicroSoft Disk Operating System) is an operating system for x86-based personal computers, which was purchased by Microsoft.  It was the main operating system for personal computers during the 1980s up to mid 1990s.  Most of the device drivers on MS-DOS are part of the operating system such as keyboard and screen console drivers, floppy and hard-disk drivers, printer port driver, serial port driver etc.
  • 8. ROM BIOS device drivers The BIOS drivers are the programs stored in the EPROM or EEPROM memory chips on the motherboard. These are the basic drivers needed to start the computer system. BIOS stands for Basic Input/Output System. Usually the motherboard holds the ROM and ROM contain the BIOS program module. The BIOS is initiated when power is turned on and it checks for the basic hardware components in the system to start the operating system. Normally the BIOS is programmed in a way as non-rewritable block of code. Because it is the first program to be executed and deals directly with the hardware components; if it’s misused or damaged, the entire PC becomes useless and worth for none.  ROM – Read only memory  PROM – Programmable Read Only Memory  EPROM – Erasable Programmable Read Only Memory  EEPROM – Electronically Erasable Programmable Read Only Memory
  • 9. Layered Structure • Layering provides a distinct advantage in an Operating System. • All the layers can be defined separately and interact with each other as required. • Also, it is easier to create, maintain and update the system if it is done in the form of layers. • Change in one layer specification does not affect the rest of the layers. • Each of the layers in the operating system can only interact with the above and below layers. The lowest layer handles the hardware, and the uppermost layer deals with the user applications.
  • 10. There are six layers in the layered operating system. A diagram demonstrating these layers is as follows:
  • 11. 1. Hardware: This layer interacts with the system hardware and coordinates with all the peripheral devices  such as  printer,  mouse,  keyboard,  Scanner and etc. These types of hardware devices are managed in the hardware layer. It is attached directly to the core of the system. 2. CPU Scheduling: This layer deals with scheduling the processes for the CPU. The processes that are ready to execute in the main memory are kept in the ready queue. This layer is responsible for managing how many processes will be allocated to the CPU and how many will stay out of the CPU.
  • 12. 3. Memory Management: Memory management deals with memory and moving processes from disk to primary memory for execution and back again. This is handled by the third layer of the operating system. All memory management is associated with this layer. There are various types of memories in the computer like RAM, ROM. 4. Process Management: This layer is responsible for managing the processes, i.e., assigning the processor to a process and deciding how many processes will stay in the waiting schedule. The priority of the processes is also managed in this layer. The different algorithms used for process scheduling are FCFS (first come, first served), SJF (shortest job first), priority scheduling, round-robin scheduling, etc.
  • 13. 5. I/O Buffer: I/O devices are very important in computer systems. They provide users with the means of interacting with the system. This layer handles the buffers for the I/O devices and makes sure that they work correctly. Suppose you are typing from the keyboard. There is a keyboard buffer attached with the keyboard, which stores data for a temporary time. 6. User Programs: This is the highest layer in the layered operating system. This layer deals with the many user programs and applications that run in an operating system, such as word processors, games, browsers, etc. You can also call this an application layer