SlideShare a Scribd company logo
HOW OPERATING
SYSTEMS WORK
A Comprehensive Guide for Computer
Science Undergraduate Students
Introduction
 Operating systems (OS) are essential software
powering every modern computing device.
 Understanding operating systems provides
foundational knowledge for managing
resources, process control, memory
management, file systems, and security.
What is an Operating System?
 An OS is system software that manages
hardware and software resources, providing
services for applications.
 Acts as an intermediary between users and
hardware, facilitating seamless interaction.
 Examples: Windows, macOS, Linux, Android.
Core Functions of an Operating
System
 1. Process Management
 2. Memory Management
 3. File System Management
 4. Device Management
 5. User Interface
 6. Security and Protection
Process Management
 Involves creating, scheduling, and terminating
processes.
 Key Concepts:
 - Scheduling: Decides order of process execution.
 - Multitasking: Allows concurrent process
execution.
 - Context Switching: Enables efficient process
transitions.
 - Process States: Ready, running, or waiting states.
Memory Management
 Controls and coordinates the computer’s RAM.
 Key Concepts:
 - Virtual Memory: Expands usable memory via
disk swapping.
 - Paging and Segmentation: Organize memory
allocation.
 - Memory Protection: Ensures stability across
processes.
File System Management
 Enables data storage and retrieval in a
structured format.
 Key Concepts:
 - File Types and Access Methods.
 - Permissions: Control data accessibility.
 - Directory Structure: Organizes files
efficiently.
Device Management
 Handles communication between hardware
devices and the OS.
 Key Concepts:
 - Device Drivers: Facilitate hardware-software
communication.
 - I/O Scheduling and Interrupts: Manage and
optimize device usage.
User Interface
 The interface allows users to interact with the
OS.
 Two main types:
 - GUI: Graphical interface with icons and
menus.
 - CLI: Command-line interface for textual
commands.
Security and Protection
 Protects resources and data from unauthorized
access.
 Key Concepts:
 - Authentication and Authorization: Verifies
user identity.
 - Encryption and Firewalls: Secure data
transmission.
Types of Operating Systems
 1. Batch OS
 2. Time-Sharing OS
 3. Distributed OS
 4. Real-Time OS (RTOS)
 5. Embedded OS
 Each type is designed for specific operational
requirements.
How an Operating System Works in
Practice
 1. Booting: Loading OS into memory and
initializing hardware.
 2. User Login: Grants access to resources.
 3. Running Applications: Allocates resources to
programs.
 4. File Management: Organizes data storage.
 5. System Shutdown: Releases resources
gracefully.
Conclusion
 Operating systems are crucial for efficient
hardware and software management.
 Understanding OS functions is foundational
for advanced topics like systems programming
and cybersecurity.
Compiled by:
 Engr. Asim Aziz
 Lecturer SST/ CS
 UMT, Lahore

More Related Content

PDF
operating system structure
PPTX
Operating System besst presentation.pptx
PPTX
wepik-the-evolution-of-operating-systems-from-mainframes-to-modern-computing-...
PPTX
Operating Systems R20 Unit 1.pptx
PDF
chapter 3 opreating system lecture note and its is impaortamt concept for mn
PPT
Ch3 OS
 
PPT
operating system structure
Operating System besst presentation.pptx
wepik-the-evolution-of-operating-systems-from-mainframes-to-modern-computing-...
Operating Systems R20 Unit 1.pptx
chapter 3 opreating system lecture note and its is impaortamt concept for mn
Ch3 OS
 

Similar to How Operating Systems Works with core functionality (20)

PPTX
installing and optimizing operating system software
PPTX
wht is OS?,Understanding Operating Systems.pptx
PPT
Os structure
PDF
Operating Systems Overview and Functions of OS
PDF
operating system structure
PDF
Csc 2313 (lecture 2)
PDF
Csc 2313 (lecture 2)
PPTX
operating system Bsc.csit first semester iit subject
PPTX
OS.pptx
PDF
l1.pdfefdewfewdfewdfdwfdwfdwfdswfdfdwfwdfwdfdwfdw
PPTX
INSTAL AND OPTIMIZE OPERATING SYSTEM WINDOWS
PDF
114 .What is the purpose of an OS (operating system) - Quora Q&A Mr.Service.pdf
DOCX
An_Operating_System by chidi kingsley wo
PPT
ch3 - operating system structures.ppt
PPTX
The basic fundamentals' of operating system
PPTX
Operating System Introduction
PDF
R20CSE2202-OPERATING-SYSTEMS .pdf
PPTX
Introduction to operating system,OS.pptx
PPTX
Unit 1-Operating Systems Overview .pptx
installing and optimizing operating system software
wht is OS?,Understanding Operating Systems.pptx
Os structure
Operating Systems Overview and Functions of OS
operating system structure
Csc 2313 (lecture 2)
Csc 2313 (lecture 2)
operating system Bsc.csit first semester iit subject
OS.pptx
l1.pdfefdewfewdfewdfdwfdwfdwfdswfdfdwfwdfwdfdwfdw
INSTAL AND OPTIMIZE OPERATING SYSTEM WINDOWS
114 .What is the purpose of an OS (operating system) - Quora Q&A Mr.Service.pdf
An_Operating_System by chidi kingsley wo
ch3 - operating system structures.ppt
The basic fundamentals' of operating system
Operating System Introduction
R20CSE2202-OPERATING-SYSTEMS .pdf
Introduction to operating system,OS.pptx
Unit 1-Operating Systems Overview .pptx
Ad

Recently uploaded (20)

PPTX
Lecture Notes Electrical Wiring System Components
PPTX
Sustainable Sites - Green Building Construction
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
PPT on Performance Review to get promotions
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
web development for engineering and engineering
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPT
Mechanical Engineering MATERIALS Selection
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
Welding lecture in detail for understanding
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
additive manufacturing of ss316l using mig welding
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Lecture Notes Electrical Wiring System Components
Sustainable Sites - Green Building Construction
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
CYBER-CRIMES AND SECURITY A guide to understanding
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Operating System & Kernel Study Guide-1 - converted.pdf
PPT on Performance Review to get promotions
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Automation-in-Manufacturing-Chapter-Introduction.pdf
web development for engineering and engineering
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Mechanical Engineering MATERIALS Selection
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Welding lecture in detail for understanding
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
additive manufacturing of ss316l using mig welding
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Ad

How Operating Systems Works with core functionality

  • 1. HOW OPERATING SYSTEMS WORK A Comprehensive Guide for Computer Science Undergraduate Students
  • 2. Introduction  Operating systems (OS) are essential software powering every modern computing device.  Understanding operating systems provides foundational knowledge for managing resources, process control, memory management, file systems, and security.
  • 3. What is an Operating System?  An OS is system software that manages hardware and software resources, providing services for applications.  Acts as an intermediary between users and hardware, facilitating seamless interaction.  Examples: Windows, macOS, Linux, Android.
  • 4. Core Functions of an Operating System  1. Process Management  2. Memory Management  3. File System Management  4. Device Management  5. User Interface  6. Security and Protection
  • 5. Process Management  Involves creating, scheduling, and terminating processes.  Key Concepts:  - Scheduling: Decides order of process execution.  - Multitasking: Allows concurrent process execution.  - Context Switching: Enables efficient process transitions.  - Process States: Ready, running, or waiting states.
  • 6. Memory Management  Controls and coordinates the computer’s RAM.  Key Concepts:  - Virtual Memory: Expands usable memory via disk swapping.  - Paging and Segmentation: Organize memory allocation.  - Memory Protection: Ensures stability across processes.
  • 7. File System Management  Enables data storage and retrieval in a structured format.  Key Concepts:  - File Types and Access Methods.  - Permissions: Control data accessibility.  - Directory Structure: Organizes files efficiently.
  • 8. Device Management  Handles communication between hardware devices and the OS.  Key Concepts:  - Device Drivers: Facilitate hardware-software communication.  - I/O Scheduling and Interrupts: Manage and optimize device usage.
  • 9. User Interface  The interface allows users to interact with the OS.  Two main types:  - GUI: Graphical interface with icons and menus.  - CLI: Command-line interface for textual commands.
  • 10. Security and Protection  Protects resources and data from unauthorized access.  Key Concepts:  - Authentication and Authorization: Verifies user identity.  - Encryption and Firewalls: Secure data transmission.
  • 11. Types of Operating Systems  1. Batch OS  2. Time-Sharing OS  3. Distributed OS  4. Real-Time OS (RTOS)  5. Embedded OS  Each type is designed for specific operational requirements.
  • 12. How an Operating System Works in Practice  1. Booting: Loading OS into memory and initializing hardware.  2. User Login: Grants access to resources.  3. Running Applications: Allocates resources to programs.  4. File Management: Organizes data storage.  5. System Shutdown: Releases resources gracefully.
  • 13. Conclusion  Operating systems are crucial for efficient hardware and software management.  Understanding OS functions is foundational for advanced topics like systems programming and cybersecurity.
  • 14. Compiled by:  Engr. Asim Aziz  Lecturer SST/ CS  UMT, Lahore