SlideShare a Scribd company logo
1 of 15
KERNEL OF OPERATING SYSTEM
By - Kanan,Kirti& Sumit
1. OS Architecture
2. OS & Kernel as a Window
3. What is Kernel
4. Diagrams Explanation
5. Responsibilities of Kernel
6. Kernel Mode vs User Mode
7. Necessity of Dual Mode
GLOSSARY
After this presentation, we will be able to answer
the following questions -
1. Why OS & Kernel act as a Window to the User ?
2. How OS Architecture looks ?
3. What is Kernel ?
4. What are the responsibilities of Kernel ?
5. How to differentiate between Kernel Mode & User Mode ?
6. What is the necessity of Dual Mode in OS ?
OBJECTIVE
Window
OS
User
Kernel
Devices
Hardware
Software
OS Architecture
1
2
3
K E R N E L
Kernel is the core component of Operating System where actual
code
and functionality of OS lies.
It is responsible for scheduling
running of user and
other processes.
It is responsible for allocating
memory.
Responsibilities of KERNEL
Device Management :
A system has many devices connected to it like CPU, a memory device, sound cards, graphic cards, etc.
A kernel stores all the data related to all the devices in the device driver
( without this kernel won't be able to control the devices ).
Thus kernel knows what a device can do and how to manipulate it to bring out the best performance.
It also manages communication between all the devices.
The kernel has certain rules that have to be followed by all the devices.
Handling system calls :
Handling system calls means a programmer can write a query or ask the kernel to perform a task.
Responsibilities of KERNEL
Memory management :
Another function that kernel has to manage is the memory management.
The kernel keeps track of used and unused memory and makes sure that processes
shouldn't manipulate data of each other using virtual memory addresses.
Process management :
In the process management, kernel assigns enough time and gives priorities to
processes before handling CPU to other processes.
It also deals with security and ownership information.
In Kernel Mode
The system starts in kernel mode when it boots and after the operating
system is loaded, it executes applications in user mode.
There are some privileged instructions that can only be executed
in kernel mode.
These are interrupt instructions, input output management etc.
If the privileged instructions are executed in user mode,
it is illegal and a trap is generated.
The mode bit is set to 0 in the kernel mode.
It is changed from 0 to 1 when switching from kernel mode to user mode.
KERNEL MODE Vs USER mode
KERNEL MODE Vs USER mode
In User Mode
The system is in user mode when the operating system is running
a user application such as handling a text editor.
The transition from user mode to kernel mode occurs when
the application requests the help of operating system or an interrupt or a system call occurs.
The mode bit is set to 1 in the user mode. It is changed from 1 to 0
when switching from user mode to kernel mode.
KERNEL MODE Vs USER mode
Kernel mode is used to perform lower level functionalities
& in user mode, the code has no access to hardware
or lower level resources like memory.
The kernel (which is the core of the OS and
has complete control over everything that occurs
in the system) is trusted software.
User Mode, A non-privileged mode for user programs,
that is, for everything other than the kernel.
Necessity of Dual Mode in Operating System
The lack of a dual mode i.e. user mode and kernel mode in
an operating system can cause serious problems.
Some of these are −
• A running user program can accidentally wipe out the operating
system by overwriting it with user data.
• Multiple processes can write in the same system at the same time, with
disastrous results.
These problems could have occurred in the MS-DOS operating system which had
no mode bit and so no dual mode.
1. Kernel is heart of operating system.
2. To be sure, the kernel has unique qualities.
It enforces its own rules and stakes.
3. There are various responsibilities of kernel like managing devices,
Handling system call , managing memory and different process
also.
4. Both the modes are very important for OS and are dependent
on each other.
Kernel | Operating System

More Related Content

What's hot

Linux process management
Linux process managementLinux process management
Linux process managementRaghu nath
 
Shell and its types in LINUX
Shell and its types in LINUXShell and its types in LINUX
Shell and its types in LINUXSHUBHA CHATURVEDI
 
Operating systems system structures
Operating systems   system structuresOperating systems   system structures
Operating systems system structuresMukesh Chinta
 
Shortest job first Scheduling (SJF)
Shortest job first Scheduling (SJF)Shortest job first Scheduling (SJF)
Shortest job first Scheduling (SJF)ritu98
 
Operating Systems: Process Scheduling
Operating Systems: Process SchedulingOperating Systems: Process Scheduling
Operating Systems: Process SchedulingDamian T. Gordon
 
First-Come-First-Serve (FCFS)
First-Come-First-Serve (FCFS)First-Come-First-Serve (FCFS)
First-Come-First-Serve (FCFS)nikeAthena
 
cpu scheduling
cpu schedulingcpu scheduling
cpu schedulinghashim102
 
Unit 1 computer architecture (1)
Unit 1   computer architecture (1)Unit 1   computer architecture (1)
Unit 1 computer architecture (1)DevaKumari Vijay
 
File Management in Operating System
File Management in Operating SystemFile Management in Operating System
File Management in Operating SystemJanki Shah
 
C language (Collected By Dushmanta)
C language  (Collected By Dushmanta)C language  (Collected By Dushmanta)
C language (Collected By Dushmanta)Dushmanta Nath
 
Process in operating system
Process in operating systemProcess in operating system
Process in operating systemChetan Mahawar
 

What's hot (20)

Linux process management
Linux process managementLinux process management
Linux process management
 
5 Process Scheduling
5 Process Scheduling5 Process Scheduling
5 Process Scheduling
 
Process scheduling
Process schedulingProcess scheduling
Process scheduling
 
System calls
System callsSystem calls
System calls
 
Scheduling algorithms
Scheduling algorithmsScheduling algorithms
Scheduling algorithms
 
CPU Scheduling Algorithms
CPU Scheduling AlgorithmsCPU Scheduling Algorithms
CPU Scheduling Algorithms
 
Shell and its types in LINUX
Shell and its types in LINUXShell and its types in LINUX
Shell and its types in LINUX
 
Monitors
MonitorsMonitors
Monitors
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Operating systems system structures
Operating systems   system structuresOperating systems   system structures
Operating systems system structures
 
Shortest job first Scheduling (SJF)
Shortest job first Scheduling (SJF)Shortest job first Scheduling (SJF)
Shortest job first Scheduling (SJF)
 
Operating Systems: Process Scheduling
Operating Systems: Process SchedulingOperating Systems: Process Scheduling
Operating Systems: Process Scheduling
 
Instruction codes
Instruction codesInstruction codes
Instruction codes
 
First-Come-First-Serve (FCFS)
First-Come-First-Serve (FCFS)First-Come-First-Serve (FCFS)
First-Come-First-Serve (FCFS)
 
cpu scheduling
cpu schedulingcpu scheduling
cpu scheduling
 
Finite automata
Finite automataFinite automata
Finite automata
 
Unit 1 computer architecture (1)
Unit 1   computer architecture (1)Unit 1   computer architecture (1)
Unit 1 computer architecture (1)
 
File Management in Operating System
File Management in Operating SystemFile Management in Operating System
File Management in Operating System
 
C language (Collected By Dushmanta)
C language  (Collected By Dushmanta)C language  (Collected By Dushmanta)
C language (Collected By Dushmanta)
 
Process in operating system
Process in operating systemProcess in operating system
Process in operating system
 

Similar to Kernel | Operating System

Kernel mode vs user mode in linux
Kernel mode vs user mode in linuxKernel mode vs user mode in linux
Kernel mode vs user mode in linuxSiddique Ibrahim
 
NE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.pptNE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.pptMemMem25
 
Chapter 1- Introduction.ppt
Chapter 1- Introduction.pptChapter 1- Introduction.ppt
Chapter 1- Introduction.pptmiki304759
 
Chapter 8. Kernel-Mode RootKitsIts now time to take the box
Chapter 8. Kernel-Mode RootKitsIts now time to take the boxChapter 8. Kernel-Mode RootKitsIts now time to take the box
Chapter 8. Kernel-Mode RootKitsIts now time to take the boxJinElias52
 
Operating system module
Operating system moduleOperating system module
Operating system modulekiamiel
 
chapter 1 introduction to operating system
chapter 1 introduction to operating systemchapter 1 introduction to operating system
chapter 1 introduction to operating systemAisyah Rafiuddin
 
operating system notes by madhavi.pdf
operating system notes by madhavi.pdfoperating system notes by madhavi.pdf
operating system notes by madhavi.pdfMadhaviAvhankar1
 
OPERATING SYSTEM - SHORT NOTES
OPERATING SYSTEM - SHORT NOTESOPERATING SYSTEM - SHORT NOTES
OPERATING SYSTEM - SHORT NOTESsuthi
 
lecture 1 (Part 2) kernal and its categories
lecture 1 (Part 2) kernal and its categorieslecture 1 (Part 2) kernal and its categories
lecture 1 (Part 2) kernal and its categoriesWajeehaBaig
 
Structure of an operating system.pptx
Structure of an operating system.pptxStructure of an operating system.pptx
Structure of an operating system.pptxMSivani
 
Kernel and its Types
Kernel and its TypesKernel and its Types
Kernel and its TypesHTS Hosting
 
1. What is the value of requiring the OS to provide status informati.pdf
1. What is the value of requiring the OS to provide status informati.pdf1. What is the value of requiring the OS to provide status informati.pdf
1. What is the value of requiring the OS to provide status informati.pdfudit652068
 
Embedded Operating System-Kernel Features.pptx
Embedded Operating System-Kernel Features.pptxEmbedded Operating System-Kernel Features.pptx
Embedded Operating System-Kernel Features.pptxssuseradc877
 
Operating System and related questions
Operating System and related questionsOperating System and related questions
Operating System and related questionsimdurgesh
 

Similar to Kernel | Operating System (20)

Presentation1
Presentation1Presentation1
Presentation1
 
Kernel mode vs user mode in linux
Kernel mode vs user mode in linuxKernel mode vs user mode in linux
Kernel mode vs user mode in linux
 
U1-LP1.ppt
U1-LP1.pptU1-LP1.ppt
U1-LP1.ppt
 
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
 
Chapter 1- Introduction.ppt
Chapter 1- Introduction.pptChapter 1- Introduction.ppt
Chapter 1- Introduction.ppt
 
Chapter 8. Kernel-Mode RootKitsIts now time to take the box
Chapter 8. Kernel-Mode RootKitsIts now time to take the boxChapter 8. Kernel-Mode RootKitsIts now time to take the box
Chapter 8. Kernel-Mode RootKitsIts now time to take the box
 
Operating system module
Operating system moduleOperating system module
Operating system module
 
Operating System 2.pptx
Operating System 2.pptxOperating System 2.pptx
Operating System 2.pptx
 
chapter 1 introduction to operating system
chapter 1 introduction to operating systemchapter 1 introduction to operating system
chapter 1 introduction to operating system
 
operating system notes by madhavi.pdf
operating system notes by madhavi.pdfoperating system notes by madhavi.pdf
operating system notes by madhavi.pdf
 
Unit 1 q&a
Unit  1 q&aUnit  1 q&a
Unit 1 q&a
 
OPERATING SYSTEM - SHORT NOTES
OPERATING SYSTEM - SHORT NOTESOPERATING SYSTEM - SHORT NOTES
OPERATING SYSTEM - SHORT NOTES
 
lecture 1 (Part 2) kernal and its categories
lecture 1 (Part 2) kernal and its categorieslecture 1 (Part 2) kernal and its categories
lecture 1 (Part 2) kernal and its categories
 
Structure of an operating system.pptx
Structure of an operating system.pptxStructure of an operating system.pptx
Structure of an operating system.pptx
 
Kernel and its Types
Kernel and its TypesKernel and its Types
Kernel and its Types
 
1. What is the value of requiring the OS to provide status informati.pdf
1. What is the value of requiring the OS to provide status informati.pdf1. What is the value of requiring the OS to provide status informati.pdf
1. What is the value of requiring the OS to provide status informati.pdf
 
Embedded Operating System-Kernel Features.pptx
Embedded Operating System-Kernel Features.pptxEmbedded Operating System-Kernel Features.pptx
Embedded Operating System-Kernel Features.pptx
 
Operating System and related questions
Operating System and related questionsOperating System and related questions
Operating System and related questions
 
Operating System Lecture 1
Operating System Lecture 1Operating System Lecture 1
Operating System Lecture 1
 
Microkernel
MicrokernelMicrokernel
Microkernel
 

More from Sumit Pandey

Linear Regression | Machine Learning | Data Science
Linear Regression | Machine Learning | Data ScienceLinear Regression | Machine Learning | Data Science
Linear Regression | Machine Learning | Data ScienceSumit Pandey
 
EDA | Exploratory Data Analysis | Machine Learning | Data Science
EDA | Exploratory Data Analysis | Machine Learning | Data ScienceEDA | Exploratory Data Analysis | Machine Learning | Data Science
EDA | Exploratory Data Analysis | Machine Learning | Data ScienceSumit Pandey
 
Conflicts | Professionalism | Business
Conflicts | Professionalism | BusinessConflicts | Professionalism | Business
Conflicts | Professionalism | BusinessSumit Pandey
 
Social Media Writing | English
Social Media Writing | EnglishSocial Media Writing | English
Social Media Writing | EnglishSumit Pandey
 
Types of keys in database | SQL
Types of keys in database | SQLTypes of keys in database | SQL
Types of keys in database | SQLSumit Pandey
 
Recursion | C++ | DSA
Recursion | C++ | DSARecursion | C++ | DSA
Recursion | C++ | DSASumit Pandey
 
Unix architecture | Operating System
Unix architecture | Operating SystemUnix architecture | Operating System
Unix architecture | Operating SystemSumit Pandey
 
Simple past tense | English Grammar
Simple past tense | English GrammarSimple past tense | English Grammar
Simple past tense | English GrammarSumit Pandey
 
NETWORK SECURITY AND VIRUSES
NETWORK SECURITY AND VIRUSESNETWORK SECURITY AND VIRUSES
NETWORK SECURITY AND VIRUSESSumit Pandey
 
ERADICATION OF CORRUPTION IN GOVERNMENT ESTABLISHMENTS
ERADICATION OF CORRUPTION IN  GOVERNMENT ESTABLISHMENTSERADICATION OF CORRUPTION IN  GOVERNMENT ESTABLISHMENTS
ERADICATION OF CORRUPTION IN GOVERNMENT ESTABLISHMENTSSumit Pandey
 
ARTIFICIAL INTELLIGENCE
ARTIFICIAL INTELLIGENCEARTIFICIAL INTELLIGENCE
ARTIFICIAL INTELLIGENCESumit Pandey
 
GST - Good Service Tax
GST - Good Service TaxGST - Good Service Tax
GST - Good Service TaxSumit Pandey
 

More from Sumit Pandey (12)

Linear Regression | Machine Learning | Data Science
Linear Regression | Machine Learning | Data ScienceLinear Regression | Machine Learning | Data Science
Linear Regression | Machine Learning | Data Science
 
EDA | Exploratory Data Analysis | Machine Learning | Data Science
EDA | Exploratory Data Analysis | Machine Learning | Data ScienceEDA | Exploratory Data Analysis | Machine Learning | Data Science
EDA | Exploratory Data Analysis | Machine Learning | Data Science
 
Conflicts | Professionalism | Business
Conflicts | Professionalism | BusinessConflicts | Professionalism | Business
Conflicts | Professionalism | Business
 
Social Media Writing | English
Social Media Writing | EnglishSocial Media Writing | English
Social Media Writing | English
 
Types of keys in database | SQL
Types of keys in database | SQLTypes of keys in database | SQL
Types of keys in database | SQL
 
Recursion | C++ | DSA
Recursion | C++ | DSARecursion | C++ | DSA
Recursion | C++ | DSA
 
Unix architecture | Operating System
Unix architecture | Operating SystemUnix architecture | Operating System
Unix architecture | Operating System
 
Simple past tense | English Grammar
Simple past tense | English GrammarSimple past tense | English Grammar
Simple past tense | English Grammar
 
NETWORK SECURITY AND VIRUSES
NETWORK SECURITY AND VIRUSESNETWORK SECURITY AND VIRUSES
NETWORK SECURITY AND VIRUSES
 
ERADICATION OF CORRUPTION IN GOVERNMENT ESTABLISHMENTS
ERADICATION OF CORRUPTION IN  GOVERNMENT ESTABLISHMENTSERADICATION OF CORRUPTION IN  GOVERNMENT ESTABLISHMENTS
ERADICATION OF CORRUPTION IN GOVERNMENT ESTABLISHMENTS
 
ARTIFICIAL INTELLIGENCE
ARTIFICIAL INTELLIGENCEARTIFICIAL INTELLIGENCE
ARTIFICIAL INTELLIGENCE
 
GST - Good Service Tax
GST - Good Service TaxGST - Good Service Tax
GST - Good Service Tax
 

Recently uploaded

Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 

Recently uploaded (20)

Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 

Kernel | Operating System

  • 1. KERNEL OF OPERATING SYSTEM By - Kanan,Kirti& Sumit
  • 2. 1. OS Architecture 2. OS & Kernel as a Window 3. What is Kernel 4. Diagrams Explanation 5. Responsibilities of Kernel 6. Kernel Mode vs User Mode 7. Necessity of Dual Mode GLOSSARY
  • 3. After this presentation, we will be able to answer the following questions - 1. Why OS & Kernel act as a Window to the User ? 2. How OS Architecture looks ? 3. What is Kernel ? 4. What are the responsibilities of Kernel ? 5. How to differentiate between Kernel Mode & User Mode ? 6. What is the necessity of Dual Mode in OS ? OBJECTIVE
  • 6. K E R N E L Kernel is the core component of Operating System where actual code and functionality of OS lies. It is responsible for scheduling running of user and other processes. It is responsible for allocating memory.
  • 7.
  • 8. Responsibilities of KERNEL Device Management : A system has many devices connected to it like CPU, a memory device, sound cards, graphic cards, etc. A kernel stores all the data related to all the devices in the device driver ( without this kernel won't be able to control the devices ). Thus kernel knows what a device can do and how to manipulate it to bring out the best performance. It also manages communication between all the devices. The kernel has certain rules that have to be followed by all the devices. Handling system calls : Handling system calls means a programmer can write a query or ask the kernel to perform a task.
  • 9. Responsibilities of KERNEL Memory management : Another function that kernel has to manage is the memory management. The kernel keeps track of used and unused memory and makes sure that processes shouldn't manipulate data of each other using virtual memory addresses. Process management : In the process management, kernel assigns enough time and gives priorities to processes before handling CPU to other processes. It also deals with security and ownership information.
  • 10. In Kernel Mode The system starts in kernel mode when it boots and after the operating system is loaded, it executes applications in user mode. There are some privileged instructions that can only be executed in kernel mode. These are interrupt instructions, input output management etc. If the privileged instructions are executed in user mode, it is illegal and a trap is generated. The mode bit is set to 0 in the kernel mode. It is changed from 0 to 1 when switching from kernel mode to user mode. KERNEL MODE Vs USER mode
  • 11. KERNEL MODE Vs USER mode In User Mode The system is in user mode when the operating system is running a user application such as handling a text editor. The transition from user mode to kernel mode occurs when the application requests the help of operating system or an interrupt or a system call occurs. The mode bit is set to 1 in the user mode. It is changed from 1 to 0 when switching from user mode to kernel mode.
  • 12. KERNEL MODE Vs USER mode Kernel mode is used to perform lower level functionalities & in user mode, the code has no access to hardware or lower level resources like memory. The kernel (which is the core of the OS and has complete control over everything that occurs in the system) is trusted software. User Mode, A non-privileged mode for user programs, that is, for everything other than the kernel.
  • 13. Necessity of Dual Mode in Operating System The lack of a dual mode i.e. user mode and kernel mode in an operating system can cause serious problems. Some of these are − • A running user program can accidentally wipe out the operating system by overwriting it with user data. • Multiple processes can write in the same system at the same time, with disastrous results. These problems could have occurred in the MS-DOS operating system which had no mode bit and so no dual mode.
  • 14. 1. Kernel is heart of operating system. 2. To be sure, the kernel has unique qualities. It enforces its own rules and stakes. 3. There are various responsibilities of kernel like managing devices, Handling system call , managing memory and different process also. 4. Both the modes are very important for OS and are dependent on each other.

Editor's Notes

  1. Kanan
  2. Sumit
  3. Kirti
  4. Sumit As you can see that the OS acts as a window between the user and the hardware, The same way, The kernel is the core part of the operating system and it establishes communication between devices and software. Moreover, it manages system resources.
  5. Kanan
  6. Kirti
  7. Sumit
  8. Kanan
  9. Kirti
  10. Sumit
  11. Kanan
  12. Kirti
  13. Sumit
  14. Kanan
  15. Kirti