Useful Links
Technology
Computer science
Operating Systems
Components of Operating Systems
Kernel
Functions and Role
Acts as a bridge between applications and hardware
Manages system resources
Facilitates process management
Handles memory management
Manages device drivers
Provides security and protection level
Monitors system performance
Types of Kernels
Monolithic Kernel
Includes all OS services in a single process
Provides high-level hardware abstractions
Fast performance due to reduced communication overhead
Examples include Linux and traditional Unix
Microkernel
Minimizes kernel size for basic functionalities
Runs most services in user space
Emphasizes modularity and ease of maintenance
Involves higher communication overhead for context switching
Examples include MINIX and QNX
Hybrid Kernel
Combines aspects of both monolithic and microkernel architectures
Runs some services in kernel space for performance
Retains modularity for other components
Examples include modern Windows NT and macOS
Shell
Command-Line Interface (CLI)
Allows text-based commands for system tasks
Offers scripting capabilities for automation
Examples include Bash, Windows Command Prompt
Essential for managing systems without a GUI
Graphical User Interface (GUI)
Provides visual elements for interaction
Utilizes windows, icons, menus, and pointers
Enhances usability for non-technical users
Examples include Windows Explorer, GNOME, KDE
File System
File Management and Storage
Organizes data into files and directories
Manages storage space allocation
Provides operations like read, write, delete
Types of File Systems
NTFS
New Technology File System used in Windows
Supports large volumes and file compression
Features security with file-level permissions
HFS+ (Hierarchical File System Plus)
Used in macOS for older versions
Provides journaling for reliability
Features efficient storage management
ext4 (Fourth Extended Filesystem)
Default for many Linux distributions
Supports large files and journaling
Offers features like extents and delayed allocation
File System Access
Basic operations like create, delete, rename
Advanced controls for file permissions and security
Support for accessing network file systems
Process Management
Scheduling Algorithms
Determines the order of task execution
Types include Round Robin, Priority Scheduling, Multi-level Queue
Interprocess Communication (IPC)
Mechanisms like pipes, message queues, and shared memory
Facilitates data exchange between processes
Context Switching
Saves and loads process states for multitasking
Essential for responsive user experience
Memory Management
Memory Allocation
Dynamic vs. Static allocation
Heap and Stack management
Virtual Memory
Extends physical memory to use disk space
Implements paging and swapping for efficiency
Segmentation
Divides memory into varying-sized segments
Combines with paging for flexibility and protection
Device Management
Device Drivers
Abstractions for hardware components
Standardizes communication between system and hardware
Input/Output Management
Controls data exchange with peripherals
Examples include keyboard, mouse, printers
Security and Protection
User Authentication
Ensures access control through credentials
Implements methods like passwords, biometric checks
Access Control
Defines user permissions for resources
Implement rules for data access and modification
Data Encryption
Secures data privacy through encryption protocols
Protects data-at-rest and data-in-transit
2. Types of Operating Systems
First Page
4. Functions of Operating Systems